Lines Matching refs:gfp
205 struct page *__alloc_pages_noprof(gfp_t gfp, unsigned int order, int preferred_nid,
209 struct folio *__folio_alloc_noprof(gfp_t gfp, unsigned int order, int preferred_nid,
213 unsigned long alloc_pages_bulk_noprof(gfp_t gfp, int preferred_nid,
219 unsigned long alloc_pages_bulk_array_mempolicy_noprof(gfp_t gfp,
233 alloc_pages_bulk_array_node_noprof(gfp_t gfp, int nid, unsigned long nr_pages, in alloc_pages_bulk_array_node_noprof() argument
239 return alloc_pages_bulk_noprof(gfp, nid, NULL, nr_pages, NULL, page_array); in alloc_pages_bulk_array_node_noprof()
275 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof() argument
278 warn_if_node_offline(nid, gfp); in __folio_alloc_node_noprof()
280 return __folio_alloc_noprof(gfp, order, nid, NULL); in __folio_alloc_node_noprof()
302 struct page *alloc_pages_noprof(gfp_t gfp, unsigned int order);
303 struct page *alloc_pages_mpol_noprof(gfp_t gfp, unsigned int order,
305 struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order);
306 struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order,
308 struct folio *vma_alloc_folio_noprof(gfp_t gfp, int order, struct vm_area_struct *vma,
315 static inline struct page *alloc_pages_mpol_noprof(gfp_t gfp, unsigned int order, in alloc_pages_mpol_noprof() argument
318 return alloc_pages_noprof(gfp, order); in alloc_pages_mpol_noprof()
320 static inline struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order) in folio_alloc_noprof() argument
322 return __folio_alloc_node_noprof(gfp, order, numa_node_id()); in folio_alloc_noprof()
324 static inline struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, in folio_alloc_mpol_noprof() argument
327 return folio_alloc_noprof(gfp, order); in folio_alloc_mpol_noprof()
329 #define vma_alloc_folio_noprof(gfp, order, vma, addr, hugepage) \ argument
330 folio_alloc_noprof(gfp, order)
341 static inline struct page *alloc_page_vma_noprof(gfp_t gfp, in alloc_page_vma_noprof() argument
344 struct folio *folio = vma_alloc_folio_noprof(gfp, 0, vma, addr, false); in alloc_page_vma_noprof()
420 static inline bool gfp_has_io_fs(gfp_t gfp) in gfp_has_io_fs() argument
422 return (gfp & (__GFP_IO | __GFP_FS)) == (__GFP_IO | __GFP_FS); in gfp_has_io_fs()
453 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument
458 if (WARN_ON(!order || !(gfp & __GFP_COMP))) in folio_alloc_gigantic_noprof()
461 page = alloc_contig_pages_noprof(1 << order, gfp, nid, node); in folio_alloc_gigantic_noprof()
466 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument