Searched refs:nr_nodes (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | hugetlb.c | 1236 #define for_each_node_mask_to_alloc(hs, nr_nodes, node, mask) \ argument 1237 for (nr_nodes = nodes_weight(*mask); \ 1238 nr_nodes > 0 && \ 1240 nr_nodes--) 1242 #define for_each_node_mask_to_free(hs, nr_nodes, node, mask) \ argument 1243 for (nr_nodes = nodes_weight(*mask); \ 1244 nr_nodes > 0 && \ 1246 nr_nodes--) 1731 int nr_nodes, node; in alloc_pool_huge_page() local 1734 for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { in alloc_pool_huge_page() [all …]
|
D | page_alloc.c | 6029 unsigned nr_nodes) in build_zonelists_in_node_order() argument 6036 for (i = 0; i < nr_nodes; i++) { in build_zonelists_in_node_order() 6073 int node, load, nr_nodes = 0; in build_zonelists() local 6093 node_order[nr_nodes++] = node; in build_zonelists() 6098 build_zonelists_in_node_order(pgdat, node_order, nr_nodes); in build_zonelists()
|