/openbmc/linux/include/linux/ |
H A D | nodemask.h | 112 return m ? MAX_NUMNODES : 0; in __nodemask_pr_numnodes() 266 return min_t(unsigned int, MAX_NUMNODES, find_first_bit(srcp->bits, MAX_NUMNODES)); in __first_node() 272 return min_t(unsigned int, MAX_NUMNODES, find_next_bit(srcp->bits, MAX_NUMNODES, n+1)); in __next_node() 284 if (ret == MAX_NUMNODES) in __next_node_in() 309 return min_t(unsigned int, MAX_NUMNODES, in __first_unset_node() 315 #if MAX_NUMNODES <= BITS_PER_LONG 385 #if MAX_NUMNODES > 1 388 (node) < MAX_NUMNODES; \ 420 #if MAX_NUMNODES > 1 495 #define next_online_node(nid) (MAX_NUMNODES) [all …]
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | numa.h | 26 extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; 27 extern pg_data_t *pgdat_list[MAX_NUMNODES]; 61 extern u8 numa_slit[MAX_NUMNODES * MAX_NUMNODES]; 62 #define slit_distance(from,to) (numa_slit[(from) * MAX_NUMNODES + (to)])
|
H A D | acpi.h | 62 #if MAX_NUMNODES > 256 63 #define MAX_PXM_DOMAINS MAX_NUMNODES 68 extern int __initdata nid_to_pxm_map[MAX_NUMNODES];
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | numa.c | 30 unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES]; 32 struct pglist_data *__node_data[MAX_NUMNODES]; 35 cpumask_t __node_cpumask[MAX_NUMNODES]; 72 for (row = 0; row < MAX_NUMNODES; row++) in init_topology_matrix() 73 for (col = 0; col < MAX_NUMNODES; col++) in init_topology_matrix()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | numa.c | 30 struct pglist_data *node_data[MAX_NUMNODES]; 31 unsigned char node_distances[MAX_NUMNODES][MAX_NUMNODES]; 37 cpumask_t cpus_on_node[MAX_NUMNODES]; 38 cpumask_t phys_cpus_on_node[MAX_NUMNODES]; 159 if (start > end || nid < 0 || nid >= MAX_NUMNODES) { in numa_add_memblk_to() 345 for (row = 0; row < MAX_NUMNODES; row++) in numa_default_distance() 346 for (col = 0; col < MAX_NUMNODES; col++) { in numa_default_distance()
|
/openbmc/linux/include/acpi/ |
H A D | acpi_numa.h | 9 #if MAX_NUMNODES > 256 10 #define MAX_PXM_DOMAINS MAX_NUMNODES
|
/openbmc/linux/arch/mips/include/asm/mach-loongson64/ |
H A D | topology.h | 17 extern unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES];
|
/openbmc/linux/arch/s390/kernel/ |
H A D | numa.c | 17 struct pglist_data *node_data[MAX_NUMNODES]; 27 for (nid = 0; nid < MAX_NUMNODES; nid++) { in numa_setup()
|
/openbmc/linux/arch/mips/include/asm/mach-ip27/ |
H A D | topology.h | 25 extern unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES];
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-memory.c | 36 struct node_data *__node_data[MAX_NUMNODES]; 94 unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES]; 163 for (row = 0; row < MAX_NUMNODES; row++) in init_topology_matrix() 164 for (col = 0; col < MAX_NUMNODES; col++) in init_topology_matrix() 399 for (node = 0; node < MAX_NUMNODES; node++) { in prom_meminit()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | topology.h | 21 extern unsigned char node_distances[MAX_NUMNODES][MAX_NUMNODES];
|
/openbmc/linux/arch/sh/mm/ |
H A D | numa.c | 17 struct pglist_data *node_data[MAX_NUMNODES] __read_mostly; 31 BUG_ON(nid >= MAX_NUMNODES || nid <= 0); in setup_bootmem_node()
|
/openbmc/linux/arch/ia64/mm/ |
H A D | numa.c | 36 u8 numa_slit[MAX_NUMNODES * MAX_NUMNODES];
|
/openbmc/linux/drivers/of/ |
H A D | of_numa.c | 35 if (nid >= MAX_NUMNODES) in of_numa_parse_cpu_nodes() 59 if (nid >= MAX_NUMNODES) { in of_numa_parse_memory_nodes() 171 if (!r && nid < MAX_NUMNODES && node_possible(nid)) in of_node_to_nid()
|
/openbmc/linux/include/asm-generic/ |
H A D | numa.h | 7 #define NR_NODE_MEMBLKS (MAX_NUMNODES * 2) 17 extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES];
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | numa.c | 18 cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; 61 for(node=0; node < MAX_NUMNODES; node++) in build_cpu_to_node_map()
|
H A D | uncached.c | 38 struct uncached_pool uncached_pools[MAX_NUMNODES]; 183 if (unlikely(starting_nid >= MAX_NUMNODES)) in uncached_alloc_page() 203 } while ((nid = (nid + 1) % MAX_NUMNODES) != starting_nid); in uncached_alloc_page()
|
/openbmc/linux/kernel/dma/ |
H A D | contiguous.c | 102 static struct cma *dma_contiguous_numa_area[MAX_NUMNODES]; 103 static phys_addr_t numa_cma_size[MAX_NUMNODES] __initdata; 104 static struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES]; 118 if (tmp >= MAX_NUMNODES) in early_numa_cma() 120 nid = array_index_nospec(tmp, MAX_NUMNODES); in early_numa_cma()
|
/openbmc/linux/drivers/base/ |
H A D | arch_numa.c | 18 struct pglist_data *node_data[MAX_NUMNODES] __read_mostly; 38 cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; 105 if (nr_node_ids == MAX_NUMNODES) in setup_node_to_cpumask_map() 129 if (nid < 0 || nid >= MAX_NUMNODES || numa_off) in early_map_cpu_to_node() 354 if (mblk_nid == NUMA_NO_NODE || mblk_nid >= MAX_NUMNODES) { in numa_register_nodes()
|
/openbmc/linux/arch/x86/mm/ |
H A D | numa_emulation.c | 13 static int emu_nid_to_phys[MAX_NUMNODES]; 95 if (nr_nodes > MAX_NUMNODES) { in split_nodes_interleave() 97 nr_nodes, MAX_NUMNODES); in split_nodes_interleave() 98 nr_nodes = MAX_NUMNODES; in split_nodes_interleave() 240 nr_nodes = MAX_NUMNODES; in split_nodes_size_interleave_uniform() 310 ret = emu_setup_memblk(ei, pi, nid++ % MAX_NUMNODES, in split_nodes_size_interleave_uniform() 387 for (i = 0; i < MAX_NUMNODES; i++) in numa_emulation()
|
H A D | numa.c | 26 struct pglist_data *node_data[MAX_NUMNODES] __read_mostly; 67 cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; 115 if (nr_node_ids == MAX_NUMNODES) in setup_node_to_cpumask_map() 134 if (start > end || nid < 0 || nid >= MAX_NUMNODES) { in numa_add_memblk_to() 526 if (nid != MAX_NUMNODES) in numa_clear_kernel_node_hotplug() 646 MAX_NUMNODES)); in numa_init() 648 MAX_NUMNODES)); in numa_init()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | numa.c | 45 cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; 46 struct pglist_data *node_data[MAX_NUMNODES]; 63 static int distance_lookup_table[MAX_NUMNODES][MAX_DISTANCE_REF_POINTS]; 64 static int numa_distance_table[MAX_NUMNODES][MAX_NUMNODES] = { 65 [0 ... MAX_NUMNODES - 1] = { [0 ... MAX_NUMNODES - 1] = -1 } 67 static int numa_id_index_table[MAX_NUMNODES] = { [0 ... MAX_NUMNODES - 1] = NUMA_NO_NODE }; 80 if (nr_node_ids == MAX_NUMNODES) in setup_node_to_cpumask_map() 1038 for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, NULL) { in setup_nonnuma()
|
/openbmc/linux/drivers/acpi/numa/ |
H A D | srat.c | 26 static int node_to_pxm_map[MAX_NUMNODES] 27 = { [0 ... MAX_NUMNODES - 1] = PXM_INVAL }; 70 if (nodes_weight(nodes_found_map) >= MAX_NUMNODES) in acpi_map_pxm_to_node() 438 if (node == NUMA_NO_NODE || node >= MAX_NUMNODES) { in acpi_parse_gi_affinity() 540 for (i = 0, fake_pxm = -1; i < MAX_NUMNODES; i++) { in acpi_numa_init()
|
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | sched.c | 299 for (n = 0; n < MAX_NUMNODES; n++, node++) { in aff_ref_location() 311 node = (node < MAX_NUMNODES) ? node : 0; in aff_ref_location() 580 for (n = 0; n < MAX_NUMNODES; n++, node++) { in spu_get_idle() 581 node = (node < MAX_NUMNODES) ? node : 0; in spu_get_idle() 628 for (n = 0; n < MAX_NUMNODES; n++, node++) { in find_victim() 629 node = (node < MAX_NUMNODES) ? node : 0; in find_victim() 953 for (node = 0; node < MAX_NUMNODES; node++) in count_active_contexts() 996 for (node = 0; node < MAX_NUMNODES; node++) { in spusched_thread() 1133 for (node = 0; node < MAX_NUMNODES; node++) { in spu_sched_exit()
|
/openbmc/linux/tools/include/linux/ |
H A D | numa.h | 12 #define MAX_NUMNODES (1 << NODES_SHIFT) macro
|