函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:group_apply_control_disable - kill or hide csses according to control*@cgrp: root of the target subtree* Walk @cgrp's subtree and kill and hide csses so that they match* cgroup_ss_mask() and cgroup_visible_mask()

函数原型:static void cgroup_apply_control_disable(struct cgroup *cgrp)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
3100  walk live descendants in postorder (dsct, d_css, cgrp)
3102  css等于group_css - obtain a cgroup's css for the specified subsystem*@cgrp: the cgroup of interest*@ss: the subsystem of interest (%NULL returns @cgrp->self)* Return @cgrp's css (cgroup_subsys_state) associated with @ss
3104  如果非css则继续下一循环
3107  WARN_ON_ONCE(percpu_ref_is_dying - test whether a percpu refcount is dying or dead*@ref: percpu_ref to test* Returns %true if @ref is dying or dead.* This function is safe to call as long as @ref is between init and exit)
3111  kill_css(css)
3112  否则如果非css_visible(css)则
3114  如果css_resetcss_reset(css)
调用者
名称描述
cgroup_finalize_control