Searched refs:preferred_nid (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/include/linux/ |
D | gfp.h | 177 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,
|
D | hugetlb.h | 749 struct folio *alloc_hugetlb_folio_nodemask(struct hstate *h, int preferred_nid, 1057 alloc_hugetlb_folio_nodemask(struct hstate *h, int preferred_nid,
|
/linux-6.6.21/mm/ |
D | page_alloc.c | 4176 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() argument 4181 ac->zonelist = node_zonelist(preferred_nid, gfp_mask); in prepare_alloc_pages() 4238 unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid, in __alloc_pages_bulk() argument 4292 if (!prepare_alloc_pages(gfp, 0, preferred_nid, nodemask, &ac, &alloc_gfp, &alloc_flags)) in __alloc_pages_bulk() 4374 page = __alloc_pages(gfp, 0, preferred_nid, nodemask); in __alloc_pages_bulk() 4390 struct page *__alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid, in __alloc_pages() argument 4415 if (!prepare_alloc_pages(gfp, order, preferred_nid, nodemask, &ac, in __alloc_pages() 4455 struct folio *__folio_alloc(gfp_t gfp, unsigned int order, int preferred_nid, in __folio_alloc() argument 4459 preferred_nid, nodemask); in __folio_alloc()
|
D | mempolicy.c | 2190 int preferred_nid; in vma_alloc_folio() local 2263 preferred_nid = policy_node(gfp, pol, node); in vma_alloc_folio() 2264 folio = __folio_alloc(gfp, order, preferred_nid, nmask); in vma_alloc_folio()
|
D | hugetlb.c | 2502 struct folio *alloc_hugetlb_folio_nodemask(struct hstate *h, int preferred_nid, in alloc_hugetlb_folio_nodemask() argument 2510 preferred_nid, nmask); in alloc_hugetlb_folio_nodemask() 2518 return alloc_migrate_hugetlb_folio(h, gfp_mask, preferred_nid, nmask); in alloc_hugetlb_folio_nodemask()
|