| /linux/include/linux/ |
| H A D | nodemask.h | 98 #if MAX_NUMNODES > 1 144 #define nodes_setall(dst) __nodes_setall(&(dst), MAX_NUMNODES) 150 #define nodes_clear(dst) __nodes_clear(&(dst), MAX_NUMNODES) 167 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES) 175 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES) 183 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES) 191 __nodes_andnot(&(dst), &(src1), &(src2), MAX_NUMNODES) 198 #define nodes_copy(dst, src) __nodes_copy(&(dst), &(src), MAX_NUMNODES) 206 __nodes_complement(&(dst), &(src), MAX_NUMNODES) 214 __nodes_equal(&(src1), &(src2), MAX_NUMNODES) [all …]
|
| H A D | numa_memblks.h | 8 #define NR_NODE_MEMBLKS (MAX_NUMNODES * 2) 36 extern int emu_nid_to_phys[MAX_NUMNODES];
|
| /linux/mm/ |
| H A D | hugetlb_cma.c | 20 static struct cma *hugetlb_cma[MAX_NUMNODES] __ro_after_init; 21 static unsigned long hugetlb_cma_size_in_node[MAX_NUMNODES] __initdata; 26 static unsigned int hugetlb_cma_percent_in_node[MAX_NUMNODES] __initdata; 135 if (tmp >= MAX_NUMNODES) in cmdline_parse_hugetlb_cma() 137 nid = array_index_nospec(tmp, MAX_NUMNODES); in cmdline_parse_hugetlb_cma() 177 for (nid = 0; nid < MAX_NUMNODES; nid++) { in cmdline_parse_hugetlb_cma() 185 for (nid = 0; nid < MAX_NUMNODES; nid++) { in cmdline_parse_hugetlb_cma() 218 for (nid = 0; nid < MAX_NUMNODES; nid++) { in hugetlb_cma_reserve() 227 for (nid = 0; nid < MAX_NUMNODES; nid++) { in hugetlb_cma_reserve() 272 for (nid = 0; nid < MAX_NUMNODES; nid++) { in hugetlb_cma_reserve() [all …]
|
| H A D | arch_numa.c | 36 cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; 105 if (nr_node_ids == MAX_NUMNODES) in setup_node_to_cpumask_map() 114 if (unlikely(nr_node_ids > MAX_NUMNODES)) { in setup_node_to_cpumask_map() 116 nr_node_ids, MAX_NUMNODES); in setup_node_to_cpumask_map() 141 if (nid < 0 || nid >= MAX_NUMNODES || numa_off) in early_map_cpu_to_node()
|
| H A D | sparse.c | 41 #if MAX_NUMNODES <= 256 212 for_each_mem_pfn_range(i, MAX_NUMNODES, &start, &end, &nid) in memblocks_present()
|
| H A D | numa.c | 8 struct pglist_data *node_data[MAX_NUMNODES];
|
| H A D | mm_init.c | 253 static unsigned long zone_movable_pfn[MAX_NUMNODES] __initdata; 335 for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, &nid) { in early_calculate_totalpages() 946 for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, &nid) { in memmap_init() 1187 return __absent_pages_in_range(MAX_NUMNODES, start_pfn, end_pfn); in absent_pages_in_range() 1706 #if MAX_NUMNODES > 1 1714 highest = find_last_bit(node_possible_map.bits, MAX_NUMNODES); in setup_nr_node_ids() 1811 for (i = 0; i < MAX_NUMNODES; i++) { in free_area_init() 1819 for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, &nid) in free_area_init() 1890 for_each_mem_pfn_range(i, MAX_NUMNODES, &start, &end, &nid) { in node_map_pfn_alignment()
|
| H A D | hugetlb_internal.h | 34 VM_BUG_ON(nid >= MAX_NUMNODES); in next_node_allowed()
|
| H A D | mmzone.c | 22 if (nid == MAX_NUMNODES) in next_online_pgdat()
|
| /linux/tools/include/linux/ |
| H A D | numa.h | 12 #define MAX_NUMNODES (1 << NODES_SHIFT) macro 18 return nid >= 0 && nid < MAX_NUMNODES; in numa_valid_node()
|
| /linux/arch/mips/include/asm/mach-ip27/ |
| H A D | topology.h | 25 extern unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES];
|
| /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];
|
| /linux/kernel/dma/ |
| H A D | contiguous.c | 135 static struct cma *dma_contiguous_numa_area[MAX_NUMNODES]; 136 static phys_addr_t numa_cma_size[MAX_NUMNODES] __initdata; 152 if (node >= MAX_NUMNODES) in early_numa_cma() 154 nid = array_index_nospec(node, MAX_NUMNODES); in early_numa_cma()
|
| /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()
|
| /linux/arch/sh/kernel/ |
| H A D | vmcore_info.c | 10 VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); in arch_crash_save_vmcoreinfo()
|
| /linux/arch/x86/kernel/ |
| H A D | vmcore_info_32.c | 12 VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); in arch_crash_save_vmcoreinfo()
|
| H A D | vmcore_info_64.c | 19 VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); in arch_crash_save_vmcoreinfo()
|
| /linux/arch/mips/include/asm/sn/sn0/ |
| H A D | arch.h | 19 #define MAXCPUS (MAX_NUMNODES * CPUS_PER_NODE)
|
| /linux/arch/x86/boot/compressed/ |
| H A D | acpi.c | 22 struct mem_vector immovable_mem[MAX_NUMNODES*2]; 313 if (num >= MAX_NUMNODES*2) { in count_immovable_mem_regions()
|
| /linux/arch/sh/include/asm/ |
| H A D | mmzone.h | 12 for (nid = 0; nid < MAX_NUMNODES; nid++) in pfn_to_nid()
|
| /linux/arch/powerpc/kexec/ |
| H A D | vmcore_info.c | 11 VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); in arch_crash_save_vmcoreinfo()
|
| /linux/arch/sh/mm/ |
| H A D | numa.c | 28 BUG_ON(nid >= MAX_NUMNODES || nid <= 0); in setup_bootmem_node()
|
| /linux/arch/mips/include/asm/sn/ |
| H A D | gda.h | 61 nasid_t g_nasidtable[MAX_NUMNODES]; /* NASID of each node */
|
| /linux/drivers/acpi/numa/ |
| H A D | hmat.c | 752 bitmap_zero(p_nodes, MAX_NUMNODES); in hmat_update_target_attrs() 818 for_each_set_bit(i, p_nodes, MAX_NUMNODES) { in __hmat_register_target_initiators() 826 static DECLARE_BITMAP(p_nodes, MAX_NUMNODES); in hmat_update_generic_target() 836 static DECLARE_BITMAP(p_nodes, MAX_NUMNODES); in hmat_register_target_initiators() 975 static DECLARE_BITMAP(p_nodes, MAX_NUMNODES); in hmat_calculate_adistance()
|
| /linux/arch/mips/sgi-ip27/ |
| H A D | ip27-init.c | 39 static DECLARE_BITMAP(hub_init_mask, MAX_NUMNODES);
|