函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_finalize_control

函数原型:static void cgroup_finalize_control(struct cgroup *cgrp, int ret)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
intret
3169  如果ret
3170  group_restore_control - restore control masks and dom_cgrp of a subtree*@cgrp: root of the target subtree* Restore ->subtree_control, ->subtree_ss_mask and ->dom_cgrp from the* respective old_ prefixed fields for @cgrp's subtree including @cgrp* itself.
3171  group_propagate_control - refresh control masks of a subtree*@cgrp: root of the target subtree* For @cgrp and its subtree, ensure ->subtree_ss_mask matches* ->subtree_control and propagate controller availability through the
3174  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()
调用者
名称描述
rebind_subsystems
cgroup_subtree_control_writehange the enabled child controllers for a cgroup in the default hierarchy
cgroup_enable_threadedgroup_enable_threaded - make @cgrp threaded*@cgrp: the target cgroup* Called when "threaded" is written to the cgroup.type interface file and* tries to make @cgrp threaded and join the parent's resource domain.