函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:struct cgroup_subsys_state *css_next_descendant_post(struct cgroup_subsys_state *pos, struct cgroup_subsys_state *root)

返回类型:struct cgroup_subsys_state

参数:

类型参数名称
struct cgroup_subsys_state *pos
struct cgroup_subsys_state *root
4295  如果非pos则返回:css_leftmost_descendant(root)
4299  如果pos恒等于root则返回: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  如果next则返回:css_leftmost_descendant(next)
4308  返回:PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.