Searched refs:nodes_allowed (Results 1 – 2 of 2) 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()
|