Lines Matching defs:order
319 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
329 static inline bool _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
514 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex()
535 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local
547 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order()
570 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
582 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order()
601 int order, int migratetype) in compaction_capture()
638 int order, int migratetype) in compaction_capture()
663 unsigned int order, int migratetype, in __add_to_free_list()
689 unsigned int order, int old_mt, int new_mt) in move_to_free_list()
713 unsigned int order, int migratetype) in __del_page_from_free_list()
735 unsigned int order, int migratetype) in del_page_from_free_list()
758 struct page *page, unsigned int order) in buddy_merge_likely()
799 struct zone *zone, unsigned int order, in __free_one_page()
1172 unsigned int order) in free_pages_prepare()
1311 unsigned int order; in free_pcppages_bulk() local
1361 unsigned long pfn, int order, fpi_t fpi) in split_large_buddy()
1384 unsigned int order) in add_page_to_zone_llist()
1393 unsigned long pfn, unsigned int order, in free_one_page()
1428 static void __free_pages_ok(struct page *page, unsigned int order, in __free_pages_ok()
1438 void __meminit __free_pages_core(struct page *page, unsigned int order, in __free_pages_core()
1617 static inline bool check_new_pages(struct page *page, unsigned int order) in check_new_pages()
1659 inline void post_alloc_hook(struct page *page, unsigned int order, in post_alloc_hook()
1719 static void prep_new_page(struct page *page, unsigned int order, gfp_t gfp_flags, in prep_new_page()
1744 struct page *__rmqueue_smallest(struct zone *zone, unsigned int order, in __rmqueue_smallest()
1784 unsigned int order) in __rmqueue_cma_fallback()
1790 unsigned int order) { return NULL; } in __rmqueue_cma_fallback()
1802 unsigned int order; in __move_freepages_block() local
1897 int order = 0; in find_large_buddy() local
1953 int order = buddy_order(buddy); in move_freepages_block_isolate() local
1964 int order = buddy_order(page); in move_freepages_block_isolate() local
2033 static bool should_try_claim_block(unsigned int order, int start_mt) in should_try_claim_block()
2083 int find_suitable_fallback(struct free_area *area, unsigned int order, in find_suitable_fallback()
2117 int current_order, int order, int start_type, in try_to_claim_block()
2190 __rmqueue_claim(struct zone *zone, int order, int start_migratetype, in __rmqueue_claim()
2243 __rmqueue_steal(struct zone *zone, int order, int start_migratetype) in __rmqueue_steal()
2280 __rmqueue(struct zone *zone, unsigned int order, int migratetype, in __rmqueue()
2349 static int rmqueue_bulk(struct zone *zone, unsigned int order, in rmqueue_bulk()
2650 unsigned int order, fpi_t fpi_flags) in free_frozen_page_commit()
2707 static void __free_frozen_pages(struct page *page, unsigned int order, in __free_frozen_pages()
2757 void free_frozen_pages(struct page *page, unsigned int order) in free_frozen_pages()
2776 unsigned int order = folio_order(folio); in free_unref_folios() local
2800 unsigned int order = (unsigned long)folio->private; in free_unref_folios() local
2868 void split_page(struct page *page, unsigned int order) in split_page()
2883 int __isolate_free_page(struct page *page, unsigned int order) in __isolate_free_page()
2933 void __putback_isolated_page(struct page *page, unsigned int order, int mt) in __putback_isolated_page()
2973 unsigned int order, unsigned int alloc_flags, in rmqueue_buddy()
3017 static int nr_pcp_alloc(struct per_cpu_pages *pcp, struct zone *zone, int order) in nr_pcp_alloc()
3069 struct page *__rmqueue_pcplist(struct zone *zone, unsigned int order, in __rmqueue_pcplist()
3101 struct zone *zone, unsigned int order, in rmqueue_pcplist()
3148 struct zone *zone, unsigned int order, in rmqueue()
3181 static void reserve_highatomic_pageblock(struct page *page, int order, in reserve_highatomic_pageblock()
3241 int order; in unreserve_highatomic_pageblock() local
3313 unsigned int order, unsigned int alloc_flags) in __zone_watermark_unusable_free()
3339 bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, in __zone_watermark_ok()
3417 bool zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, in zone_watermark_ok()
3424 static inline bool zone_watermark_fast(struct zone *z, unsigned int order, in zone_watermark_fast()
3545 get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, in get_page_from_freelist()
3763 __alloc_pages_cpuset_fallback(gfp_t gfp_mask, unsigned int order, in __alloc_pages_cpuset_fallback()
3782 __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order, in __alloc_pages_may_oom()
3877 __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_compact()
3936 should_compact_retry(struct alloc_context *ac, int order, int alloc_flags, in should_compact_retry()
4002 __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_compact()
4011 should_compact_retry(struct alloc_context *ac, unsigned int order, int alloc_flags, in should_compact_retry()
4123 __perform_reclaim(gfp_t gfp_mask, unsigned int order, in __perform_reclaim()
4149 __alloc_pages_direct_reclaim(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_reclaim()
4182 static void wake_all_kswapds(unsigned int order, gfp_t gfp_mask, in wake_all_kswapds()
4208 gfp_to_alloc_flags(gfp_t gfp_mask, unsigned int order) in gfp_to_alloc_flags()
4312 should_reclaim_retry(gfp_t gfp_mask, unsigned order, in should_reclaim_retry()
4422 __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order, in __alloc_pages_slowpath()
4720 static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order, in prepare_alloc_pages()
4938 struct page *__alloc_frozen_pages_noprof(gfp_t gfp, unsigned int order, in __alloc_frozen_pages_noprof()
5003 struct page *__alloc_pages_noprof(gfp_t gfp, unsigned int order, in __alloc_pages_noprof()
5015 struct folio *__folio_alloc_noprof(gfp_t gfp, unsigned int order, int preferred_nid, in __folio_alloc_noprof()
5029 unsigned long get_free_pages_noprof(gfp_t gfp_mask, unsigned int order) in get_free_pages_noprof()
5067 static void ___free_pages(struct page *page, unsigned int order, in ___free_pages()
5084 void __free_pages(struct page *page, unsigned int order) in __free_pages()
5094 void free_pages_nolock(struct page *page, unsigned int order) in free_pages_nolock()
5099 void free_pages(unsigned long addr, unsigned int order) in free_pages()
5109 static void *make_alloc_exact(unsigned long addr, unsigned int order, in make_alloc_exact()
5147 unsigned int order = get_order(size); in alloc_pages_exact_noprof() local
5172 unsigned int order = get_order(size); in alloc_pages_exact_nid_noprof() local
6610 int order; in split_free_pages() local
6805 int order = ilog2(end - start); in alloc_contig_range_noprof() local
7005 unsigned int order; in __offline_isolated_pages() local
7051 unsigned int order; in is_free_buddy_page() local
7067 unsigned int order, int migratetype, in add_to_free_list()
7112 unsigned int order; in take_page_off_buddy() local
7199 static bool page_contains_unaccepted(struct page *page, unsigned int order) in page_contains_unaccepted()
7254 static bool cond_accept_memory(struct zone *zone, unsigned int order, in cond_accept_memory()
7313 static bool page_contains_unaccepted(struct page *page, unsigned int order) in page_contains_unaccepted()
7318 static bool cond_accept_memory(struct zone *zone, unsigned int order, in cond_accept_memory()
7346 struct page *try_alloc_pages_noprof(int nid, unsigned int order) in try_alloc_pages_noprof()