/mm/ |
D | page_alloc.c | 758 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex() 776 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order() local 790 static inline bool pcp_allowed_order(unsigned int order) in pcp_allowed_order() 801 static inline void free_the_page(struct page *page, unsigned int order) in free_the_page() 830 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page() 881 unsigned int order, int migratetype) in set_page_guard() 899 unsigned int order, int migratetype) in clear_page_guard() 912 unsigned int order, int migratetype) { return false; } in set_page_guard() 914 unsigned int order, int migratetype) {} in clear_page_guard() 971 static inline void set_buddy_order(struct page *page, unsigned int order) in set_buddy_order() [all …]
|
D | compaction.c | 53 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument 54 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument 94 unsigned int i, order, nr_pages; in split_map_pages() local 164 static void defer_compaction(struct zone *zone, int order) in defer_compaction() 179 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() 202 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset() 216 static bool compaction_restarting(struct zone *zone, int order) in compaction_restarting() 567 unsigned int order; in isolate_freepages_block() local 599 const unsigned int order = compound_order(page); in isolate_freepages_block() local 771 unsigned int order; in isolate_and_split_free_page() local [all …]
|
D | page_reporting.h | 33 static inline void page_reporting_notify_free(unsigned int order) in page_reporting_notify_free() 49 static inline void page_reporting_notify_free(unsigned int order) in page_reporting_notify_free()
|
D | page_reporting.c | 85 unsigned int order = get_order(sg->length); in page_reporting_drain() local 115 unsigned int order, unsigned int mt, in page_reporting_cycle() 231 unsigned int order, mt, leftover, offset = PAGE_REPORTING_CAPACITY; in page_reporting_process_zone() local
|
D | shuffle.h | 28 static inline bool is_shuffle_order(int order) in is_shuffle_order() 48 static inline bool is_shuffle_order(int order) in is_shuffle_order()
|
D | page_owner.c | 24 unsigned short order; member 148 void __reset_page_owner(struct page *page, unsigned int order) in __reset_page_owner() 174 unsigned int order, gfp_t gfp_mask) in __set_page_owner_handle() 194 noinline void __set_page_owner(struct page *page, unsigned int order, in __set_page_owner() 624 unsigned long order = buddy_order_unsafe(page); in init_pages_in_zone() local
|
D | mempool.c | 65 int order = (int)(long)pool->pool_data; in check_element() local 88 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
|
D | shuffle.c | 38 unsigned long pfn, int order) in shuffle_valid_page() 86 const int order = SHUFFLE_ORDER; in __shuffle_zone() local
|
D | vmstat.c | 1064 unsigned int order; in fill_contig_page_info() local 1094 static int __fragmentation_index(unsigned int order, struct contig_page_info *info) in __fragmentation_index() 1122 unsigned int extfrag_for_order(struct zone *zone, unsigned int order) in extfrag_for_order() 1136 int fragmentation_index(struct zone *zone, unsigned int order) in fragmentation_index() 1468 int order; in frag_show_print() local 1489 int order, mtype; in pagetypeinfo_showfree_print() local 1531 int order; in pagetypeinfo_showfree() local 2124 static int unusable_free_index(unsigned int order, in unusable_free_index() 2145 unsigned int order; in unusable_show_print() local 2195 unsigned int order; in extfrag_show_print() local
|
D | slob.c | 191 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() 512 unsigned int order = get_order(size); in __do_kmalloc_node() local 566 unsigned int order = compound_order(sp); in kfree() local
|
D | internal.h | 179 __find_buddy_pfn(unsigned long page_pfn, unsigned int order) in __find_buddy_pfn() 251 int order; /* order a direct compactor needs */ member 555 unsigned int order) in node_reclaim()
|
D | page_isolation.c | 73 unsigned int order; in unset_migratetype_isolate() local
|
D | slub.c | 382 static inline unsigned int order_objects(unsigned int order, unsigned int size) in order_objects() 387 static inline struct kmem_cache_order_objects oo_make(unsigned int order, in oo_make() 1790 unsigned int order = oo_order(oo); in alloc_slab_page() local 2001 int order = compound_order(page); in __free_slab() local 3550 unsigned int order = compound_order(page); in free_nonslab_page() local 3799 unsigned int order; in slab_order() local 3821 unsigned int order; in calculate_order() local 4057 unsigned int order; in calculate_sizes() local 4438 unsigned int order = get_order(size); in kmalloc_large_node() local 5123 int order; in alloc_loc_track() local
|
D | mempolicy.c | 2034 static struct page *alloc_page_interleave(gfp_t gfp, unsigned order, in alloc_page_interleave() 2051 static struct page *alloc_pages_preferred_many(gfp_t gfp, unsigned int order, in alloc_pages_preferred_many() 2088 struct page *alloc_pages_vma(gfp_t gfp, int order, struct vm_area_struct *vma, in alloc_pages_vma() 2175 struct page *alloc_pages(gfp_t gfp, unsigned order) in alloc_pages()
|
D | slab_common.c | 966 void *kmalloc_order(size_t size, gfp_t flags, unsigned int order) in kmalloc_order() 992 void *kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) in kmalloc_order_trace()
|
D | hugetlb.c | 1267 unsigned int order) in destroy_compound_gigantic_page() 1286 static void free_gigantic_page(struct page *page, unsigned int order) in free_gigantic_page() 1351 static inline void free_gigantic_page(struct page *page, unsigned int order) { } in free_gigantic_page() 1353 unsigned int order) { } in destroy_compound_gigantic_page() 1669 static bool prep_compound_gigantic_page(struct page *page, unsigned int order) in prep_compound_gigantic_page() 1800 int order = huge_page_order(h); in alloc_buddy_huge_page() local 3709 void __init hugetlb_add_hstate(unsigned int order) in hugetlb_add_hstate() 6439 void __init hugetlb_cma_reserve(int order) in hugetlb_cma_reserve()
|
D | slab.h | 450 static __always_inline void account_slab_page(struct page *page, int order, in account_slab_page() 461 static __always_inline void unaccount_slab_page(struct page *page, int order, in unaccount_slab_page()
|
D | vmscan.c | 146 s8 order; member 6436 unsigned long try_to_free_pages(struct zonelist *zonelist, int order, in try_to_free_pages() 6615 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx) in pgdat_balanced() 6663 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, in prepare_kswapd_sleep() 6782 static int balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx) in balance_pgdat() 7192 void wakeup_kswapd(struct zone *zone, gfp_t gfp_flags, int order, in wakeup_kswapd() 7403 static int __node_reclaim(struct pglist_data *pgdat, gfp_t gfp_mask, unsigned int order) in __node_reclaim() 7457 int node_reclaim(struct pglist_data *pgdat, gfp_t gfp_mask, unsigned int order) in node_reclaim()
|
D | vmalloc.c | 1889 static void *new_vmap_block(unsigned int order, gfp_t gfp_mask) in new_vmap_block() 2000 unsigned int order; in vb_alloc() local 2051 unsigned int order; in vb_free() local 2242 static inline void set_vm_area_page_order(struct vm_struct *vm, unsigned int order) in set_vm_area_page_order() 2851 unsigned int order, unsigned int nr_pages, struct page **pages) in vm_area_alloc_pages()
|
D | page_pinner.c | 153 void __free_page_pinner(struct page *page, unsigned int order) in __free_page_pinner()
|
D | hmm.c | 171 static inline unsigned long hmm_pfn_flags_order(unsigned long order) in hmm_pfn_flags_order()
|
D | memory_hotplug.c | 579 void generic_online_page(struct page *page, unsigned int order) in generic_online_page() 611 int order = min(MAX_ORDER - 1UL, __ffs(pfn)); in online_pages_range() local
|
D | sparse-vmemmap.c | 407 int order = get_order(size); in vmemmap_alloc_block() local
|
D | memcontrol.c | 1657 int order) in mem_cgroup_out_of_memory() 1866 static enum oom_status mem_cgroup_oom(struct mem_cgroup *memcg, gfp_t mask, int order) in mem_cgroup_oom() 3084 int __memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order) in __memcg_kmem_charge_page() 3107 void __memcg_kmem_uncharge_page(struct page *page, int order) in __memcg_kmem_uncharge_page() 3460 unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order, in mem_cgroup_soft_limit_reclaim()
|
/mm/kasan/ |
D | common.c | 102 void __kasan_unpoison_pages(struct page *page, unsigned int order, bool init) in __kasan_unpoison_pages() 116 void __kasan_poison_pages(struct page *page, unsigned int order, bool init) in __kasan_poison_pages()
|