Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cgroup/cpuset.c cpuset_css_alloc() -> dup_or_alloc_cpuset()

Type Parameter Key Value
PARAM_VALUE 0 cs 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cgroup_mutex

kernel/cgroup/cpuset.c cpuset_update_flag() -> dup_or_alloc_cpuset()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->css.ss->bind 0,4096-ptr_max
PARAM_VALUE 0 cs->css.ss->can_fork 0,4096-ptr_max
PARAM_VALUE 0 cs->css.ss->exit 0,4096-ptr_max
PARAM_VALUE 0 cs->css.ss->fork 0,4096-ptr_max
PARAM_VALUE 0 cs->css.ss->release 0,4096-ptr_max
CAPPED_DATA 0 cs 1
DATA_SOURCE 0 cs $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &cgroup_mutex
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 global &cpuset_top_mutex

kernel/cgroup/cpuset.c cpuset_write_resmask() -> dup_or_alloc_cpuset()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-2371988510885339135,2371988510885339137-ptr_max
PARAM_VALUE 0 cs->css.flags 2-u32max
DATA_SOURCE 0 cs r css_cs
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &cpuset_mutex
LOCK2 global &cpuset_top_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex