Defined in 3 files as a prototype:

Defined in 9 files as a function:

Referenced in 17 files:

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