/openbmc/linux/drivers/acpi/numa/ |
H A D | srat.c | 25 = { [0 ... MAX_PXM_DOMAINS - 1] = NUMA_NO_NODE }; 40 return NUMA_NO_NODE; in pxm_to_node() 54 if (pxm_to_node_map[pxm] == NUMA_NO_NODE || node < pxm_to_node_map[pxm]) in __acpi_map_pxm_to_node() 65 return NUMA_NO_NODE; in acpi_map_pxm_to_node() 69 if (node == NUMA_NO_NODE) { in acpi_map_pxm_to_node() 71 return NUMA_NO_NODE; in acpi_map_pxm_to_node() 227 if (from_node == NUMA_NO_NODE) in acpi_numa_slit_init() 233 if (to_node == NUMA_NO_NODE) in acpi_numa_slit_init() 272 if (node == NUMA_NO_NODE) { in acpi_numa_memory_affinity_init() 330 if (node == NUMA_NO_NODE) { in acpi_parse_cfmws() [all …]
|
/openbmc/linux/lib/ |
H A D | fortify_kunit.c | 154 kmalloc_node(alloc_size, gfp, NUMA_NO_NODE), \ 159 kzalloc_node(alloc_size, gfp, NUMA_NO_NODE), \ 166 kcalloc_node(1, alloc_size, gfp, NUMA_NO_NODE), \ 169 kcalloc_node(alloc_size, 1, gfp, NUMA_NO_NODE), \ 176 kmalloc_array_node(1, alloc_size, gfp, NUMA_NO_NODE), \ 179 kmalloc_array_node(alloc_size, 1, gfp, NUMA_NO_NODE), \ 184 __kmalloc_node(alloc_size, gfp, NUMA_NO_NODE), \ 233 kvmalloc_node((alloc_pages) * PAGE_SIZE, gfp, NUMA_NO_NODE), \ 239 kvzalloc_node((alloc_pages) * PAGE_SIZE, gfp, NUMA_NO_NODE), \
|
/openbmc/linux/arch/x86/mm/ |
H A D | numa.c | 55 [0 ... MAX_LOCAL_APIC-1] = NUMA_NO_NODE 64 return NUMA_NO_NODE; in numa_cpu_node() 100 numa_set_node(cpu, NUMA_NO_NODE); in numa_clear_node() 327 mi->blk[i].nid = NUMA_NO_NODE; in numa_cleanup_meminfo() 680 if (nid == NUMA_NO_NODE) in numa_init() 790 if (node == NUMA_NO_NODE) in init_cpu_to_node() 850 return NUMA_NO_NODE; in early_cpu_to_node() 859 if (node == NUMA_NO_NODE) { in debug_cpumask_set_cpu() 931 return NUMA_NO_NODE; in meminfo_to_nid() 942 if (nid != NUMA_NO_NODE) in phys_to_target_node() [all …]
|
H A D | numa_emulation.c | 63 if (emu_nid_to_phys[nid] == NUMA_NO_NODE) in emu_setup_memblk() 332 *dfl_phys_nid = NUMA_NO_NODE; in setup_emu2phys_nid() 334 if (emu_nid_to_phys[i] != NUMA_NO_NODE) { in setup_emu2phys_nid() 336 if (*dfl_phys_nid == NUMA_NO_NODE) in setup_emu2phys_nid() 388 emu_nid_to_phys[i] = NUMA_NO_NODE; in numa_emulation() 477 ei.blk[i].nid != NUMA_NO_NODE) in numa_emulation() 486 if (__apicid_to_node[i] == NUMA_NO_NODE) in numa_emulation() 496 if (emu_nid_to_phys[i] == NUMA_NO_NODE) in numa_emulation() 535 BUG_ON(nid == NUMA_NO_NODE || !node_online(nid)); in numa_add_cpu() 561 if (nid == NUMA_NO_NODE) { in numa_set_cpumask()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | numa.c | 180 return NUMA_NO_NODE; in __associativity_to_nid() 186 nid = NUMA_NO_NODE; in __associativity_to_nid() 276 int nid = NUMA_NO_NODE; in of_node_to_nid_single() 288 int nid = NUMA_NO_NODE; in of_node_to_nid() 361 if (nid == NUMA_NO_NODE) in update_numa_distance() 684 return NUMA_NO_NODE; in vphn_get_nid() 696 return NUMA_NO_NODE; in vphn_get_nid() 708 int nid = NUMA_NO_NODE; in numa_setup_cpu() 730 if (nid != NUMA_NO_NODE) in numa_setup_cpu() 1261 int nid = NUMA_NO_NODE; in hot_add_drconf_scn_to_nid() [all …]
|
/openbmc/linux/include/linux/ |
H A D | memblock.h | 155 __next_mem_range(idx, NUMA_NO_NODE, MEMBLOCK_NONE, &physmem, type, in __next_physmem_range() 220 __for_each_mem_range(i, &memblock.memory, NULL, NUMA_NO_NODE, \ 232 __for_each_mem_range_rev(i, &memblock.memory, NULL, NUMA_NO_NODE, \ 246 __for_each_mem_range(i, &memblock.reserved, NULL, NUMA_NO_NODE, \ 428 MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE); in memblock_alloc() 436 NUMA_NO_NODE); in memblock_alloc_raw() 444 MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE); in memblock_alloc_from() 451 ARCH_LOW_ADDRESS_LIMIT, NUMA_NO_NODE); in memblock_alloc_low()
|
H A D | numa.h | 15 #define NUMA_NO_NODE (-1) macro 44 return NUMA_NO_NODE; in numa_nearest_node()
|
H A D | memory-tiers.h | 46 return NUMA_NO_NODE; in next_demotion_node() 88 return NUMA_NO_NODE; in next_demotion_node()
|
H A D | async.h | 54 return async_schedule_node(func, data, NUMA_NO_NODE); in async_schedule() 72 return async_schedule_node_domain(func, data, NUMA_NO_NODE, domain); in async_schedule_domain()
|
/openbmc/linux/arch/ia64/mm/ |
H A D | numa.c | 30 { [0 ... NR_CPUS-1] = { .phys_id = 0, .nid = NUMA_NO_NODE } }; 62 unmap_cpu_from_node(cpu, NUMA_NO_NODE); in numa_clear_node()
|
/openbmc/linux/drivers/base/ |
H A D | arch_numa.c | 21 static int cpu_to_node_map[NR_CPUS] = { [0 ... NR_CPUS-1] = NUMA_NO_NODE }; 49 if (node == NUMA_NO_NODE) in cpumask_of_node() 68 if (nid == NUMA_NO_NODE) in numa_update_cpu() 90 set_cpu_numa_node(cpu, NUMA_NO_NODE); in numa_clear_node() 354 if (mblk_nid == NUMA_NO_NODE || mblk_nid >= MAX_NUMNODES) { in numa_register_nodes()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | acpi_numa.c | 30 static int acpi_early_node_map[NR_CPUS] __initdata = { [0 ... NR_CPUS - 1] = NUMA_NO_NODE }; 101 if (node == NUMA_NO_NODE) { in acpi_numa_gicc_affinity_init()
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | hygon.c | 40 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node() 45 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node() 138 if (node == NUMA_NO_NODE) in srat_detect_node() 170 if (__apicid_to_node[ht_nodeid] != NUMA_NO_NODE) in srat_detect_node()
|
/openbmc/linux/arch/x86/pci/ |
H A D | acpi.c | 335 if (node == NUMA_NO_NODE) { in pci_acpi_root_get_node() 337 if (node != 0 && node != NUMA_NO_NODE) in pci_acpi_root_get_node() 341 if (node != NUMA_NO_NODE && !node_online(node)) in pci_acpi_root_get_node() 342 node = NUMA_NO_NODE; in pci_acpi_root_get_node()
|
/openbmc/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_pool_test.c | 90 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_pre_populated() 154 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, params->use_dma_alloc, in ttm_pool_alloc_basic() 158 KUNIT_ASSERT_EQ(test, pool->nid, NUMA_NO_NODE); in ttm_pool_alloc_basic() 222 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_alloc_basic_dma_addr() 352 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_free_dma_alloc() 383 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, false, false); in ttm_pool_free_no_dma_alloc()
|
/openbmc/linux/drivers/base/test/ |
H A D | test_async_driver_probe.c | 89 if (nid != NUMA_NO_NODE) in test_platform_device_register_node() 180 NUMA_NO_NODE); in test_async_probe_init() 213 NUMA_NO_NODE); in test_async_probe_init()
|
/openbmc/linux/tools/testing/memblock/tests/ |
H A D | alloc_nid_api.c | 81 NUMA_NO_NODE); in alloc_nid_top_down_simple_check() 134 NUMA_NO_NODE); in alloc_nid_top_down_end_misaligned_check() 184 NUMA_NO_NODE); in alloc_nid_exact_address_generic_check() 235 NUMA_NO_NODE); in alloc_nid_top_down_narrow_range_check() 286 NUMA_NO_NODE); in alloc_nid_low_max_generic_check() 331 NUMA_NO_NODE); in alloc_nid_min_reserved_generic_check() 381 NUMA_NO_NODE); in alloc_nid_max_reserved_generic_check() 444 NUMA_NO_NODE); in alloc_nid_top_down_reserved_with_space_check() 507 NUMA_NO_NODE); in alloc_nid_reserved_full_merge_generic_check() 571 NUMA_NO_NODE); in alloc_nid_top_down_reserved_no_space_check() [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | numa.h | 14 #define NUMA_NO_NODE (-1) macro
|
/openbmc/linux/drivers/nvdimm/ |
H A D | virtio_pmem.c | 84 if (ndr_desc.target_node == NUMA_NO_NODE) { in virtio_pmem_probe() 87 NUMA_NO_NODE, ndr_desc.target_node); in virtio_pmem_probe()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | rtas-work-area.c | 140 const int nid = NUMA_NO_NODE; in rtas_work_area_allocator_init() 193 const int nid = NUMA_NO_NODE; in rtas_work_area_reserve_arena()
|
H A D | hotplug-cpu.c | 172 if (assigned_node != NUMA_NO_NODE) { in find_cpu_id_range() 235 BUG_ON(node == NUMA_NO_NODE); in pseries_add_processor() 245 node = NUMA_NO_NODE; in pseries_add_processor() 246 rc = find_cpu_id_range(nthreads, NUMA_NO_NODE, &cpu_mask); in pseries_add_processor() 269 if (node == NUMA_NO_NODE) { in pseries_add_processor()
|
/openbmc/linux/mm/kasan/ |
H A D | init.c | 130 p = early_alloc(PAGE_SIZE, NUMA_NO_NODE); in zero_pmd_populate() 173 p = early_alloc(PAGE_SIZE, NUMA_NO_NODE); in zero_pud_populate() 219 p = early_alloc(PAGE_SIZE, NUMA_NO_NODE); in zero_p4d_populate() 283 early_alloc(PAGE_SIZE, NUMA_NO_NODE)); in kasan_populate_early_shadow()
|
/openbmc/linux/crypto/ |
H A D | internal.h | 137 return crypto_create_tfm_node(alg, frontend, NUMA_NO_NODE); in crypto_create_tfm() 151 return crypto_alloc_tfm_node(alg_name, frontend, type, mask, NUMA_NO_NODE); in crypto_alloc_tfm()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | numa.c | 45 [0 ... CONFIG_NR_CPUS - 1] = NUMA_NO_NODE 123 return NUMA_NO_NODE; in early_cpu_to_node() 381 set_cpuid_to_node(i, NUMA_NO_NODE); in init_numa_memory()
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | kasan_init.c | 291 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, true); in kasan_init() 307 (unsigned long)kasan_mem_to_shadow(end), NUMA_NO_NODE); in kasan_init() 312 (unsigned long)kasan_mem_to_shadow((void *)MODULES_END), NUMA_NO_NODE); in kasan_init()
|