函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:subsystems enabled on a cgroup

函数原型:static u16 cgroup_ss_mask(struct cgroup *cgrp)

返回类型:u16

参数:

类型参数名称
struct cgroup *cgrp
441  parent等于cgroup_parent(cgrp)
443  如果parent
444  ss_mask等于subtree_ss_mask
447  如果cgroup_is_threaded(cgrp)则ss_mask与等于some controllers can be threaded on the default hierarchy
449  返回:ss_mask
452  返回: The bitmask of subsystems attached to this hierarchy
调用者
名称描述
cgroup_e_css_by_maskgroup_e_css_by_mask - obtain a cgroup's effective css for the specified ss*@cgrp: the cgroup of interest*@ss: the subsystem of interest (%NULL returns @cgrp->self)* Similar to cgroup_css() but returns the effective css, which is defined* as the matching
cgroup_propagate_controlgroup_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
css_visible
cgroup_apply_control_enablegroup_apply_control_enable - enable or show csses according to control*@cgrp: root of the target subtree* Walk @cgrp's subtree and create new csses or make the existing ones* visible. A css is created invisible if it's being implicitly enabled
cgroup_apply_control_disablegroup_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()