Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.15/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-6.15/tools/testing/selftests/bpf/progs/
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); in alloc_pages()
114 base = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc2()
162 pg = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc2()
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()
/linux-6.15/mm/
H A Dnuma_emulation.c66 if (emu_nid_to_phys[nid] == NUMA_NO_NODE) in emu_setup_memblk()
335 *dfl_phys_nid = NUMA_NO_NODE; in setup_emu2phys_nid()
337 if (emu_nid_to_phys[i] != NUMA_NO_NODE) { in setup_emu2phys_nid()
339 if (*dfl_phys_nid == NUMA_NO_NODE) in setup_emu2phys_nid()
392 emu_nid_to_phys[i] = NUMA_NO_NODE; in numa_emulation()
473 ei.blk[i].nid != NUMA_NO_NODE) in numa_emulation()
491 if (emu_nid_to_phys[i] == NUMA_NO_NODE) in numa_emulation()
520 emu_nid_to_phys[j] != NUMA_NO_NODE) in numa_emulation()
522 if (emu_nid_to_phys[i] != NUMA_NO_NODE) in numa_emulation()
526 if (emu_nid_to_phys[j] != NUMA_NO_NODE) in numa_emulation()
[all …]
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()
/linux-6.15/drivers/acpi/numa/
H A Dsrat.c27 = { [0 ... MAX_PXM_DOMAINS - 1] = NUMA_NO_NODE };
44 return NUMA_NO_NODE; in pxm_to_node()
70 return NUMA_NO_NODE; in acpi_map_pxm_to_node()
74 if (node == NUMA_NO_NODE) { in acpi_map_pxm_to_node()
77 return NUMA_NO_NODE; in acpi_map_pxm_to_node()
94 = { [0 ... MAX_PXM_DOMAINS - 1] = NUMA_NO_NODE }; in fix_pxm_node_maps()
338 if (from_node == NUMA_NO_NODE) in acpi_parse_slit()
344 if (to_node == NUMA_NO_NODE) in acpi_parse_slit()
389 if (node == NUMA_NO_NODE) { in acpi_parse_memory_affinity()
451 if (node == NUMA_NO_NODE) { in acpi_parse_cfmws()
[all …]
/linux-6.15/drivers/base/
H A Darch_numa.c19 static int cpu_to_node_map[NR_CPUS] = { [0 ... NR_CPUS-1] = NUMA_NO_NODE };
47 if (node == NUMA_NO_NODE) in cpumask_of_node()
67 if (nid == NUMA_NO_NODE) in numa_update_cpu()
90 set_cpu_numa_node(cpu, NUMA_NO_NODE); in numa_clear_node()
342 if (cpu_to_node_map[i] == NUMA_NO_NODE) in numa_emu_update_cpu_to_node()
360 if (node == NUMA_NO_NODE) in debug_cpumask_set_cpu()
/linux-6.15/kernel/sched/
H A Dext_idle.c66 return NUMA_NO_NODE; in scx_cpu_node_if_enabled()
204 if (node == NUMA_NO_NODE || flags & SCX_PICK_IDLE_IN_NODE) in scx_pick_idle_cpu()
707 cpumask_copy(idle_cpumask(NUMA_NO_NODE)->cpu, cpu_online_mask); in reset_idle_masks()
708 cpumask_copy(idle_cpumask(NUMA_NO_NODE)->smt, cpu_online_mask); in reset_idle_masks()
756 if (node == NUMA_NO_NODE) in validate_node()
794 return NUMA_NO_NODE; in scx_bpf_cpu_node()
884 return idle_cpumask(NUMA_NO_NODE)->cpu; in scx_bpf_get_idle_cpumask()
936 return idle_cpumask(NUMA_NO_NODE)->smt; in scx_bpf_get_idle_smtmask()
938 return idle_cpumask(NUMA_NO_NODE)->cpu; in scx_bpf_get_idle_smtmask()
1042 return scx_pick_idle_cpu(cpus_allowed, NUMA_NO_NODE, flags); in scx_bpf_pick_idle_cpu()
[all …]
/linux-6.15/arch/powerpc/mm/
H A Dnuma.c178 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()
359 if (nid == NUMA_NO_NODE) in update_numa_distance()
682 return NUMA_NO_NODE; in vphn_get_nid()
694 return NUMA_NO_NODE; in vphn_get_nid()
706 int nid = NUMA_NO_NODE; in numa_setup_cpu()
728 if (nid != NUMA_NO_NODE) in numa_setup_cpu()
1255 int nid = NUMA_NO_NODE; in hot_add_drconf_scn_to_nid()
[all …]
/linux-6.15/include/linux/
H A Dmemblock.h159 __next_mem_range(idx, NUMA_NO_NODE, MEMBLOCK_NONE, &physmem, type, in __next_physmem_range()
224 __for_each_mem_range(i, &memblock.memory, NULL, NUMA_NO_NODE, \
236 __for_each_mem_range_rev(i, &memblock.memory, NULL, NUMA_NO_NODE, \
250 __for_each_mem_range(i, &memblock.reserved, NULL, NUMA_NO_NODE, \
420 MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE); in memblock_alloc()
434 NUMA_NO_NODE); in memblock_alloc_raw()
442 MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE); in memblock_alloc_from()
449 ARCH_LOW_ADDRESS_LIMIT, NUMA_NO_NODE); in memblock_alloc_low()
H A Dslab.h914 alloc_hooks(__kmalloc_node_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE))
917 …alloc_hooks(__kmalloc_node_track_caller_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE
1006 #define kmalloc_track_caller(...) kmalloc_node_track_caller(__VA_ARGS__, NUMA_NO_NODE)
1009 kmalloc_node_track_caller_noprof(__VA_ARGS__, NUMA_NO_NODE, _RET_IP_)
1049 #define kvmalloc(_size, _flags) kvmalloc_node(_size, _flags, NUMA_NO_NODE)
1050 #define kvmalloc_noprof(_size, _flags) kvmalloc_node_noprof(_size, _flags, NUMA_NO_NODE)
1055 alloc_hooks(__kvmalloc_node_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE))
1068 #define kvmalloc_array_noprof(...) kvmalloc_array_node_noprof(__VA_ARGS__, NUMA_NO_NODE)
1070 #define kvcalloc_noprof(...) kvcalloc_node_noprof(__VA_ARGS__, NUMA_NO_NODE)
H A Dnuma.h49 return NUMA_NO_NODE; in numa_nearest_node()
54 return NUMA_NO_NODE; in nearest_node_nodemask()
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-6.15/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-6.15/drivers/hv/
H A Dmshv_root_hv_call.c125 ret = hv_call_deposit_pages(NUMA_NO_NODE, in hv_call_create_partition()
140 ret = hv_call_deposit_pages(NUMA_NO_NODE, partition_id, in hv_call_initialize_partition()
153 ret = hv_call_deposit_pages(NUMA_NO_NODE, partition_id, 1); in hv_call_initialize_partition()
242 ret = hv_call_deposit_pages(NUMA_NO_NODE, partition_id, in hv_do_map_gpa_hcall()
461 ret = hv_call_deposit_pages(NUMA_NO_NODE, in hv_call_get_vp_state()
521 ret = hv_call_deposit_pages(NUMA_NO_NODE, in hv_call_set_vp_state()
561 ret = hv_call_deposit_pages(NUMA_NO_NODE, partition_id, 1); in hv_call_map_vp_state_page()
635 ret = hv_call_deposit_pages(NUMA_NO_NODE, port_partition_id, 1); in hv_call_create_port()
689 ret = hv_call_deposit_pages(NUMA_NO_NODE, in hv_call_connect_port()
756 ret = hv_call_deposit_pages(NUMA_NO_NODE, in hv_call_map_stat_page()
/linux-6.15/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-6.15/tools/testing/selftests/bpf/
H A Dbpf_arena_common.h9 #ifndef NUMA_NO_NODE
10 #define NUMA_NO_NODE (-1) macro
/linux-6.15/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-6.15/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-6.15/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-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dbloom_filter_map.c9 #ifndef NUMA_NO_NODE
10 #define NUMA_NO_NODE (-1) macro
76 opts.numa_node = NUMA_NO_NODE; in test_success_cases()
/linux-6.15/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-6.15/arch/x86/pci/
H A Dacpi.c457 if (node == NUMA_NO_NODE) { in pci_acpi_root_get_node()
459 if (node != 0 && node != NUMA_NO_NODE) in pci_acpi_root_get_node()
463 if (node != NUMA_NO_NODE && !node_online(node)) in pci_acpi_root_get_node()
464 node = NUMA_NO_NODE; in pci_acpi_root_get_node()
/linux-6.15/arch/loongarch/kernel/
H A Dacpi.c321 if (nid != NUMA_NO_NODE) in acpi_map_cpu2node()
324 if (nid != NUMA_NO_NODE) { in acpi_map_cpu2node()
357 set_cpuid_to_node(cpu_logical_map(cpu), NUMA_NO_NODE); in acpi_unmap_cpu()

12345678910>>...14