函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:objagg_obj_parent_assign

函数原型:static int objagg_obj_parent_assign(struct objagg *objagg, struct objagg_obj *objagg_obj, struct objagg_obj *parent, bool take_parent_ref)

返回类型:int

参数:

类型参数名称
struct objagg *objagg
struct objagg_obj *objagg_obj
struct objagg_obj *parent
booltake_parent_ref
170  delta_priv等于delta_create(priv, obj, obj)
172  如果是错误则返回:错误
178  if the object is nested, this * holds pointer to parent, otherwise NULL等于parent
179  user delta private 等于delta_priv
180  如果take_parent_refobjagg_obj_ref_inc( if the object is nested, this * holds pointer to parent, otherwise NULL)
182  trace_objagg_obj_parent_assign(objagg, objagg_obj, parent, counts number of users of this object * including nested objects)
185  返回:0
调用者
名称描述
objagg_obj_parent_lookup_assign
objagg_obj_init_with_hints