Searched refs:nr_nodes (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | hugetlb.c | 1037 #define for_each_node_mask_to_alloc(hs, nr_nodes, node, mask) \ argument 1038 for (nr_nodes = nodes_weight(*mask); \ 1039 nr_nodes > 0 && \ 1041 nr_nodes--) 1043 #define for_each_node_mask_to_free(hs, nr_nodes, node, mask) \ argument 1044 for (nr_nodes = nodes_weight(*mask); \ 1045 nr_nodes > 0 && \ 1047 nr_nodes--) 1535 int nr_nodes, node; in alloc_pool_huge_page() local 1538 for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { in alloc_pool_huge_page() [all …]
|
D | page_alloc.c | 5597 unsigned nr_nodes) in build_zonelists_in_node_order() argument 5604 for (i = 0; i < nr_nodes; i++) { in build_zonelists_in_node_order() 5641 int node, load, nr_nodes = 0; in build_zonelists() local 5662 node_order[nr_nodes++] = node; in build_zonelists() 5667 build_zonelists_in_node_order(pgdat, node_order, nr_nodes); in build_zonelists()
|