Lines Matching refs:nr_nodes
1292 #define for_each_node_mask_to_alloc(hs, nr_nodes, node, mask) \ argument
1293 for (nr_nodes = nodes_weight(*mask); \
1294 nr_nodes > 0 && \
1296 nr_nodes--)
1298 #define for_each_node_mask_to_free(hs, nr_nodes, node, mask) \ argument
1299 for (nr_nodes = nodes_weight(*mask); \
1300 nr_nodes > 0 && \
1302 nr_nodes--)
1986 int nr_nodes, node; in alloc_pool_huge_page() local
1989 for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { in alloc_pool_huge_page()
2015 int nr_nodes, node; in remove_pool_huge_page() local
2019 for_each_node_mask_to_free(h, nr_nodes, node, nodes_allowed) { in remove_pool_huge_page()
2974 int nr_nodes, node; in __alloc_bootmem_huge_page() local
2987 for_each_node_mask_to_alloc(h, nr_nodes, node, &node_states[N_MEMORY]) { in __alloc_bootmem_huge_page()
3230 int nr_nodes, node; in adjust_pool_surplus() local
3236 for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { in adjust_pool_surplus()
3241 for_each_node_mask_to_free(h, nr_nodes, node, nodes_allowed) { in adjust_pool_surplus()
3470 int nr_nodes, node; in demote_pool_huge_page() local
3482 for_each_node_mask_to_free(h, nr_nodes, node, nodes_allowed) { in demote_pool_huge_page()