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,
224 /* Bulk allocate order-0 pages */
260 __alloc_pages_node_noprof(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node_noprof() argument
265 return __alloc_pages_noprof(gfp_mask, order, nid, NULL); in __alloc_pages_node_noprof()
271 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof() argument
276 return __folio_alloc_noprof(gfp, order, nid, NULL); in __folio_alloc_node_noprof()
287 unsigned int order) in alloc_pages_node_noprof() argument
292 return __alloc_pages_node_noprof(nid, gfp_mask, order); in alloc_pages_node_noprof()
298 struct page *alloc_pages_noprof(gfp_t gfp, unsigned int order);
299 struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order);
300 struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order,
302 struct folio *vma_alloc_folio_noprof(gfp_t gfp, int order, struct vm_area_struct *vma,
305 static inline struct page *alloc_pages_noprof(gfp_t gfp_mask, unsigned int order) in alloc_pages_noprof() argument
307 return alloc_pages_node_noprof(numa_node_id(), gfp_mask, order); in alloc_pages_noprof()
309 static inline struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order) in folio_alloc_noprof() argument
311 return __folio_alloc_node_noprof(gfp, order, numa_node_id()); in folio_alloc_noprof()
313 static inline struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, in folio_alloc_mpol_noprof() argument
316 return folio_alloc_noprof(gfp, order); in folio_alloc_mpol_noprof()
318 #define vma_alloc_folio_noprof(gfp, order, vma, addr) \ argument
319 folio_alloc_noprof(gfp, order)
338 extern unsigned long get_free_pages_noprof(gfp_t gfp_mask, unsigned int order);
356 #define __get_dma_pages(gfp_mask, order) \ argument
357 __get_free_pages((gfp_mask) | GFP_DMA, (order))
359 extern void __free_pages(struct page *page, unsigned int order);
360 extern void free_pages(unsigned long addr, unsigned int order);
416 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument
421 if (WARN_ON(!order || !(gfp & __GFP_COMP))) in folio_alloc_gigantic_noprof()
424 page = alloc_contig_pages_noprof(1 << order, gfp, nid, node); in folio_alloc_gigantic_noprof()
429 static inline struct folio *folio_alloc_gigantic_noprof(int order, gfp_t gfp, in folio_alloc_gigantic_noprof() argument