Defined in 2 files as a function:
- include/linux/nodemask.h, line 420 (as a function)
- include/linux/nodemask.h, line 468 (as a function)
Referenced in 7 files:
- arch/m68k/mm/motorola.c, line 511
- arch/mips/loongson64/numa.c, line 43
- drivers/acpi/numa/srat.c, line 553
- include/linux/nodemask.h
- mm/memory_hotplug.c
- mm/mm_init.c
- mm/vmstat.c
Smatch caller information:
mm/vmstat.c init_cpu_node_state() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 0-64 |
| PARAM_VALUE | 1 | state | 4 |
| CAPPED_DATA | 0 | node | 1 |
| NOCHECK_CALL |
mm/vmstat.c vmstat_cpu_online() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
mm/memory_hotplug.c node_set_online() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| DATA_SOURCE | 0 | node | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &device_hotplug_lock |
mm/memory_hotplug.c online_pages() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &device->physical_node_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct device)->mutex |
mm/memory_hotplug.c online_pages() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &device->physical_node_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct device)->mutex |
mm/mm_init.c check_for_memory() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 2 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
mm/mm_init.c early_calculate_totalpages() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 3 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
mm/mm_init.c free_area_init() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 0-64 |
| PARAM_VALUE | 1 | state | 3 |
| CAPPED_DATA | 0 | node | 1 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
arch/x86/mm/numa.c node_set_online() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | s16min-(-2),0-s16max |
| PARAM_VALUE | 1 | state | 1 |
| CAPPED_DATA | 0 | node | 1 |
| DATA_SOURCE | 0 | node | $0 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
drivers/acpi/numa/srat.c acpi_parse_gi_affinity() -> node_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | s32min-(-2),0-s32max |
| PARAM_VALUE | 1 | state | 5 |
| CAPPED_DATA | 0 | node | 1 |
| DATA_SOURCE | 0 | node | r acpi_map_pxm_to_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |