Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/cgroup/cgroup-v1.c pidlist_array_load() -> cgroup_task_count()

Type Parameter Key Value
PARAM_VALUE 0 cgrp->pidlist_mutex.dep_map->name 0-255
PARAM_VALUE 0 cgrp->pidlist_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cgrp->pidlist_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cgrp->pidlist_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cgrp->pidlist_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cgrp->pidlist_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 cgrp->pidlist_mutex.wait_lock.owner_cpu u32max
DATA_SOURCE 0 cgrp $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &s->lock
LOCK2 0 &cgrp->pidlist_mutex
TYPE_LOCK (struct cgroup)->pidlist_mutex
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct seq_file)->lock

kernel/cgroup/debug.c debug_taskcount_read() -> cgroup_task_count()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock