| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_arena.c | 33 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1() 37 page2 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1() 41 no_page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1() 64 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); 68 page2 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc2() 72 no_page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc2() 84 page3 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc2() 103 page1 = bpf_arena_alloc_pages(&arena, NULL, 2, NUMA_NO_NODE, 0); 141 page1 = bpf_arena_alloc_pages(&arena, NULL, 2, NUMA_NO_NODE, 0); in basic_reserve1() 183 pages = bpf_arena_alloc_pages(&ar->map, NULL, ar->map.max_entries, NUMA_NO_NODE, in reserve_twice() [all...] |
| H A D | verifier_arena_large.c | 30 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1() 39 1, NUMA_NO_NODE, 0); in big_alloc1() 46 1, NUMA_NO_NODE, 0); in big_alloc1() 51 1, NUMA_NO_NODE, 0); in big_alloc1() 63 page3 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1() 139 page = bpf_arena_alloc_pages(&arena, base, 5, NUMA_NO_NODE, 0); in free_reserved() 158 page = bpf_arena_alloc_pages(&arena, addr, 2, NUMA_NO_NODE, 0); in free_reserved() 174 page = bpf_arena_alloc_pages(&arena, addr + __PAGE_SIZE, 2, NUMA_NO_NODE, 0); 198 NUMA_NO_NODE, 0); in alloc_pages() 225 base = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, in big_alloc2() [all...] |
| /linux/arch/x86/mm/ |
| H A D | numa.c | 48 [0 ... MAX_LOCAL_APIC-1] = NUMA_NO_NODE 59 return NUMA_NO_NODE; in numa_cpu_node() 73 DEFINE_EARLY_PER_CPU(int, x86_cpu_to_node_map, NUMA_NO_NODE); 100 numa_set_node(cpu, NUMA_NO_NODE); in numa_clear_node() 167 if (early_cpu_to_node(i) != NUMA_NO_NODE) in numa_init_array() 180 set_apicid_to_node(i, NUMA_NO_NODE); in numa_init() 193 if (nid == NUMA_NO_NODE) in numa_init() 306 if (node == NUMA_NO_NODE) in init_cpu_to_node() 366 return NUMA_NO_NODE; in early_cpu_to_node() 375 if (node == NUMA_NO_NODE) { in debug_cpumask_set_cpu() [all …]
|
| /linux/mm/ |
| H A D | numa_emulation.c | 66 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() 519 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() [all …]
|
| H A D | numa_memblks.c | 30 mi->blk[i].nid != NUMA_NO_NODE) in numa_nodemask_from_meminfo() 325 mi->blk[i].nid = NUMA_NO_NODE; in numa_cleanup_meminfo() 455 WARN_ON(memblock_set_node(0, max_addr, &memblock.memory, NUMA_NO_NODE)); in numa_memblks_init() 457 NUMA_NO_NODE)); in numa_memblks_init() 567 return NUMA_NO_NODE; in meminfo_to_nid() 579 if (nid != NUMA_NO_NODE && reserved_nid == NUMA_NO_NODE) in phys_to_target_node() 590 if (nid == NUMA_NO_NODE) in memory_add_physaddr_to_nid()
|
| H A D | hugetlb_sysfs.c | 35 *nidp = NUMA_NO_NODE; in kobj_to_hstate() 50 if (nid == NUMA_NO_NODE) in nr_hugepages_show_common() 147 if (nid == NUMA_NO_NODE) in free_hugepages_show() 172 if (nid == NUMA_NO_NODE) in surplus_hugepages_show() 196 if (nid != NUMA_NO_NODE) { in demote_store() 214 if (nid != NUMA_NO_NODE) in demote_store()
|
| /linux/drivers/base/ |
| H A D | arch_numa.c | 19 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/kernel/sched/ |
| H A D | ext_idle.c | 62 return node == NUMA_NO_NODE ? &scx_idle_global_masks : scx_idle_node_masks[node]; in idle_cpumask() 72 return NUMA_NO_NODE; in scx_cpu_node_if_enabled() 218 if (node == NUMA_NO_NODE || flags & SCX_PICK_IDLE_IN_NODE) in scx_pick_idle_cpu() 804 cpumask_copy(idle_cpumask(NUMA_NO_NODE)->cpu, cpu_online_mask); in reset_idle_masks() 805 cpumask_copy(idle_cpumask(NUMA_NO_NODE)->smt, cpu_online_mask); in reset_idle_masks() 850 if (node == NUMA_NO_NODE) in validate_node() 994 return NUMA_NO_NODE; in scx_bpf_cpu_node() 1168 return idle_cpumask(NUMA_NO_NODE)->cpu; in scx_bpf_get_idle_cpumask() 1231 return idle_cpumask(NUMA_NO_NODE)->smt; in scx_bpf_get_idle_smtmask() 1233 return idle_cpumask(NUMA_NO_NODE)->cpu; in scx_bpf_get_idle_smtmask() [all …]
|
| /linux/include/linux/ |
| H A D | slab.h | 508 #define krealloc_noprof(_o, _s, _f) krealloc_node_align_noprof(_o, _s, 1, _f, NUMA_NO_NODE) 511 #define krealloc(...) krealloc_node(__VA_ARGS__, NUMA_NO_NODE) 1063 alloc_hooks(__kmalloc_node_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE)) 1066 …alloc_hooks(__kmalloc_node_track_caller_noprof(PASS_BUCKET_PARAMS(_size, _b), _flags, NUMA_NO_NODE… 1155 #define kmalloc_track_caller(...) kmalloc_node_track_caller(__VA_ARGS__, NUMA_NO_NODE) 1158 kmalloc_node_track_caller_noprof(__VA_ARGS__, NUMA_NO_NODE, _RET_IP_) 1200 #define kvmalloc(...) kvmalloc_node(__VA_ARGS__, NUMA_NO_NODE) 1206 alloc_hooks(__kvmalloc_node_noprof(PASS_BUCKET_PARAMS(_size, _b), 1, _flags, NUMA_NO_NODE)) 1219 #define kvmalloc_array_noprof(...) kvmalloc_array_node_noprof(__VA_ARGS__, NUMA_NO_NODE) 1221 #define kvcalloc_noprof(...) kvcalloc_node_noprof(__VA_ARGS__, NUMA_NO_NODE) [all …]
|
| 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()
|
| H A D | kthread.h | 46 kthread_create_on_node(threadfn, data, NUMA_NO_NODE, namefmt, ##arg) 216 kthread_create_worker_on_node(flags, NUMA_NO_NODE, namefmt, ## __VA_ARGS__);
|
| /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()
|
| /linux/arch/loongarch/kernel/ |
| H A D | numa.c | 39 [0 ... CONFIG_NR_CPUS - 1] = NUMA_NO_NODE 115 return NUMA_NO_NODE; in early_cpu_to_node() 232 set_cpuid_to_node(i, NUMA_NO_NODE); in init_numa_memory()
|
| /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 …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_arena_common.h | 9 #ifndef NUMA_NO_NODE 10 #define NUMA_NO_NODE (-1) macro
|
| /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()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bloom_filter_map.c | 9 #ifndef NUMA_NO_NODE 10 #define NUMA_NO_NODE (-1) macro 76 opts.numa_node = NUMA_NO_NODE; in test_success_cases()
|
| /linux/arch/x86/pci/ |
| H A D | acpi.c | 457 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/arch/powerpc/platforms/pseries/ |
| H A D | hotplug-cpu.c | 175 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 D | rtas-work-area.c | 140 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()
|
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_iommu.h | 118 set_dev_node(priv->dummy_dev, NUMA_NO_NODE); in pt_kunit_priv_init() 140 priv->fmt_table.iommu.nid = NUMA_NO_NODE; in pt_kunit_priv_init()
|
| /linux/tools/include/linux/ |
| H A D | numa.h | 14 #define NUMA_NO_NODE (-1) macro
|
| /linux/arch/powerpc/kernel/ |
| H A D | paca.c | 38 nid = NUMA_NO_NODE; in alloc_paca_data() 80 limit, NUMA_NO_NODE); in alloc_shared_lppaca()
|
| /linux/arch/arm/mm/ |
| H A D | kasan_init.c | 34 MEMBLOCK_ALLOC_NOLEAKTRACE, NUMA_NO_NODE); in kasan_alloc_block_raw() 40 MEMBLOCK_ALLOC_NOLEAKTRACE, NUMA_NO_NODE); in kasan_alloc_block()
|
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_queue.c | 28 if (numa_node == NUMA_NO_NODE) in fun_alloc_ring_mem() 359 NUMA_NO_NODE, &funq->sq_dma_addr, in fun_alloc_sqes() 368 NUMA_NO_NODE, &funq->cq_dma_addr, NULL, in fun_alloc_cqes() 378 NUMA_NO_NODE, &funq->rq_dma_addr, in fun_alloc_rqes()
|