Lines Matching defs:nodemask
82 #include <linux/nodemask.h>
114 #define MPOL_MF_INVERT (MPOL_MF_INTERNAL << 1) /* Invert check for nodemask */
221 * mpol_set_nodemask is called after mpol_new() to set up the nodemask, if
282 * MPOL_F_RELATIVE_NODES if the nodemask is empty (local allocation).
283 * All other modes require a valid pointer to a non-empty nodemask.
354 * OOM/allocation failure due to parallel nodemask modification.
380 * Rebind each vma in mm to new nodemask.
743 * memory range specified by nodemask and maxnode points outside
899 * Return nodemask for policy for get_mempolicy() query
1860 * Return a nodemask representing a mempolicy for filtering nodes for
1867 /* Lower zones don't get a nodemask applied for MPOL_BIND */
1884 * secures the nodemask limit for 'bind' and 'prefer-many' policy.
1973 nodemask_t nodemask = pol->nodes;
1978 * The barrier will stabilize the nodemask in a register or on
1986 nnodes = nodes_weight(nodemask);
1990 nid = first_node(nodemask);
1992 nid = next_node(nid, nodemask);
2025 * @nodemask: pointer to nodemask pointer for 'bind' and 'prefer-many' policy
2030 * to the mempolicy's @nodemask for filtering the zonelist.
2035 struct mempolicy **mpol, nodemask_t **nodemask)
2041 *nodemask = NULL;
2050 *nodemask = &(*mpol)->nodes;
2059 * to indicate default policy. Otherwise, extract the policy nodemask
2060 * for 'bind' or 'interleave' policy into the argument nodemask, or
2061 * initialize the argument nodemask to contain the single node for
2069 * N.B., it is the caller's responsibility to free a returned nodemask.
2105 * the policy nodemask. Otherwise, return true for all other policies
2233 * node in its nodemask, we allocate the standard way.
2629 * use current page if in policy nodemask,
2809 goto free_scratch; /* no valid nodemask intersection */