Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

arch/x86/kernel/acpi/boot.c acpi_map_cpu2node() -> numa_set_node()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
PARAM_VALUE 1 node s32min-(-2),0-s32max
DATA_SOURCE 0 cpu $1
DATA_SOURCE 1 node r acpi_get_node
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cpu_add_remove_lock
HALF_LOCKED2 global &acpi_scan_lock

arch/x86/kernel/cpu/hygon.c srat_detect_node() -> numa_set_node()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
DATA_SOURCE 0 cpu r debug_smp_processor_id
NOCHECK_CALL
HOST_DATA 1 node s32min-s32max

arch/x86/kernel/cpu/amd.c srat_detect_node() -> numa_set_node()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
DATA_SOURCE 0 cpu r debug_smp_processor_id
NOCHECK_CALL

arch/x86/mm/numa.c init_cpu_to_node() -> numa_set_node()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
PARAM_VALUE 1 node s16min-(-2),0-s16max
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
DATA_SOURCE 1 node r numa_cpu_node
CONSTRAINT 0 cpu <3035
NOCHECK_CALL
LOCK2 irq

arch/x86/mm/numa.c numa_clear_node() -> numa_set_node()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-8192
PARAM_VALUE 1 node (-1)
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu $0
CONSTRAINT 0 cpu <3035
NOCHECK_CALL
LOCK2 irq

arch/x86/mm/numa.c numa_init_array() -> numa_set_node()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-8192
PARAM_VALUE 1 node 0-64
CAPPED_DATA 0 cpu 1
CAPPED_DATA 1 node 1
CONSTRAINT 0 cpu <3035
NOCHECK_CALL
LOCK2 irq

arch/x86/kernel/cpu/intel.c srat_detect_node() -> numa_set_node()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
DATA_SOURCE 0 cpu r debug_smp_processor_id
BIT_INFO 1 node 0x0,0x7fffffff
NOCHECK_CALL