函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:css_visible

函数原型:static bool css_visible(struct cgroup_subsys_state *css)

返回类型:bool

参数:

类型参数名称
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  如果subsystems visibly enabled on a cgroup 按位与1左移 the following two fields are initialized automtically during boot 位则返回:true
3029  如果非subsystems enabled on a cgroup 按位与1左移 the following two fields are initialized automtically during boot 位的值则返回:false
3031  返回: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 *
调用者
名称描述
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()