函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_objagg.c Create Date:2022-07-27 07:32:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:test_nodelta

函数原型:static int test_nodelta(void)

返回类型:int

参数:

306  struct world world = {}
311  objagg等于bjagg_create - creates a new objagg instance*@ops: user-specific callbacks*@objagg_hints: hints, can be NULL*@priv: pointer to a private data passed to the ops* Note: all locking must be provided by the caller
312  如果是错误则返回:错误
315  err等于check_stats_zero(objagg)
316  如果err则转到:err_stats_first_zero
320 i小于NUM_KEYS循环
321  err等于test_nodelta_obj_get( & world, objagg, i, true)
322  如果err则转到:err_obj_first_get
329 i小于NUM_KEYS循环
330  err等于test_nodelta_obj_get( & world, objagg, i, false)
331  如果err则转到:err_obj_second_get
335  err等于check_stats_nodelta(objagg)
336  如果err则转到:err_stats_nodelta
339 i大于等于0循环
340  err等于test_nodelta_obj_put( & world, objagg, i, false)
341  如果err则转到:err_obj_first_put
344 i大于等于0循环
345  err等于test_nodelta_obj_put( & world, objagg, i, true)
346  如果err则转到:err_obj_second_put
350  err等于check_stats_zero(objagg)
351  如果err则转到:err_stats_second_zero
354  bjagg_destroy - destroys a new objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller.
355  返回:0
357  err_stats_nodelta :
358  err_obj_first_put :
359  err_obj_second_get :
360 i大于等于0循环world_obj_put( & world, objagg, i)
363  i等于NUM_KEYS
364  err_obj_first_get :
365  err_obj_second_put :
366 i大于等于0循环world_obj_put( & world, objagg, i)
368  err_stats_first_zero :
369  err_stats_second_zero :
370  bjagg_destroy - destroys a new objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller.
371  返回:err
调用者
名称描述
test_objagg_init