Searched refs:nr_nodes (Results 1 – 4 of 4) sorted by relevance
85 u64 addr, u64 max_addr, int nr_nodes) in split_nodes_interleave() argument93 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() argument207 return PFN_PHYS((max_pfn - base_pfn - hole_pfns) / nr_nodes); in uniform_size()[all …]
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()
146 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_lefi_init_env()
24 u32 nr_nodes; member