函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ss_rightmost_descendant - return the rightmost descendant of a css*@pos: css of interest* Return the rightmost descendant of @pos

函数原型:struct cgroup_subsys_state *css_rightmost_descendant(struct cgroup_subsys_state *pos)

返回类型:struct cgroup_subsys_state

参数:

类型参数名称
struct cgroup_subsys_state *pos
4240  循环
4241  last等于pos
4243  pos = NULL
4244  css_for_each_child - iterate through children of a css*@pos: the css * to use as the loop cursor*@parent: css whose children to walk* Walk @parent's children(tmp, last)
4245  pos等于tmp
4246 pos循环
4248  返回:last
调用者
名称描述
update_cpumasks_hierpdate_cpumasks_hier - Update effective cpumasks and tasks in the subtree*@cs: the cpuset to consider*@tmp: temp variables for calculating effective_cpus & partition setup* When congifured cpumask is changed, the effective cpumasks of this cpuset
update_nodemasks_hierpdate_nodemasks_hier - Update effective nodemasks and tasks in the subtree*@cs: the cpuset to consider*@new_mems: a temp variable for calculating new effective_mems* When configured nodemask is changed, the effective nodemasks of this cpuset