函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_delta_action_item

函数原型:static int test_delta_action_item(struct world *world, struct objagg *objagg, const struct action_item *action_item, bool inverse)

返回类型:int

参数:

类型参数名称
struct world *world
struct objagg *objagg
const struct action_item *action_item
boolinverse
762  orig_delta_count等于delta_count
763  orig_root_count等于root_count
764  key_id等于key_id
765  action等于action
770  如果inverseaction等于如果action恒等于ACTION_GETACTION_PUT否则ACTION_GET
774  :action恒等于ACTION_GET
775  objagg_obj等于world_obj_get(world, objagg, key_id)
776  如果是错误则返回:错误
778  退出
779  :action恒等于ACTION_PUT
780  world_obj_put(world, objagg, key_id)
781  退出
784  如果inverse则返回:0
786  err等于check_expect(world, action_item, orig_delta_count, orig_root_count)
788  如果err则转到:errout
791  err等于check_expect_stats(objagg, & expect_stats, & errmsg)
792  如果err
793  打印错误信息("Key %u: Stats: %s\n", key_id, errmsg)
794  转到:errout
797  返回:0
799  errout :
803  test_delta_action_item(world, objagg, action_item, true)
804  返回:err
调用者
名称描述
test_delta_action_item
test_delta