Defined in 3 files as a prototype:
- arch/loongarch/include/asm/numa.h, line 38 (as a prototype)
- arch/x86/include/asm/topology.h, line 51 (as a prototype)
- include/asm-generic/numa.h, line 36 (as a prototype)
Defined in 9 files as a function:
- arch/loongarch/include/asm/numa.h, line 47 (as a function)
- arch/loongarch/kernel/numa.c, line 110 (as a function)
- arch/powerpc/include/asm/topology.h, line 53 (as a function)
- arch/powerpc/include/asm/topology.h, line 76 (as a function)
- arch/x86/include/asm/topology.h, line 56 (as a function)
- arch/x86/include/asm/topology.h, line 94 (as a function)
- arch/x86/mm/numa.c, line 356 (as a function)
- include/asm-generic/numa.h, line 48 (as a function)
- mm/arch_numa.c, line 147 (as a function)
Referenced in 17 files:
- arch/arm64/kernel/irq.c
- arch/loongarch/kernel/acpi.c, line 395
- arch/loongarch/kernel/numa.c
- arch/loongarch/kernel/smp.c, line 596
- arch/powerpc/kernel/mce.c, line 763
- arch/powerpc/kernel/paca.c, line 41
- arch/powerpc/kernel/setup_64.c
- arch/powerpc/sysdev/xive/common.c
- arch/x86/kernel/cpu/common.c
- arch/x86/kernel/setup_percpu.c
- arch/x86/kernel/smpboot.c, line 958
- arch/x86/mm/cpu_entry_area.c, line 197
- arch/x86/mm/numa.c
- drivers/irqchip/irq-loongson-eiointc.c
- init/main.c, line 882
- mm/arch_numa.c
- mm/numa_emulation.c
Smatch caller information:
arch/x86/mm/numa.c numa_init() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-8192 |
| CAPPED_DATA | 0 | cpu | 1 |
| CONSTRAINT | 0 | cpu | <3035 |
| LOCK2 | irq |
arch/x86/mm/numa.c numa_init_array() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-8192 |
| CAPPED_DATA | 0 | cpu | 1 |
| CONSTRAINT | 0 | cpu | <3035 |
| LOCK2 | irq |
arch/x86/kernel/smpboot.c announce_cpu() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-s32max |
| CAPPED_DATA | 0 | cpu | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| STR_LEN | 0 | cpu | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/common.c cpu_init() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/common.c cpu_init() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/common.c setup_getcpu() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| DATA_SOURCE | 0 | cpu | $0 |
| HALF_LOCKED2 | irq |
mm/numa_emulation.c numa_set_cpumask() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| DATA_SOURCE | 0 | cpu | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &vector_lock |
arch/x86/kernel/setup_percpu.c pcpu_cpu_distance() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-64 |
| CAPPED_DATA | 0 | cpu | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| LOCK2 | irq |
arch/x86/kernel/setup_percpu.c pcpu_cpu_distance() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-64 |
| CAPPED_DATA | 0 | cpu | 1 |
| DATA_SOURCE | 0 | cpu | $1 |
| LOCK2 | irq |
arch/x86/kernel/setup_percpu.c pcpu_cpu_to_node() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cpu | $0 |
| LOCK2 | irq |
arch/x86/kernel/setup_percpu.c setup_per_cpu_areas() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-64 |
| CAPPED_DATA | 0 | cpu | 1 |
| DATA_SOURCE | 0 | cpu | r find_next_bit |
| LOCK2 | irq |
arch/x86/mm/cpu_entry_area.c setup_cpu_entry_area() -> early_cpu_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-64 |
| CAPPED_DATA | 0 | cpu | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| LOCK2 | irq |