Defined in 2 files as a prototype:
- arch/x86/include/asm/topology.h, line 141 (as a prototype)
- include/linux/arch_topology.h, line 91 (as a prototype)
Defined in 2 files as a function:
- arch/x86/kernel/smpboot.c, line 779 (as a function)
- drivers/base/arch_topology.c, line 732 (as a function)
Referenced in 3 files:
- arch/x86/include/asm/topology.h, line 201
- arch/x86/kernel/smpboot.c, line 783
- kernel/sched/topology.c, line 2047
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 |