函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:objagg_obj_init_with_hints

函数原型:static int objagg_obj_init_with_hints(struct objagg *objagg, struct objagg_obj *objagg_obj, bool *hint_found)

返回类型:int

参数:

类型参数名称
struct objagg *objagg
struct objagg_obj *objagg_obj
bool *hint_found
303  hnode等于objagg_hints_lookup(hints, obj)
304  如果非hnode
305  * hint_found = false
306  返回:0
308  * hint_found = true
310  如果非parent则返回:objagg_obj_root_create(objagg, objagg_obj, hnode)
313  parent等于__objagg_obj_get(objagg, obj)
314  如果是错误则返回:错误
317  err等于objagg_obj_parent_assign(objagg, objagg_obj, parent, false)
318  如果err
319  * hint_found = false
320  err等于0
321  转到:err_parent_assign
324  返回:0
326  err_parent_assign :
327  bjagg_obj_put - puts an object within objagg instance*@objagg: objagg instance*@objagg_obj: objagg object instance* Note: all locking must be provided by the caller.* Symmetric to objagg_obj_get().
328  返回:err
调用者
名称描述
objagg_obj_init