Lines Matching defs:nodes
32 static struct bootnode nodes[MAX_NUMNODES] __initdata;
61 struct bootnode *nd = &nodes[i];
83 nodes[i].start = nodes[i].end = 0;
272 pxm, start, end, nodes[i].start, nodes[i].end);
277 nodes[i].start, nodes[i].end);
281 nd = &nodes[node];
298 /* restore nodes[node] */
312 static int __init nodes_cover_memory(const struct bootnode *nodes)
319 unsigned long s = nodes[i].start >> PAGE_SHIFT;
320 unsigned long e = nodes[i].end >> PAGE_SHIFT;
347 physnodes[ret].start = nodes[i].start;
348 physnodes[ret].end = nodes[i].end;
354 /* Use the information discovered above to actually set up the nodes. */
368 * which don't overlap with memory on other nodes.
430 if (!nodes_cover_memory(nodes)) {
435 /* Account for nodes with cpus and no memory */
438 /* Finally register nodes */
440 setup_node_bootmem(i, nodes[i].start, nodes[i].end);
445 setup_node_bootmem(i, nodes[i].start, nodes[i].end);
477 if (addr >= nodes[i].start && addr < nodes[i].end) {
489 * and create PXM to NID mappings for those fake nodes which mirror that
491 * nodes as a result of the real topology.
497 printk(KERN_INFO "Faking PXM affinity for fake nodes on real "