Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ss_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

Proto:struct cgroup_subsys_state *css_next_descendant_post(struct cgroup_subsys_state *pos, struct cgroup_subsys_state *root)

Type:struct cgroup_subsys_state

Parameter:

TypeParameterName
struct cgroup_subsys_state *pos
struct cgroup_subsys_state *root
4295  If Not pos Then Return css_leftmost_descendant(root)
4299  If pos == root Then Return NULL
4303  next = 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
4304  If next Then Return css_leftmost_descendant(next)
4308  Return PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.