• Home
  • Raw
  • Download

Lines Matching refs:nd

52 		struct bootnode *nd = &node_memblk_range[i];  in conflicting_memblks()  local
53 if (nd->start == nd->end) in conflicting_memblks()
55 if (nd->end > start && nd->start < end) in conflicting_memblks()
57 if (nd->end == end && nd->start == start) in conflicting_memblks()
65 struct bootnode *nd = &nodes[i]; in cutoff_node() local
70 if (nd->start < start) { in cutoff_node()
71 nd->start = start; in cutoff_node()
72 if (nd->end < nd->start) in cutoff_node()
73 nd->start = nd->end; in cutoff_node()
75 if (nd->end > end) { in cutoff_node()
76 nd->end = end; in cutoff_node()
77 if (nd->start > nd->end) in cutoff_node()
78 nd->start = nd->end; in cutoff_node()
152 static int hotadd_enough_memory(struct bootnode *nd) {return 1;} in hotadd_enough_memory() argument
169 struct bootnode *nd = &nodes_add[node]; in reserve_hotadd() local
197 if (nd->start == nd->end) { in reserve_hotadd()
198 nd->start = start; in reserve_hotadd()
199 nd->end = end; in reserve_hotadd()
202 if (nd->start == end) { in reserve_hotadd()
203 nd->start = start; in reserve_hotadd()
206 if (nd->end == start) { in reserve_hotadd()
207 nd->end = end; in reserve_hotadd()
214 ret = update_end_of_memory(nd->end); in reserve_hotadd()
217 printk(KERN_INFO "SRAT: hot plug zone found %Lx - %Lx\n", nd->start, nd->end); in reserve_hotadd()
225 struct bootnode *nd, oldnode; in acpi_numa_memory_affinity_init() local
263 nd = &nodes[node]; in acpi_numa_memory_affinity_init()
264 oldnode = *nd; in acpi_numa_memory_affinity_init()
266 nd->start = start; in acpi_numa_memory_affinity_init()
267 nd->end = end; in acpi_numa_memory_affinity_init()
269 if (start < nd->start) in acpi_numa_memory_affinity_init()
270 nd->start = start; in acpi_numa_memory_affinity_init()
271 if (nd->end < end) in acpi_numa_memory_affinity_init()
272 nd->end = end; in acpi_numa_memory_affinity_init()
279 push_node_boundaries(node, nd->start >> PAGE_SHIFT, in acpi_numa_memory_affinity_init()
280 nd->end >> PAGE_SHIFT); in acpi_numa_memory_affinity_init()
286 *nd = oldnode; in acpi_numa_memory_affinity_init()
287 if ((nd->start | nd->end) == 0) in acpi_numa_memory_affinity_init()