Lines Matching refs:mpol
1362 struct mempolicy *mpol; in dequeue_huge_page_vma() local
1380 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma()
1382 if (mpol_is_preferred_many(mpol)) { in dequeue_huge_page_vma()
1397 mpol_cond_put(mpol); in dequeue_huge_page_vma()
2450 struct mempolicy *mpol; in alloc_buddy_huge_page_with_mpol() local
2455 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol()
2456 if (mpol_is_preferred_many(mpol)) { in alloc_buddy_huge_page_with_mpol()
2468 mpol_cond_put(mpol); in alloc_buddy_huge_page_with_mpol()
2495 struct mempolicy *mpol; in alloc_huge_page_vma() local
2502 node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in alloc_huge_page_vma()
2504 mpol_cond_put(mpol); in alloc_huge_page_vma()
4509 struct mempolicy *mpol = get_task_policy(current); in policy_mbind_nodemask() local
4515 if (mpol->mode == MPOL_BIND && in policy_mbind_nodemask()
4516 (apply_policy_zone(mpol, gfp_zone(gfp)) && in policy_mbind_nodemask()
4517 cpuset_nodemask_valid_mems_allowed(&mpol->nodes))) in policy_mbind_nodemask()
4518 return &mpol->nodes; in policy_mbind_nodemask()