Home
last modified time | relevance | path

Searched defs:order (Results 1 – 25 of 25) sorted by relevance

/mm/
Dcompaction.c48 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument
49 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument
71 unsigned int i, order, nr_pages; in split_map_pages() local
142 void defer_compaction(struct zone *zone, int order) in defer_compaction()
157 bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
181 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset()
195 bool compaction_restarting(struct zone *zone, int order) in compaction_restarting()
547 unsigned int order; in isolate_freepages_block() local
581 const unsigned int order = compound_order(page); in isolate_freepages_block() local
903 const unsigned int order = compound_order(page); in isolate_migratepages_block() local
[all …]
Dpage_alloc.c395 static inline void kasan_free_nondeferred_pages(struct page *page, int order) in kasan_free_nondeferred_pages()
689 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
751 unsigned int order, int migratetype) in set_page_guard()
769 unsigned int order, int migratetype) in clear_page_guard()
782 unsigned int order, int migratetype) { return false; } in set_page_guard()
784 unsigned int order, int migratetype) {} in clear_page_guard()
787 static inline void set_page_order(struct page *page, unsigned int order) in set_page_order()
807 unsigned int order) in page_is_buddy()
848 int order, int migratetype) in compaction_capture()
879 int order, int migratetype) in compaction_capture()
[all …]
Dpage_owner.c23 unsigned short order; member
142 void __reset_page_owner(struct page *page, unsigned int order) in __reset_page_owner()
164 unsigned int order, gfp_t gfp_mask) in __set_page_owner_handle()
182 noinline void __set_page_owner(struct page *page, unsigned int order, in __set_page_owner()
207 void __split_page_owner(struct page *page, unsigned int order) in __split_page_owner()
588 unsigned long order = page_order_unsafe(page); in init_pages_in_zone() local
Dshuffle.h40 static inline bool is_shuffle_order(int order) in is_shuffle_order()
59 static inline bool is_shuffle_order(int order) in is_shuffle_order()
Dmempool.c66 int order = (int)(long)pool->pool_data; in check_element() local
90 int order = (int)(long)pool->pool_data; in poison_element() local
547 int order = (int)(long)pool_data; in mempool_alloc_pages() local
554 int order = (int)(long)pool_data; in mempool_free_pages() local
Dslab.h348 gfp_t gfp, int order, in memcg_charge_slab()
387 static __always_inline void memcg_uncharge_slab(struct page *page, int order, in memcg_uncharge_slab()
446 static inline int memcg_charge_slab(struct page *page, gfp_t gfp, int order, in memcg_charge_slab()
452 static inline void memcg_uncharge_slab(struct page *page, int order, in memcg_uncharge_slab()
480 gfp_t gfp, int order, in charge_slab_page()
492 static __always_inline void uncharge_slab_page(struct page *page, int order, in uncharge_slab_page()
Dslob.c191 static void *slob_new_pages(gfp_t gfp, int order, int node) in slob_new_pages()
210 static void slob_free_pages(void *b, int order) in slob_free_pages()
503 unsigned int order = get_order(size); in __do_kmalloc_node() local
552 unsigned int order = compound_order(sp); in kfree() local
Dshuffle.c61 static struct page * __meminit shuffle_valid_page(unsigned long pfn, int order) in shuffle_valid_page()
110 const int order = SHUFFLE_ORDER; in __shuffle_zone() local
Dvmstat.c1024 unsigned int order; in fill_contig_page_info() local
1054 static int __fragmentation_index(unsigned int order, struct contig_page_info *info) in __fragmentation_index()
1078 int fragmentation_index(struct zone *zone, unsigned int order) in fragmentation_index()
1357 int order; in frag_show_print() local
1378 int order, mtype; in pagetypeinfo_showfree_print() local
1420 int order; in pagetypeinfo_showfree() local
2007 static int unusable_free_index(unsigned int order, in unusable_free_index()
2028 unsigned int order; in unusable_show_print() local
2088 unsigned int order; in extfrag_show_print() local
Dvmscan.c105 s8 order; member
3261 unsigned long try_to_free_pages(struct zonelist *zonelist, int order, in try_to_free_pages()
3443 static bool pgdat_balanced(pg_data_t *pgdat, int order, int classzone_idx) in pgdat_balanced()
3489 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, int classzone_idx) in prepare_kswapd_sleep()
3575 static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx) in balance_pgdat()
3973 void wakeup_kswapd(struct zone *zone, gfp_t gfp_flags, int order, in wakeup_kswapd()
4206 static int __node_reclaim(struct pglist_data *pgdat, gfp_t gfp_mask, unsigned int order) in __node_reclaim()
4257 int node_reclaim(struct pglist_data *pgdat, gfp_t gfp_mask, unsigned int order) in node_reclaim()
Dinternal.h142 __find_buddy_pfn(unsigned long page_pfn, unsigned int order) in __find_buddy_pfn()
194 int order; /* order a direct compactor needs */ member
480 unsigned int order) in node_reclaim()
Dhugetlb.c1051 unsigned int order) in destroy_compound_gigantic_page()
1067 static void free_gigantic_page(struct page *page, unsigned int order) in free_gigantic_page()
1118 unsigned int order = huge_page_order(h); in alloc_gigantic_page() local
1170 static inline void free_gigantic_page(struct page *page, unsigned int order) { } in free_gigantic_page()
1172 unsigned int order) { } in destroy_compound_gigantic_page()
1381 static void prep_compound_gigantic_page(struct page *page, unsigned int order) in prep_compound_gigantic_page()
1459 int order = huge_page_order(h); in alloc_buddy_huge_page() local
2252 unsigned int order) in prep_compound_huge_page()
2997 void __init hugetlb_add_hstate(unsigned int order) in hugetlb_add_hstate()
Dslub.c324 static inline unsigned int order_objects(unsigned int order, unsigned int size) in order_objects()
329 static inline struct kmem_cache_order_objects oo_make(unsigned int order, in oo_make()
1492 unsigned int order = oo_order(oo); in alloc_slab_page() local
1712 int order = compound_order(page); in __free_slab() local
3251 unsigned int order; in slab_order() local
3273 unsigned int order; in calculate_order() local
3496 unsigned int order; in calculate_sizes() local
3813 unsigned int order = get_order(size); in kmalloc_large_node() local
3947 unsigned int order = compound_order(page); in kfree() local
4503 int order; in alloc_loc_track() local
[all …]
Dpage_isolation.c95 unsigned int order; in unset_migratetype_isolate() local
Dmemory_hotplug.c599 static void generic_online_page(struct page *page, unsigned int order) in generic_online_page()
615 int order; in online_pages_range() local
1153 int order; in next_active_pageblock() local
Dsparse-vmemmap.c54 int order = get_order(size); in vmemmap_alloc_block() local
Dslab_common.c1311 void *kmalloc_order(size_t size, gfp_t flags, unsigned int order) in kmalloc_order()
1331 void *kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) in kmalloc_order_trace()
Dmempolicy.c2058 static struct page *alloc_page_interleave(gfp_t gfp, unsigned order, in alloc_page_interleave()
2099 alloc_pages_vma(gfp_t gfp, int order, struct vm_area_struct *vma, in alloc_pages_vma()
2178 struct page *alloc_pages_current(gfp_t gfp, unsigned order) in alloc_pages_current()
Dmemcontrol.c1576 int order) in mem_cgroup_out_of_memory()
1878 static enum oom_status mem_cgroup_oom(struct mem_cgroup *memcg, gfp_t mask, int order) in mem_cgroup_oom()
2947 int __memcg_kmem_charge_memcg(struct page *page, gfp_t gfp, int order, in __memcg_kmem_charge_memcg()
2984 int __memcg_kmem_charge(struct page *page, gfp_t gfp, int order) in __memcg_kmem_charge()
3024 void __memcg_kmem_uncharge(struct page *page, int order) in __memcg_kmem_uncharge()
3158 unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order, in mem_cgroup_soft_limit_reclaim()
Dmadvise.c867 unsigned int order; in madvise_inject_error() local
Dvmalloc.c1456 static void *new_vmap_block(unsigned int order, gfp_t gfp_mask) in new_vmap_block()
1577 unsigned int order; in vb_alloc() local
1629 unsigned int order; in vb_free() local
Dnommu.c1007 int ret, order; in do_mmap_private() local
Dmemblock.c1894 int order; in __free_pages_memory() local
Dslab.c1390 int order = cachep->gfporder; in kmem_freepages() local
/mm/kasan/
Dcommon.c214 void kasan_alloc_pages(struct page *page, unsigned int order) in kasan_alloc_pages()
228 void kasan_free_pages(struct page *page, unsigned int order) in kasan_free_pages()