Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_objagg.c Create Date:2022-07-28 06:35:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_nodelta_obj_put

Proto:static int test_nodelta_obj_put(struct world *world, struct objagg *objagg, unsigned int key_id, bool should_destroy_root)

Type:int

Parameter:

TypeParameterName
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  If should_destroy_root Then
212  If root_count != orig_root_count - 1 Then
213  pr_err("Key %u: Root was not destroyed\n", key_id)
214  Return -EINVAL
216  Else
217  If root_count != orig_root_count Then
218  pr_err("Key %u: Root was incorrectly destroyed\n", key_id)
220  Return -EINVAL
223  Return 0
Caller
NameDescribe
test_nodelta