Searched refs:nodes_allowed (Results 1 – 3 of 3) sorted by relevance
| /linux/mm/ |
| H A D | hugetlb_internal.h | 31 static inline int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() argument 33 nid = next_node_in(nid, *nodes_allowed); in next_node_allowed() 39 static inline int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() argument 41 if (!node_isset(nid, *nodes_allowed)) in get_valid_node_allowed() 42 nid = next_node_allowed(nid, nodes_allowed); in get_valid_node_allowed() 53 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc() argument 57 VM_BUG_ON(!nodes_allowed); in hstate_next_node_to_alloc() 59 nid = get_valid_node_allowed(*next_node, nodes_allowed); in hstate_next_node_to_alloc() 60 *next_node = next_node_allowed(nid, nodes_allowed); in hstate_next_node_to_alloc() 71 static inline int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free() argument [all …]
|
| H A D | hugetlb_sysfs.c | 186 nodemask_t nodes_allowed, *n_mask; in demote_store() local 197 init_nodemask_of_node(&nodes_allowed, nid); in demote_store() 198 n_mask = &nodes_allowed; in demote_store()
|
| H A D | hugetlb.c | 1978 nodemask_t *nodes_allowed, in alloc_pool_huge_folio() argument 1985 for_each_node_mask_to_alloc(next_node, nr_nodes, node, nodes_allowed) { in alloc_pool_huge_folio() 1989 nodes_allowed, node_alloc_noretry); in alloc_pool_huge_folio() 2005 nodemask_t *nodes_allowed, bool acct_surplus) in remove_pool_hugetlb_folio() argument 2011 for_each_node_mask_to_free(h, nr_nodes, node, nodes_allowed) { in remove_pool_hugetlb_folio() 3692 nodemask_t *nodes_allowed) in try_to_free_low() argument 3704 for_each_node_mask(i, *nodes_allowed) { in try_to_free_low() 3724 nodemask_t *nodes_allowed) in try_to_free_low() argument 3734 static int adjust_pool_surplus(struct hstate *h, nodemask_t *nodes_allowed, in adjust_pool_surplus() argument 3743 for_each_node_mask_to_alloc(&h->next_nid_to_alloc, nr_nodes, node, nodes_allowed) { in adjust_pool_surplus() [all …]
|