Searched refs:nr_nodes (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.15/arch/x86/mm/ |
D | numa_emulation.c | 85 u64 addr, u64 max_addr, int nr_nodes) in split_nodes_interleave() argument 93 if (nr_nodes <= 0) in split_nodes_interleave() 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() 106 size = PFN_PHYS((unsigned long)(size >> PAGE_SHIFT) / nr_nodes); in split_nodes_interleave() 112 big = ((size & ~FAKE_NODE_MIN_HASH_MASK) * nr_nodes) / in split_nodes_interleave() 173 ret = emu_setup_memblk(ei, pi, nid++ % nr_nodes, in split_nodes_interleave() 201 static u64 uniform_size(u64 max_addr, u64 base, u64 hole, int nr_nodes) in uniform_size() argument 207 return PFN_PHYS((max_pfn - base_pfn - hole_pfns) / nr_nodes); in uniform_size() [all …]
|
/Linux-v5.15/lib/ |
D | rbtree_test.c | 171 static void check_postorder_foreach(int nr_nodes) in check_postorder_foreach() argument 178 WARN_ON_ONCE(count != nr_nodes); in check_postorder_foreach() 181 static void check_postorder(int nr_nodes) in check_postorder() argument 188 WARN_ON_ONCE(count != nr_nodes); in check_postorder() 191 static void check(int nr_nodes) in check() argument 211 WARN_ON_ONCE(count != nr_nodes); in check() 214 check_postorder(nr_nodes); in check() 215 check_postorder_foreach(nr_nodes); in check() 218 static void check_augmented(int nr_nodes) in check_augmented() argument 222 check(nr_nodes); in check_augmented()
|
/Linux-v5.15/tools/perf/bench/ |
D | numa.c | 126 int nr_nodes; member 228 int i, nr_nodes = 0; in nr_numa_nodes() local 230 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes() 232 nr_nodes++; in nr_numa_nodes() 235 return nr_nodes; in nr_numa_nodes() 340 ret = set_mempolicy(MPOL_DEFAULT, NULL, g->p.nr_nodes-1); in mempol_restore() 694 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list() 707 if (bind_node_0 >= g->p.nr_nodes || bind_node_1 >= g->p.nr_nodes) { in parse_setup_node_list() 708 printf("\nTest not applicable, system has only %d nodes.\n", g->p.nr_nodes); in parse_setup_node_list() 897 node_present = (char *)malloc(g->p.nr_nodes * sizeof(char)); in count_process_nodes() [all …]
|
/Linux-v5.15/arch/mips/loongson64/ |
D | numa.c | 44 for (i = 0; i < loongson_sysconf.nr_nodes; i++) { in cpu_node_probe() 145 for (node = 0; node < loongson_sysconf.nr_nodes; node++) { in prom_meminit()
|
D | env.c | 144 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_lefi_init_env()
|
/Linux-v5.15/fs/btrfs/ |
D | backref.h | 253 int nr_nodes; member 303 cache->nr_nodes--; in btrfs_backref_free_node()
|
D | backref.c | 2508 cache->nr_nodes++; 2593 ASSERT(!cache->nr_nodes);
|
/Linux-v5.15/mm/ |
D | hugetlb.c | 1251 #define for_each_node_mask_to_alloc(hs, nr_nodes, node, mask) \ argument 1252 for (nr_nodes = nodes_weight(*mask); \ 1253 nr_nodes > 0 && \ 1255 nr_nodes--) 1257 #define for_each_node_mask_to_free(hs, nr_nodes, node, mask) \ argument 1258 for (nr_nodes = nodes_weight(*mask); \ 1259 nr_nodes > 0 && \ 1261 nr_nodes--) 1888 int nr_nodes, node; in alloc_pool_huge_page() local 1891 for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { in alloc_pool_huge_page() [all …]
|
D | page_alloc.c | 6202 unsigned nr_nodes) in build_zonelists_in_node_order() argument 6209 for (i = 0; i < nr_nodes; i++) { in build_zonelists_in_node_order() 6246 int node, load, nr_nodes = 0; in build_zonelists() local 6266 node_order[nr_nodes++] = node; in build_zonelists() 6271 build_zonelists_in_node_order(pgdat, node_order, nr_nodes); in build_zonelists()
|
/Linux-v5.15/arch/mips/include/asm/mach-loongson64/ |
D | loongson.h | 24 u32 nr_nodes; member
|
/Linux-v5.15/Documentation/block/ |
D | null_blk.rst | 39 home_node=[0--nr_nodes]: Default: NUMA_NO_NODE
|