Searched refs:mpol_new (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/mm/
H A Dmempolicy.c206 * mpol_set_nodemask is called after mpol_new() to set up the nodemask, if
207 * any, for the new policy. mpol_new() has already validated the nodes
253 static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags, mpol_new() function
766 new = mpol_new(mode, flags, nodes); do_set_mempolicy()
1167 new = mpol_new(mode, mode_flags, nmask); do_mbind()
2362 struct mempolicy *mpol_new = NULL; shared_policy_replace() local
2382 *mpol_new = *n->policy; shared_policy_replace()
2383 atomic_set(&mpol_new->refcnt, 1); shared_policy_replace()
2384 sp_node_init(n_new, end, n->end, mpol_new); shared_policy_replace()
2388 mpol_new = NULL; shared_policy_replace()
2403 if (mpol_new) shared_policy_replace()
2404 mpol_put(mpol_new); shared_policy_replace()
2416 mpol_new = kmem_cache_alloc(policy_cache, GFP_KERNEL); shared_policy_replace()
2417 if (!mpol_new) shared_policy_replace()
2447 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); mpol_shared_policy_init()
2703 * Don't allow a nodelist; mpol_new() checks flags mpol_parse_str()
2738 new = mpol_new(mode, mode_flags, &nodes); mpol_parse_str()

Completed in 103 milliseconds