Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cgroup/cgroup.c cgroup_file_write() -> kn_priv()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
PARAM_VALUE 0 kn->active.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/cgroup.c cgroup_kn_lock_live() -> kn_priv()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
BUF_SIZE 0 kn s32min-(-1),1-s32max
BUF_SIZE 0 kn s32min-(-1),1-s32max
DATA_SOURCE 0 kn $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &seq->lock

kernel/cgroup/cgroup.c cgroup_kn_unlock() -> kn_priv()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
PARAM_VALUE 0 kn->dep_map->name 0-255
BUF_SIZE 0 kn s32min-(-1),1-s32max
BUF_SIZE 0 kn s32min-(-1),1-s32max
DATA_SOURCE 0 kn $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 global &cgroup_mutex

kernel/cgroup/cgroup.c of_css() -> kn_priv()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &devcgroup_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 mutex
HALF_LOCKED2 rcu_read