• Home
  • Raw
  • Download

Lines Matching refs:gfp_mask

1102 static struct page *dequeue_huge_page_nodemask(struct hstate *h, gfp_t gfp_mask, int nid,  in dequeue_huge_page_nodemask()  argument
1111 zonelist = node_zonelist(nid, gfp_mask); in dequeue_huge_page_nodemask()
1115 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nmask) { in dequeue_huge_page_nodemask()
1118 if (!cpuset_zone_allowed(zone, gfp_mask)) in dequeue_huge_page_nodemask()
1145 gfp_t gfp_mask; in dequeue_huge_page_vma() local
1162 gfp_mask = htlb_alloc_mask(h); in dequeue_huge_page_vma()
1163 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma()
1164 page = dequeue_huge_page_nodemask(h, gfp_mask, nid, nodemask); in dequeue_huge_page_vma()
1284 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page() argument
1304 if (!(gfp_mask & __GFP_THISNODE)) { in alloc_gigantic_page()
1319 return alloc_contig_pages(nr_pages, gfp_mask, nid, nodemask); in alloc_gigantic_page()
1323 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page() argument
1331 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page() argument
1652 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_huge_page() argument
1668 gfp_mask |= __GFP_COMP|__GFP_NOWARN; in alloc_buddy_huge_page()
1670 gfp_mask |= __GFP_RETRY_MAYFAIL; in alloc_buddy_huge_page()
1673 page = __alloc_pages_nodemask(gfp_mask, order, nid, nmask); in alloc_buddy_huge_page()
1703 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_fresh_huge_page() argument
1709 page = alloc_gigantic_page(h, gfp_mask, nid, nmask); in alloc_fresh_huge_page()
1711 page = alloc_buddy_huge_page(h, gfp_mask, in alloc_fresh_huge_page()
1732 gfp_t gfp_mask = htlb_alloc_mask(h) | __GFP_THISNODE; in alloc_pool_huge_page() local
1735 page = alloc_fresh_huge_page(h, gfp_mask, node, nodes_allowed, in alloc_pool_huge_page()
1888 static struct page *alloc_surplus_huge_page(struct hstate *h, gfp_t gfp_mask, in alloc_surplus_huge_page() argument
1901 page = alloc_fresh_huge_page(h, gfp_mask, nid, nmask, NULL); in alloc_surplus_huge_page()
1929 static struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask, in alloc_migrate_huge_page() argument
1937 page = alloc_fresh_huge_page(h, gfp_mask, nid, nmask, NULL); in alloc_migrate_huge_page()
1959 gfp_t gfp_mask = htlb_alloc_mask(h); in alloc_buddy_huge_page_with_mpol() local
1963 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol()
1964 page = alloc_surplus_huge_page(h, gfp_mask, nid, nodemask); in alloc_buddy_huge_page_with_mpol()
1972 nodemask_t *nmask, gfp_t gfp_mask) in alloc_huge_page_nodemask() argument
1978 page = dequeue_huge_page_nodemask(h, gfp_mask, preferred_nid, nmask); in alloc_huge_page_nodemask()
1986 return alloc_migrate_huge_page(h, gfp_mask, preferred_nid, nmask); in alloc_huge_page_nodemask()
1996 gfp_t gfp_mask; in alloc_huge_page_vma() local
1999 gfp_mask = htlb_alloc_mask(h); in alloc_huge_page_vma()
2000 node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in alloc_huge_page_vma()
2001 page = alloc_huge_page_nodemask(h, node, nodemask, gfp_mask); in alloc_huge_page_vma()
3425 gfp_t gfp_mask = htlb_alloc_mask(h); in allowed_mems_nr() local
3427 mpol_allowed = policy_nodemask_current(gfp_mask); in allowed_mems_nr()