Lines Matching refs:gfp
1680 static nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *policy) in policy_nodemask() argument
1684 apply_policy_zone(policy, gfp_zone(gfp)) && in policy_nodemask()
1692 static struct zonelist *policy_zonelist(gfp_t gfp, struct mempolicy *policy, in policy_zonelist() argument
1707 if (unlikely(gfp & __GFP_THISNODE) && in policy_zonelist()
1714 return node_zonelist(nd, gfp); in policy_zonelist()
1967 static struct page *alloc_page_interleave(gfp_t gfp, unsigned order, in alloc_page_interleave() argument
1973 zl = node_zonelist(nid, gfp); in alloc_page_interleave()
1974 page = __alloc_pages(gfp, order, zl); in alloc_page_interleave()
2004 alloc_pages_vma(gfp_t gfp, int order, struct vm_area_struct *vma, in alloc_pages_vma() argument
2020 page = alloc_page_interleave(gfp, order, nid); in alloc_pages_vma()
2026 page = __alloc_pages_nodemask(gfp, order, in alloc_pages_vma()
2027 policy_zonelist(gfp, pol, node), in alloc_pages_vma()
2028 policy_nodemask(gfp, pol)); in alloc_pages_vma()
2054 struct page *alloc_pages_current(gfp_t gfp, unsigned order) in alloc_pages_current() argument
2060 if (!in_interrupt() && !(gfp & __GFP_THISNODE)) in alloc_pages_current()
2071 page = alloc_page_interleave(gfp, order, interleave_nodes(pol)); in alloc_pages_current()
2073 page = __alloc_pages_nodemask(gfp, order, in alloc_pages_current()
2074 policy_zonelist(gfp, pol, numa_node_id()), in alloc_pages_current()
2075 policy_nodemask(gfp, pol)); in alloc_pages_current()