Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

security/device_cgroup.c devcgroup_update_access() -> css_has_online_children()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &devcgroup_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

security/device_cgroup.c devcgroup_update_access() -> css_has_online_children()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &devcgroup_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/cgroup.c cgroup_destroy_locked() -> css_has_online_children()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &dentry->d_lockref.lock

kernel/cgroup/cgroup-v1.c cgroup1_check_for_release() -> css_has_online_children()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cgroup_mutex
HALF_LOCKED2 global &css_set_lock

kernel/cgroup/debug.c releasable_read() -> css_has_online_children()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock