Lines Matching refs:nr_nodes
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()
1758 int nr_nodes, node; in free_pool_huge_page() local
1761 for_each_node_mask_to_free(h, nr_nodes, node, nodes_allowed) { in free_pool_huge_page()
2454 int nr_nodes, node; in __alloc_bootmem_huge_page() local
2456 for_each_node_mask_to_alloc(h, nr_nodes, node, &node_states[N_MEMORY]) { in __alloc_bootmem_huge_page()
2628 int nr_nodes, node; in adjust_pool_surplus() local
2633 for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { in adjust_pool_surplus()
2638 for_each_node_mask_to_free(h, nr_nodes, node, nodes_allowed) { in adjust_pool_surplus()