Lines Matching defs:node
42 /* maps to convert between proximity domain and logical node ID */
55 int node_to_pxm(int node)
57 if (node < 0)
59 return node_to_pxm_map[node];
62 void __acpi_map_pxm_to_node(int pxm, int node)
64 if (pxm_to_node_map[pxm] == NUMA_NO_NODE || node < pxm_to_node_map[pxm])
65 pxm_to_node_map[pxm] = node;
66 if (node_to_pxm_map[node] == PXM_INVAL || pxm < node_to_pxm_map[node])
67 node_to_pxm_map[node] = pxm;
72 int node = pxm_to_node_map[pxm];
74 if (node < 0) {
77 node = first_unset_node(nodes_found_map);
78 __acpi_map_pxm_to_node(pxm, node);
79 node_set(node, nodes_found_map);
82 return node;
154 * up the NUMA heuristics which wants the local node to have a smaller
316 int pxm, node = -1;
320 node = acpi_map_pxm_to_node(pxm);
322 return node;