Defined in 2 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/sched/build_utility.c tl_cls_mask() -> cpu_clustergroup_mask()

Type Parameter Key Value
DATA_SOURCE 0 cpu $1

kernel/events/core.c perf_scope_cpu_topology_cpumask() -> cpu_clustergroup_mask()

Type Parameter Key Value
DATA_SOURCE 0 cpu $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &pmus_lock

drivers/base/topology.c cluster_cpus_list_read() -> cpu_clustergroup_mask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/base/topology.c cluster_cpus_read() -> cpu_clustergroup_mask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

lib/group_cpus.c alloc_cluster_groups() -> cpu_clustergroup_mask()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r cpumask_first
RX_PATH
TASK_NOT_RUNNING

lib/group_cpus.c alloc_cluster_groups() -> cpu_clustergroup_mask()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r cpumask_first
RX_PATH
TASK_NOT_RUNNING