• Home
  • Raw
  • Download

Lines Matching refs:node

1484 static inline bool __meminit early_pfn_in_nid(unsigned long pfn, int node)  in early_pfn_in_nid()  argument
1489 if (nid >= 0 && nid != node) in early_pfn_in_nid()
1495 static inline bool __meminit early_pfn_in_nid(unsigned long pfn, int node) in early_pfn_in_nid() argument
5544 static int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() argument
5552 if (!node_isset(node, *used_node_mask)) { in find_next_best_node()
5553 node_set(node, *used_node_mask); in find_next_best_node()
5554 return node; in find_next_best_node()
5564 val = node_distance(node, n); in find_next_best_node()
5567 val += (n < node); in find_next_best_node()
5607 pg_data_t *node = NODE_DATA(node_order[i]); in build_zonelists_in_node_order() local
5609 nr_zones = build_zonerefs_node(node, zonerefs); in build_zonelists_in_node_order()
5641 int node, load, nr_nodes = 0; in build_zonelists() local
5652 while ((node = find_next_best_node(local_node, &used_mask)) >= 0) { in build_zonelists()
5658 if (node_distance(local_node, node) != in build_zonelists()
5660 node_load[node] = load; in build_zonelists()
5662 node_order[nr_nodes++] = node; in build_zonelists()
5663 prev_node = node; in build_zonelists()
5678 int local_memory_node(int node) in local_memory_node() argument
5682 z = first_zones_zonelist(node_zonelist(node, GFP_KERNEL), in local_memory_node()
5695 int node, local_node; in build_zonelists() local
5713 for (node = local_node + 1; node < MAX_NUMNODES; node++) { in build_zonelists()
5714 if (!node_online(node)) in build_zonelists()
5716 nr_zones = build_zonerefs_node(NODE_DATA(node), zonerefs); in build_zonelists()
5719 for (node = 0; node < local_node; node++) { in build_zonelists()
5720 if (!node_online(node)) in build_zonelists()
5722 nr_zones = build_zonerefs_node(NODE_DATA(node), zonerefs); in build_zonelists()