Lines Matching refs:mpol
1935 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument
1940 *mpol = get_vma_policy(vma, addr); in huge_node()
1942 mode = (*mpol)->mode; in huge_node()
1945 nid = interleave_nid(*mpol, vma, addr, in huge_node()
1948 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
1950 *nodemask = &(*mpol)->nodes; in huge_node()
2675 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) in mpol_shared_policy_init() argument
2682 if (mpol) { in mpol_shared_policy_init()
2690 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); in mpol_shared_policy_init()
2695 ret = mpol_set_nodemask(new, &mpol->w.user_nodemask, scratch); in mpol_shared_policy_init()
2710 mpol_put(mpol); /* drop our incoming ref on sb mpol */ in mpol_shared_policy_init()
2889 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
3008 *mpol = new; in mpol_parse_str()