Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 apicid 0-s16max
CAPPED_DATA 0 apicid 1
DATA_SOURCE 0 apicid $2
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/acpi/boot.c acpi_unmap_cpu() -> set_apicid_to_node()

Type Parameter Key Value
PARAM_VALUE 1 node (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cpu_add_remove_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &acpi_scan_lock

arch/x86/kernel/devicetree.c dtb_cpu_setup() -> set_apicid_to_node()

Type Parameter Key Value
PARAM_VALUE 0 apicid s32min-(-2),0-s32max
PARAM_VALUE 1 node (-1)-1023
DATA_SOURCE 0 apicid r of_get_cpu_hwid
NOCHECK_CALL
LOCK2 irq

arch/x86/mm/amdtopology.c amd_numa_init() -> set_apicid_to_node()

Type Parameter Key Value
PARAM_VALUE 1 node 0-64
CAPPED_DATA 1 node 1
NOCHECK_CALL
LOCK2 irq

arch/x86/mm/numa.c numa_init() -> set_apicid_to_node()

Type Parameter Key Value
PARAM_VALUE 0 apicid 0-s16max
PARAM_VALUE 1 node (-1)
FUZZY_MAX 0 apicid s16max
HARD_MAX 0 apicid s16max
NOCHECK_CALL
LOCK2 irq

arch/x86/mm/srat.c acpi_numa_processor_affinity_init() -> set_apicid_to_node()

Type Parameter Key Value
PARAM_VALUE 0 apicid 0-s16max
CAPPED_DATA 1 node 1
DATA_SOURCE 1 node r acpi_map_pxm_to_node
BIT_INFO 0 apicid 0x0,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/mm/srat.c acpi_numa_x2apic_affinity_init() -> set_apicid_to_node()

Type Parameter Key Value
PARAM_VALUE 0 apicid s32min-s16max
CAPPED_DATA 0 apicid 1
CAPPED_DATA 1 node 1
DATA_SOURCE 1 node r acpi_map_pxm_to_node
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL