Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-28 11:07:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:subsystems enabled on a cgroup

Proto:static u16 cgroup_ss_mask(struct cgroup *cgrp)

Type:u16

Parameter:

TypeParameterName
struct cgroup *cgrp
441  parent = cgroup_parent(cgrp)
443  If parent Then
444  ss_mask = subtree_ss_mask
447  If cgroup_is_threaded(cgrp) Then ss_mask &= some controllers can be threaded on the default hierarchy
449  Return ss_mask
452  Return The bitmask of subsystems attached to this hierarchy
Caller
NameDescribe
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()