Home
last modified time | relevance | path

Searched refs:preferred_nid (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/
Dgfp.h177 struct page *__alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid,
179 struct folio *__folio_alloc(gfp_t gfp, unsigned int order, int preferred_nid,
182 unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid,
Dhugetlb.h704 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
1005 alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
/linux-6.1.9/mm/
Dpage_alloc.c5307 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() argument
5312 ac->zonelist = node_zonelist(preferred_nid, gfp_mask); in prepare_alloc_pages()
5369 unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid, in __alloc_pages_bulk() argument
5424 if (!prepare_alloc_pages(gfp, 0, preferred_nid, nodemask, &ac, &alloc_gfp, &alloc_flags)) in __alloc_pages_bulk()
5506 page = __alloc_pages(gfp, 0, preferred_nid, nodemask); in __alloc_pages_bulk()
5522 struct page *__alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid, in __alloc_pages() argument
5547 if (!prepare_alloc_pages(gfp, order, preferred_nid, nodemask, &ac, in __alloc_pages()
5587 struct folio *__folio_alloc(gfp_t gfp, unsigned int order, int preferred_nid, in __folio_alloc() argument
5591 preferred_nid, nodemask); in __folio_alloc()
Dmempolicy.c2173 int preferred_nid; in vma_alloc_folio() local
2246 preferred_nid = policy_node(gfp, pol, node); in vma_alloc_folio()
2247 folio = __folio_alloc(gfp, order, preferred_nid, nmask); in vma_alloc_folio()
Dhugetlb.c2473 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, in alloc_huge_page_nodemask() argument
2480 page = dequeue_huge_page_nodemask(h, gfp_mask, preferred_nid, nmask); in alloc_huge_page_nodemask()
2488 return alloc_migrate_huge_page(h, gfp_mask, preferred_nid, nmask); in alloc_huge_page_nodemask()