函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:s @cgrp root of a threaded subtree?

函数原型:bool cgroup_is_thread_root(struct cgroup *cgrp)

返回类型:bool

参数:

类型参数名称
struct cgroup *cgrp
381  如果cgroup_is_threaded(cgrp)则返回:false
385  如果 # of live threaded child cgroups 则返回:true
392  如果cgroup_has_tasks(cgrp)且* The bitmask of subsystems enabled on the child cgroups. * ->subtree_control is the one configured through * "cgroup.subtree_control" while ->child_ss_mask is the effective * one which may have more subsystems enabled. Controller knobs * are made availabl按位与some controllers can be threaded on the default hierarchy 则返回:true
396  返回:false
调用者
名称描述
cgroup_is_valid_domaina domain which isn't connected to the root w/o brekage can't be used
cgroup_vet_subtree_control_enable
cgroup_type_show