Lines Matching full:order

66  * The zone fallback order is MOVABLE=>HIGHMEM=>NORMAL=>DMA32=>DMA.
199 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page() argument
202 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page() argument
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,
225 /* Bulk allocate order-0 pages */
264 __alloc_pages_node_noprof(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node_noprof() argument
269 return __alloc_pages_noprof(gfp_mask, order, nid, NULL); in __alloc_pages_node_noprof()
275 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof() argument
280 return __folio_alloc_noprof(gfp, order, nid, NULL); in __folio_alloc_node_noprof()
291 unsigned int order) in alloc_pages_node_noprof() argument
296 return __alloc_pages_node_noprof(nid, gfp_mask, order); in alloc_pages_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,
311 static inline struct page *alloc_pages_noprof(gfp_t gfp_mask, unsigned int order) in alloc_pages_noprof() argument
313 return alloc_pages_node_noprof(numa_node_id(), gfp_mask, order); in alloc_pages_noprof()
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)
350 extern unsigned long get_free_pages_noprof(gfp_t gfp_mask, unsigned int order);
368 #define __get_dma_pages(gfp_mask, order) \ argument
369 __get_free_pages((gfp_mask) | GFP_DMA, (order))
371 extern void __free_pages(struct page *page, unsigned int order);
372 extern void free_pages(unsigned long addr, unsigned int order);
450 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument
455 if (WARN_ON(!order || !(gfp & __GFP_COMP))) in folio_alloc_gigantic_noprof()
458 page = alloc_contig_pages_noprof(1 << order, gfp, nid, node); in folio_alloc_gigantic_noprof()
463 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument