Lines Matching defs:order
331 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
520 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex()
536 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local
548 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order()
559 static inline void free_the_page(struct page *page, unsigned int order) in free_the_page()
579 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
605 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order()
624 int order, int migratetype) in compaction_capture()
655 int order, int migratetype) in compaction_capture()
663 unsigned int order, int migratetype) in add_to_free_list()
673 unsigned int order, int migratetype) in add_to_free_list_tail()
687 unsigned int order, int migratetype) in move_to_free_list()
695 unsigned int order) in del_page_from_free_list()
724 struct page *page, unsigned int order) in buddy_merge_likely()
765 struct zone *zone, unsigned int order, in __free_one_page()
858 unsigned int order, unsigned long split_pfn_offset) in split_free_page()
1076 unsigned int order, fpi_t fpi_flags) in free_pages_prepare()
1188 unsigned int order; in free_pcppages_bulk() local
1244 unsigned int order, in free_one_page()
1258 static void __free_pages_ok(struct page *page, unsigned int order, in __free_pages_ok()
1287 void __free_pages_core(struct page *page, unsigned int order) in __free_pages_core()
1438 static inline bool check_new_pages(struct page *page, unsigned int order) in check_new_pages()
1480 inline void post_alloc_hook(struct page *page, unsigned int order, in post_alloc_hook()
1540 static void prep_new_page(struct page *page, unsigned int order, gfp_t gfp_flags, in prep_new_page()
1565 struct page *__rmqueue_smallest(struct zone *zone, unsigned int order, in __rmqueue_smallest()
1605 unsigned int order) in __rmqueue_cma_fallback()
1611 unsigned int order) { return NULL; } in __rmqueue_cma_fallback()
1625 unsigned int order; in move_freepages() local
1701 static bool can_steal_fallback(unsigned int order, int start_mt) in can_steal_fallback()
1848 int find_suitable_fallback(struct free_area *area, unsigned int order, in find_suitable_fallback()
1929 int order; in unreserve_highatomic_pageblock() local
2004 __rmqueue_fallback(struct zone *zone, int order, int start_migratetype, in __rmqueue_fallback()
2086 __rmqueue(struct zone *zone, unsigned int order, int migratetype, in __rmqueue()
2123 static int rmqueue_bulk(struct zone *zone, unsigned int order, in rmqueue_bulk()
2308 unsigned int order) in free_unref_page_prepare()
2369 unsigned int order) in free_unref_page_commit()
2397 void free_unref_page(struct page *page, unsigned int order) in free_unref_page()
2529 void split_page(struct page *page, unsigned int order) in split_page()
2543 int __isolate_free_page(struct page *page, unsigned int order) in __isolate_free_page()
2595 void __putback_isolated_page(struct page *page, unsigned int order, int mt) in __putback_isolated_page()
2635 unsigned int order, unsigned int alloc_flags, in rmqueue_buddy()
2676 struct page *__rmqueue_pcplist(struct zone *zone, unsigned int order, in __rmqueue_pcplist()
2717 struct zone *zone, unsigned int order, in rmqueue_pcplist()
2764 struct zone *zone, unsigned int order, in rmqueue()
2798 noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in should_fail_alloc_page()
2805 unsigned int order, unsigned int alloc_flags) in __zone_watermark_unusable_free()
2835 bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, in __zone_watermark_ok()
2913 bool zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, in zone_watermark_ok()
2920 static inline bool zone_watermark_fast(struct zone *z, unsigned int order, in zone_watermark_fast()
2965 bool zone_watermark_ok_safe(struct zone *z, unsigned int order, in zone_watermark_ok_safe()
3048 get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, in get_page_from_freelist()
3253 __alloc_pages_cpuset_fallback(gfp_t gfp_mask, unsigned int order, in __alloc_pages_cpuset_fallback()
3273 __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order, in __alloc_pages_may_oom()
3368 __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_compact()
3427 should_compact_retry(struct alloc_context *ac, int order, int alloc_flags, in should_compact_retry()
3493 __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_compact()
3502 should_compact_retry(struct alloc_context *ac, unsigned int order, int alloc_flags, in should_compact_retry()
3614 __perform_reclaim(gfp_t gfp_mask, unsigned int order, in __perform_reclaim()
3640 __alloc_pages_direct_reclaim(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_reclaim()
3673 static void wake_all_kswapds(unsigned int order, gfp_t gfp_mask, in wake_all_kswapds()
3693 gfp_to_alloc_flags(gfp_t gfp_mask, unsigned int order) in gfp_to_alloc_flags()
3794 should_reclaim_retry(gfp_t gfp_mask, unsigned order, in should_reclaim_retry()
3899 __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order, in __alloc_pages_slowpath()
4175 static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order, in prepare_alloc_pages()
4390 struct page *__alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid, in __alloc_pages()
4455 struct folio *__folio_alloc(gfp_t gfp, unsigned int order, int preferred_nid, in __folio_alloc()
4473 unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order) in __get_free_pages()
4510 void __free_pages(struct page *page, unsigned int order) in __free_pages()
4523 void free_pages(unsigned long addr, unsigned int order) in free_pages()
4659 static void *make_alloc_exact(unsigned long addr, unsigned int order, in make_alloc_exact()
4696 unsigned int order = get_order(size); in alloc_pages_exact() local
4721 unsigned int order = get_order(size); in alloc_pages_exact_nid() local
6113 int order; in alloc_contig_range() local
6398 unsigned int order; in __offline_isolated_pages() local
6441 unsigned int order; in is_free_buddy_page() local
6498 unsigned int order; in take_page_off_buddy() local
6588 static bool page_contains_unaccepted(struct page *page, unsigned int order) in page_contains_unaccepted()
6596 static void accept_page(struct page *page, unsigned int order) in accept_page()
6637 static bool try_to_accept_memory(struct zone *zone, unsigned int order) in try_to_accept_memory()
6687 static bool page_contains_unaccepted(struct page *page, unsigned int order) in page_contains_unaccepted()
6692 static void accept_page(struct page *page, unsigned int order) in accept_page()
6696 static bool try_to_accept_memory(struct zone *zone, unsigned int order) in try_to_accept_memory()