Searched refs:mpol_new (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/mm/ |
D | mempolicy.c | 258 static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags, in mpol_new() function 853 new = mpol_new(mode, flags, nodes); in do_set_mempolicy() 1279 new = mpol_new(mode, mode_flags, nmask); in do_mbind() 2514 struct mempolicy *mpol_new = NULL; in shared_policy_replace() local 2534 *mpol_new = *n->policy; in shared_policy_replace() 2535 atomic_set(&mpol_new->refcnt, 1); in shared_policy_replace() 2536 sp_node_init(n_new, end, n->end, mpol_new); in shared_policy_replace() 2540 mpol_new = NULL; in shared_policy_replace() 2555 if (mpol_new) in shared_policy_replace() 2556 mpol_put(mpol_new); in shared_policy_replace() [all …]
|