函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_nodelta_obj_put

函数原型:static int test_nodelta_obj_put(struct world *world, struct objagg *objagg, unsigned int key_id, bool should_destroy_root)

返回类型:int

参数:

类型参数名称
struct world *world
struct objagg *objagg
unsigned intkey_id
boolshould_destroy_root
207  orig_root_count等于root_count
209  world_obj_put(world, objagg, key_id)
211  如果should_destroy_root
212  如果root_count不等于orig_root_count减1则
213  打印错误信息("Key %u: Root was not destroyed\n", key_id)
214  返回:负EINVAL
216  否则
217  如果root_count不等于orig_root_count
218  打印错误信息("Key %u: Root was incorrectly destroyed\n", key_id)
220  返回:负EINVAL
223  返回:0
调用者
名称描述
test_nodelta