Lines Matching refs:mpol
1214 struct mempolicy *mpol; in dequeue_huge_page_vma() local
1232 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma()
1234 if (mpol_is_preferred_many(mpol)) { in dequeue_huge_page_vma()
1249 mpol_cond_put(mpol); in dequeue_huge_page_vma()
2302 struct mempolicy *mpol; in alloc_buddy_huge_page_with_mpol() local
2307 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol()
2308 if (mpol_is_preferred_many(mpol)) { in alloc_buddy_huge_page_with_mpol()
2320 mpol_cond_put(mpol); in alloc_buddy_huge_page_with_mpol()
2347 struct mempolicy *mpol; in alloc_huge_page_vma() local
2354 node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in alloc_huge_page_vma()
2356 mpol_cond_put(mpol); in alloc_huge_page_vma()
4361 struct mempolicy *mpol = get_task_policy(current); in policy_mbind_nodemask() local
4367 if (mpol->mode == MPOL_BIND && in policy_mbind_nodemask()
4368 (apply_policy_zone(mpol, gfp_zone(gfp)) && in policy_mbind_nodemask()
4369 cpuset_nodemask_valid_mems_allowed(&mpol->nodes))) in policy_mbind_nodemask()
4370 return &mpol->nodes; in policy_mbind_nodemask()