Lines Matching refs:mpol
2018 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument
2023 *mpol = get_vma_policy(vma, addr); in huge_node()
2025 mode = (*mpol)->mode; in huge_node()
2028 nid = interleave_nid(*mpol, vma, addr, in huge_node()
2031 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
2033 *nodemask = &(*mpol)->nodes; in huge_node()
2774 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) in mpol_shared_policy_init() argument
2781 if (mpol) { in mpol_shared_policy_init()
2789 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); in mpol_shared_policy_init()
2794 ret = mpol_set_nodemask(new, &mpol->w.user_nodemask, scratch); in mpol_shared_policy_init()
2809 mpol_put(mpol); /* drop our incoming ref on sb mpol */ in mpol_shared_policy_init()
2988 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
3107 *mpol = new; in mpol_parse_str()