Lines Matching refs:nid
25 u32 nid; in of_numa_parse_cpu_nodes() local
30 r = of_property_read_u32(np, "numa-node-id", &nid); in of_numa_parse_cpu_nodes()
34 pr_debug("CPU on %u\n", nid); in of_numa_parse_cpu_nodes()
35 if (nid >= MAX_NUMNODES) in of_numa_parse_cpu_nodes()
36 pr_warn("Node id %u exceeds maximum value\n", nid); in of_numa_parse_cpu_nodes()
38 node_set(nid, numa_nodes_parsed); in of_numa_parse_cpu_nodes()
46 u32 nid; in of_numa_parse_memory_nodes() local
50 r = of_property_read_u32(np, "numa-node-id", &nid); in of_numa_parse_memory_nodes()
59 if (nid >= MAX_NUMNODES) { in of_numa_parse_memory_nodes()
60 pr_warn("Node id %u exceeds maximum value\n", nid); in of_numa_parse_memory_nodes()
65 r = numa_add_memblk(nid, rsrc.start, rsrc.end + 1); in of_numa_parse_memory_nodes()
143 u32 nid; in of_node_to_nid() local
149 r = of_property_read_u32(np, "numa-node-id", &nid); in of_node_to_nid()
171 if (!r && nid < MAX_NUMNODES && node_possible(nid)) in of_node_to_nid()
172 return nid; in of_node_to_nid()