Home
last modified time | relevance | path

Searched refs:nr_nodes (Results 1 – 4 of 4) sorted by relevance

/arch/x86/mm/
Dnuma_emulation.c84 u64 addr, u64 max_addr, int nr_nodes) in split_nodes_interleave() argument
92 if (nr_nodes <= 0) in split_nodes_interleave()
94 if (nr_nodes > MAX_NUMNODES) { in split_nodes_interleave()
96 nr_nodes, MAX_NUMNODES); in split_nodes_interleave()
97 nr_nodes = MAX_NUMNODES; in split_nodes_interleave()
105 size = PFN_PHYS((unsigned long)(size >> PAGE_SHIFT) / nr_nodes); in split_nodes_interleave()
111 big = ((size & ~FAKE_NODE_MIN_HASH_MASK) * nr_nodes) / in split_nodes_interleave()
172 ret = emu_setup_memblk(ei, pi, nid++ % nr_nodes, in split_nodes_interleave()
200 static u64 uniform_size(u64 max_addr, u64 base, u64 hole, int nr_nodes) in uniform_size() argument
206 return PFN_PHYS((max_pfn - base_pfn - hole_pfns) / nr_nodes); in uniform_size()
[all …]
/arch/mips/loongson64/loongson-3/
Dnuma.c58 for (i = 0; i < loongson_sysconf.nr_nodes; i++) { in cpu_node_probe()
213 for (node = 0; node < loongson_sysconf.nr_nodes; node++) { in prom_meminit()
/arch/mips/include/asm/mach-loongson64/
Dboot_param.h195 u32 nr_nodes; member
/arch/mips/loongson64/common/
Denv.c147 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_init_env()