Home
last modified time | relevance | path

Searched refs:NUMA_NO_NODE (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/linux/arch/x86/mm/
H A Dnuma.c47 [0 ... MAX_LOCAL_APIC-1] = NUMA_NO_NODE
56 return NUMA_NO_NODE; in numa_cpu_node()
65 DEFINE_EARLY_PER_CPU(int, x86_cpu_to_node_map, NUMA_NO_NODE);
92 numa_set_node(cpu, NUMA_NO_NODE); in numa_clear_node()
159 if (early_cpu_to_node(i) != NUMA_NO_NODE) in numa_init_array()
172 set_apicid_to_node(i, NUMA_NO_NODE); in numa_init()
185 if (nid == NUMA_NO_NODE) in numa_init()
297 if (node == NUMA_NO_NODE) in init_cpu_to_node()
357 return NUMA_NO_NODE; in early_cpu_to_node()
366 if (node == NUMA_NO_NODE) { in debug_cpumask_set_cpu()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_arena.c30 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
34 page2 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
38 no_page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
50 page3 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
69 page1 = bpf_arena_alloc_pages(&arena, NULL, 2, NUMA_NO_NODE, 0); in basic_alloc2()
111 pages = bpf_arena_alloc_pages(&ar->map, NULL, ar->map.max_entries, NUMA_NO_NODE, 0); in basic_alloc3()
H A Dverifier_arena_large.c28 page1 = base = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1()
33 1, NUMA_NO_NODE, 0); in big_alloc1()
38 1, NUMA_NO_NODE, 0); in big_alloc1()
50 page3 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1()
87 NUMA_NO_NODE, 0);
114 base = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0);
162 pg = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0);
/linux/drivers/acpi/numa/
H A Dsrat.c26 = { [0 ... MAX_PXM_DOMAINS - 1] = NUMA_NO_NODE };
43 return NUMA_NO_NODE; in pxm_to_node()
57 if (pxm_to_node_map[pxm] == NUMA_NO_NODE || node < pxm_to_node_map[pxm]) in __acpi_map_pxm_to_node()
68 return NUMA_NO_NODE; in acpi_map_pxm_to_node()
72 if (node == NUMA_NO_NODE) { in acpi_map_pxm_to_node()
75 return NUMA_NO_NODE; in acpi_map_pxm_to_node()
248 if (from_node == NUMA_NO_NODE) in acpi_parse_slit()
254 if (to_node == NUMA_NO_NODE) in acpi_parse_slit()
299 if (node == NUMA_NO_NODE) { in acpi_parse_memory_affinity()
361 if (node == NUMA_NO_NODE) { in acpi_parse_cfmws()
[all …]
/linux/arch/powerpc/mm/
H A Dnuma.c65 static int numa_id_index_table[MAX_NUMNODES] = { [0 ... MAX_NUMNODES - 1] = NUMA_NO_NODE };
178 return NUMA_NO_NODE; in __associativity_to_nid()
184 nid = NUMA_NO_NODE; in __associativity_to_nid()
274 int nid = NUMA_NO_NODE; in of_node_to_nid_single()
286 int nid = NUMA_NO_NODE; in of_node_to_nid()
311 if (nid != NUMA_NO_NODE) { in __initialize_form1_numa_distance()
359 if (nid == NUMA_NO_NODE) in update_numa_distance()
587 int default_nid = NUMA_NO_NODE; in get_nid_and_numa_distance()
623 int default_nid = NUMA_NO_NODE; in of_drconf_to_nid_single()
682 return NUMA_NO_NODE; in vphn_get_nid()
[all …]
/linux/mm/
H A Dnuma_emulation.c65 if (emu_nid_to_phys[nid] == NUMA_NO_NODE) in emu_setup_memblk()
334 *dfl_phys_nid = NUMA_NO_NODE; in setup_emu2phys_nid()
336 if (emu_nid_to_phys[i] != NUMA_NO_NODE) { in setup_emu2phys_nid()
338 if (*dfl_phys_nid == NUMA_NO_NODE) in setup_emu2phys_nid()
390 emu_nid_to_phys[i] = NUMA_NO_NODE; in numa_emulation()
475 ei.blk[i].nid != NUMA_NO_NODE) in numa_emulation()
482 if (emu_nid_to_phys[i] == NUMA_NO_NODE) in numa_emulation()
521 BUG_ON(nid == NUMA_NO_NODE || !node_online(nid)); in numa_add_cpu()
547 if (nid == NUMA_NO_NODE) { in numa_set_cpumask()
H A Dnuma_memblks.c28 mi->blk[i].nid != NUMA_NO_NODE) in numa_nodemask_from_meminfo()
301 mi->blk[i].nid = NUMA_NO_NODE; in numa_cleanup_meminfo()
431 WARN_ON(memblock_set_node(0, max_addr, &memblock.memory, NUMA_NO_NODE)); in numa_memblks_init()
433 NUMA_NO_NODE)); in numa_memblks_init()
543 return NUMA_NO_NODE; in meminfo_to_nid()
554 if (nid != NUMA_NO_NODE) in phys_to_target_node()
565 if (nid == NUMA_NO_NODE) in memory_add_physaddr_to_nid()
H A Dmemory-tiers.c140 static int default_dram_perf_ref_nid = NUMA_NO_NODE;
335 return NUMA_NO_NODE; in next_demotion_node()
418 int target = NUMA_NO_NODE, node; in establish_demotion_targets()
456 if (target == NUMA_NO_NODE) in establish_demotion_targets()
747 if (default_dram_perf_ref_nid == NUMA_NO_NODE) { in mt_set_default_dram_perf()
795 if (default_dram_perf_ref_nid == NUMA_NO_NODE) in mt_perf_to_adistance()
H A Dexecmem.c45 pgprot, vm_flags, NUMA_NO_NODE, in __execmem_alloc()
51 pgprot, vm_flags, NUMA_NO_NODE, in __execmem_alloc()
74 range->start, range->end, NUMA_NO_NODE, in execmem_validate()
79 NUMA_NO_NODE, GFP_KERNEL, __builtin_return_address(0)); in execmem_validate()
/linux/include/linux/
H A Dmemblock.h160 __next_mem_range(idx, NUMA_NO_NODE, MEMBLOCK_NONE, &physmem, type, in __next_physmem_range()
225 __for_each_mem_range(i, &memblock.memory, NULL, NUMA_NO_NODE, \
237 __for_each_mem_range_rev(i, &memblock.memory, NULL, NUMA_NO_NODE, \
251 __for_each_mem_range(i, &memblock.reserved, NULL, NUMA_NO_NODE, \
417 MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE); in memblock_alloc()
425 NUMA_NO_NODE); in memblock_alloc_raw()
433 MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE); in memblock_alloc_from()
440 ARCH_LOW_ADDRESS_LIMIT, NUMA_NO_NODE); in memblock_alloc_low()
H A Dslab.h910 alloc_hooks(__kmalloc_node_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE))
913 …alloc_hooks(__kmalloc_node_track_caller_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE
1004 #define kmalloc_track_caller(...) kmalloc_node_track_caller(__VA_ARGS__, NUMA_NO_NODE)
1007 kmalloc_node_track_caller_noprof(__VA_ARGS__, NUMA_NO_NODE, _RET_IP_)
1047 #define kvmalloc(_size, _flags) kvmalloc_node(_size, _flags, NUMA_NO_NODE)
1048 #define kvmalloc_noprof(_size, _flags) kvmalloc_node_noprof(_size, _flags, NUMA_NO_NODE)
1053 alloc_hooks(__kvmalloc_node_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE))
1066 #define kvmalloc_array_noprof(...) kvmalloc_array_node_noprof(__VA_ARGS__, NUMA_NO_NODE)
1068 #define kvcalloc_noprof(...) kvcalloc_node_noprof(__VA_ARGS__, NUMA_NO_NODE)
H A Dnuma.h15 #define NUMA_NO_NODE (-1) macro
55 return NUMA_NO_NODE; in numa_nearest_node()
H A Dasync.h54 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()
H A Dmemory-tiers.h62 return NUMA_NO_NODE; in next_demotion_node()
106 return NUMA_NO_NODE; in next_demotion_node()
/linux/arch/x86/kernel/cpu/
H A Dhygon.c32 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
37 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
52 if (node == NUMA_NO_NODE) in srat_detect_node()
84 if (__apicid_to_node[ht_nodeid] != NUMA_NO_NODE) in srat_detect_node()
/linux/arch/arm64/kernel/
H A Dacpi_numa.c30 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()
/linux/tools/testing/selftests/bpf/
H A Dbpf_arena_common.h9 #ifndef NUMA_NO_NODE
10 #define NUMA_NO_NODE (-1) macro
/linux/tools/testing/memblock/tests/
H A Dalloc_nid_api.c81 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 …]
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c89 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_pre_populated()
153 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, params->use_dma_alloc, in ttm_pool_alloc_basic()
157 KUNIT_ASSERT_EQ(test, pool->nid, NUMA_NO_NODE); in ttm_pool_alloc_basic()
221 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_alloc_basic_dma_addr()
351 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_free_dma_alloc()
382 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, false, false); in ttm_pool_free_no_dma_alloc()
/linux/arch/riscv/kernel/
H A Dacpi_numa.c31 static int acpi_early_node_map[NR_CPUS] __initdata = { [0 ... NR_CPUS - 1] = NUMA_NO_NODE };
124 if (node == NUMA_NO_NODE) { in acpi_numa_rintc_affinity_init()
/linux/drivers/base/test/
H A Dtest_async_driver_probe.c89 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()
/linux/arch/loongarch/kernel/
H A Dacpi.c333 if (nid != NUMA_NO_NODE) in acpi_map_cpu2node()
336 if (nid != NUMA_NO_NODE) { in acpi_map_cpu2node()
369 set_cpuid_to_node(cpu_logical_map(cpu), NUMA_NO_NODE); in acpi_unmap_cpu()
H A Dnuma.c42 [0 ... CONFIG_NR_CPUS - 1] = NUMA_NO_NODE
120 return NUMA_NO_NODE; in early_cpu_to_node()
334 set_cpuid_to_node(i, NUMA_NO_NODE); in init_numa_memory()
/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-cpu.c175 if (assigned_node != NUMA_NO_NODE) { in find_cpu_id_range()
238 BUG_ON(node == NUMA_NO_NODE); in pseries_add_processor()
248 node = NUMA_NO_NODE; in pseries_add_processor()
249 rc = find_cpu_id_range(nthreads, NUMA_NO_NODE, &cpu_mask); in pseries_add_processor()
272 if (node == NUMA_NO_NODE) { in pseries_add_processor()
H A Drtas-work-area.c140 const int nid = NUMA_NO_NODE; in rtas_work_area_allocator_init()
194 const int nid = NUMA_NO_NODE; in rtas_work_area_reserve_arena()

12345678910>>...12