函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: synchronization, the result can only be used as a hint

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

返回类型:bool

参数:

类型参数名称
struct cgroup *cgrp
617  返回:* Each non-empty css_set associated with this cgroup contributes * one to nr_populated_csets. The counter is zero iff this cgroup * doesn't have any tasks. * All children which have non-zero nr_populated_csets and/or * nr_populated_children of their own conr_populated_domain_childrennr_populated_threaded_children
调用者
名称描述
cgroup_update_populatedgroup_update_populated - update the populated count of a cgroup*@cgrp: the target cgroup*@populated: inc or dec populated count* One of the css_sets associated with @cgrp is either getting its first* task or losing the last
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_events_show
cgroup_destroy_lockedgroup_destroy_locked - the first stage of cgroup destruction*@cgrp: cgroup to be destroyed* css's make use of percpu refcnts whose killing latency shouldn't be* exposed to userland and are RCU protected
cgroup1_check_for_release
validate_changevalidate_change() - Used to validate that any proposed cpuset change* follows the structural rules for cpusets
releasable_read