• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/mm/

Lines Matching defs:nodes

49 static int __init populate_memnodemap(const struct bootnode *nodes,
57 addr = nodes[i].start;
58 end = nodes[i].end;
109 static int __init extract_lsb_from_nodes(const struct bootnode *nodes,
117 start = nodes[i].start;
118 end = nodes[i].end;
134 int __init compute_hash_shift(struct bootnode *nodes, int numnodes,
139 shift = extract_lsb_from_nodes(nodes, numnodes);
145 if (populate_memnodemap(nodes, numnodes, shift, nodeids) != 1) {
246 * nodedata_phys could be on other nodes by alloc_bootmem,
290 * nodes.
309 static struct bootnode nodes[MAX_NUMNODES] __initdata;
351 * Remove all nodes that have no memory or were truncated because of the
384 nodes[nid].start = *addr;
390 nodes[nid].end = *addr;
393 nodes[nid].start, nodes[nid].end,
394 (nodes[nid].end - nodes[nid].start) >> 20);
399 * Sets up nr_nodes fake nodes interleaved over physical nodes ranging from addr
400 * to max_addr. The return value is the number of nodes allocated.
421 * Calculate the number of big nodes that can be allocated as a result
439 * Continue to fill physical nodes with fake nodes until there is no
482 * Avoid allocating more nodes than requested, which can
517 * Sets up fake nodes of `size' interleaved over physical nodes ranging from
518 * `addr' to `max_addr'. The return value is the number of nodes allocated.
530 * The limit on emulated nodes is MAX_NUMNODES, so the size per node is
533 * machine (but not necessarily over physical nodes).
552 * Fill physical nodes with fake nodes of size until there is no memory
611 * split the system RAM into N fake nodes.
627 memnode_shift = compute_hash_shift(nodes, num_nodes, NULL);
641 e820_register_active_regions(i, nodes[i].start >> PAGE_SHIFT,
642 nodes[i].end >> PAGE_SHIFT);
643 setup_node_bootmem(i, nodes[i].start, nodes[i].end);
645 acpi_fake_nodes(nodes, num_nodes);