Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:objagg_obj_parent_assign

Proto:static int objagg_obj_parent_assign(struct objagg *objagg, struct objagg_obj *objagg_obj, struct objagg_obj *parent, bool take_parent_ref)

Type:int

Parameter:

TypeParameterName
struct objagg *objagg
struct objagg_obj *objagg_obj
struct objagg_obj *parent
booltake_parent_ref
170  delta_priv = delta_create(priv, obj, obj)
172  If IS_ERR(delta_priv) Then Return PTR_ERR(delta_priv)
178  if the object is nested, this * holds pointer to parent, otherwise NULL = parent
179  user delta private = delta_priv
180  If take_parent_ref Then objagg_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  Return 0
Caller
NameDescribe
objagg_obj_parent_lookup_assign
objagg_obj_init_with_hints