Lines Matching refs:gfp
224 struct page *__alloc_pages_noprof(gfp_t gfp, unsigned int order, int preferred_nid,
228 struct folio *__folio_alloc_noprof(gfp_t gfp, unsigned int order, int preferred_nid,
232 unsigned long alloc_pages_bulk_noprof(gfp_t gfp, int preferred_nid,
237 unsigned long alloc_pages_bulk_mempolicy_noprof(gfp_t gfp,
248 alloc_pages_bulk_node_noprof(gfp_t gfp, int nid, unsigned long nr_pages, in alloc_pages_bulk_node_noprof() argument
254 return alloc_pages_bulk_noprof(gfp, nid, NULL, nr_pages, page_array); in alloc_pages_bulk_node_noprof()
290 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof() argument
293 warn_if_node_offline(nid, gfp); in __folio_alloc_node_noprof()
295 return __folio_alloc_noprof(gfp, order, nid, NULL); in __folio_alloc_node_noprof()
317 struct page *alloc_pages_noprof(gfp_t gfp, unsigned int order);
318 struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order);
319 struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order,
321 struct folio *vma_alloc_folio_noprof(gfp_t gfp, int order, struct vm_area_struct *vma,
328 static inline struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order) in folio_alloc_noprof() argument
330 return __folio_alloc_node_noprof(gfp, order, numa_node_id()); in folio_alloc_noprof()
332 static inline struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, in folio_alloc_mpol_noprof() argument
335 return folio_alloc_noprof(gfp, order); in folio_alloc_mpol_noprof()
337 #define vma_alloc_folio_noprof(gfp, order, vma, addr) \ argument
338 folio_alloc_noprof(gfp, order)
348 static inline struct page *alloc_page_vma_noprof(gfp_t gfp, in alloc_page_vma_noprof() argument
351 struct folio *folio = vma_alloc_folio_noprof(gfp, 0, vma, addr); in alloc_page_vma_noprof()
409 static inline bool gfp_has_io_fs(gfp_t gfp) in gfp_has_io_fs() argument
411 return (gfp & (__GFP_IO | __GFP_FS)) == (__GFP_IO | __GFP_FS); in gfp_has_io_fs()
439 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument
444 if (WARN_ON(!order || !(gfp & __GFP_COMP))) in folio_alloc_gigantic_noprof()
447 page = alloc_contig_pages_noprof(1 << order, gfp, nid, node); in folio_alloc_gigantic_noprof()
452 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument