函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:a domain which isn't connected to the root w/o brekage can't be used

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

返回类型:bool

参数:

类型参数名称
struct cgroup *cgrp
403  如果cgroup_is_threaded(cgrp)则返回:false
407 cgrp等于cgroup_parent(cgrp)循环
408  如果非an @cgrp host both domain and threaded children? s @cgrp root of a threaded subtree? 则返回:false
410  如果cgroup_is_threaded(cgrp)则返回:false
414  返回:true
调用者
名称描述
cgroup_migrate_vet_dstgroup_migrate_vet_dst - verify whether a cgroup can be migration destination*@dst_cgrp: destination cgroup to test* On the default hierarchy, except for the mixable, (possible) thread root* and threaded cgroups, subtree_control must be zero for migration*
cgroup_vet_subtree_control_enable
cgroup_enable_threadedgroup_enable_threaded - make @cgrp threaded*@cgrp: the target cgroup* Called when "threaded" is written to the cgroup.type interface file and* tries to make @cgrp threaded and join the parent's resource domain.
cgroup_type_show