Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ss_next_child - find the next child of a given css*@pos: the current position (%NULL to initiate traversal)*@parent: css whose children to walk* This function returns the next child of @parent and should be called

Proto:struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, struct cgroup_subsys_state *parent)

Type:struct cgroup_subsys_state

Parameter:

TypeParameterName
struct cgroup_subsys_state *pos
struct cgroup_subsys_state *parent
4151  If Not pos Then
4152  next = list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(next, structcgroup_subsys_state, sibling)
4153  Else if Value is more likely to compile time(!(flags & CSS_RELEASED)) Then
4154  next = list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(next, structcgroup_subsys_state, sibling)
4155  Else
4156  list_for_each_entry_rcu - iterate over rcu list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(next, & children, sibling)
4157  If Monotonically increasing unique serial number which defines a* uniform order among all csses. It's guaranteed that all* ->children lists are in the ascending order of ->serial_nr and* used to allow interrupting and resuming iterations. > Monotonically increasing unique serial number which defines a* uniform order among all csses. It's guaranteed that all* ->children lists are in the ascending order of ->serial_nr and* used to allow interrupting and resuming iterations. Then Break
4165  If siblings list anchored at the parent's ->children != children Then Return next
4167  Return NULL
Caller
NameDescribe
rebind_subsystems
css_next_descendant_press_next_descendant_pre - find the next descendant for pre-order walk*@pos: the current position (%NULL to initiate traversal)*@root: css whose descendants to walk* To be used by css_for_each_descendant_pre(). Find the next descendant
css_leftmost_descendant
css_next_descendant_postss_next_descendant_post - find the next descendant for post-order walk*@pos: the current position (%NULL to initiate traversal)*@root: css whose descendants to walk* To be used by css_for_each_descendant_post(). Find the next descendant