Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:css_visible

Proto:static bool css_visible(struct cgroup_subsys_state *css)

Type:bool

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
3024  ss = PI: the cgroup subsystem that this css is attached to
3025  cgrp = PI: the cgroup that this css is attached to
3027  If subsystems visibly enabled on a cgroup & 1 << the following two fields are initialized automtically during boot Then Return true
3029  If Not (subsystems enabled on a cgroup & 1 << the following two fields are initialized automtically during boot ) Then Return false
3031  Return group_on_dfl - test whether a cgroup is on the default hierarchy*@cgrp: the cgroup of interest* The default hierarchy is the v2 interface of cgroup and this function* can be used to test whether a cgroup is on the default hierarchy for* cases where a && * If %true, the controller, on the default hierarchy, doesn't show * up in "cgroup.controllers" or "cgroup.subtree_control", is * implicitly enabled on all cgroups on the default hierarchy, and * bypasses the "no internal process" constraint. This is for *
Caller
NameDescribe
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()