| /OK3568_Linux_fs/kernel/arch/x86/mm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/tools/perf/bench/ |
| H A 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() 353 BUG_ON(g->p.nr_nodes > (int)sizeof(nodemask)*8); in bind_to_memnode() 690 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list() 703 if (bind_node_0 >= g->p.nr_nodes || bind_node_1 >= g->p.nr_nodes) { in parse_setup_node_list() 704 printf("\nTest not applicable, system has only %d nodes.\n", g->p.nr_nodes); in parse_setup_node_list() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/loongson64/ |
| H A D | numa.c | 61 for (i = 0; i < loongson_sysconf.nr_nodes; i++) { in cpu_node_probe() 198 for (node = 0; node < loongson_sysconf.nr_nodes; node++) { in prom_meminit()
|
| H A D | env.c | 125 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_init_env()
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | backref.h | 251 int nr_nodes; member 301 cache->nr_nodes--; in btrfs_backref_free_node()
|
| H A D | backref.c | 2570 cache->nr_nodes++; 2655 ASSERT(!cache->nr_nodes);
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | hugetlb.c | 1233 #define for_each_node_mask_to_alloc(hs, nr_nodes, node, mask) \ argument 1234 for (nr_nodes = nodes_weight(*mask); \ 1235 nr_nodes > 0 && \ 1237 nr_nodes--) 1239 #define for_each_node_mask_to_free(hs, nr_nodes, node, mask) \ argument 1240 for (nr_nodes = nodes_weight(*mask); \ 1241 nr_nodes > 0 && \ 1243 nr_nodes--) 1728 int nr_nodes, node; in alloc_pool_huge_page() local 1731 for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { in alloc_pool_huge_page() [all …]
|
| H A D | page_alloc.c | 6003 unsigned nr_nodes) in build_zonelists_in_node_order() argument 6010 for (i = 0; i < nr_nodes; i++) { in build_zonelists_in_node_order() 6047 int node, load, nr_nodes = 0; in build_zonelists() local 6067 node_order[nr_nodes++] = node; in build_zonelists() 6072 build_zonelists_in_node_order(pgdat, node_order, nr_nodes); in build_zonelists()
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-loongson64/ |
| H A D | boot_param.h | 203 u32 nr_nodes; member
|
| /OK3568_Linux_fs/kernel/Documentation/block/ |
| H A D | null_blk.rst | 39 home_node=[0--nr_nodes]: Default: NUMA_NO_NODE
|