Home
last modified time | relevance | path

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

/mm/
Dpage_alloc.c378 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
397 static int destroy_compound_page(struct page *page, unsigned long order) in destroy_compound_page()
426 static inline void prep_zero_page(struct page *page, unsigned int order, in prep_zero_page()
471 static inline void set_page_order(struct page *page, unsigned int order) in set_page_order()
499 unsigned int order) in page_is_buddy()
556 struct zone *zone, unsigned int order, in __free_one_page()
756 unsigned int order, in free_one_page()
773 static bool free_pages_prepare(struct page *page, unsigned int order) in free_pages_prepare()
800 static void __free_pages_ok(struct page *page, unsigned int order) in __free_pages_ok()
818 unsigned int order) in __free_pages_bootmem()
[all …]
Dkmemcheck.c8 void kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node) in kmemcheck_alloc_shadow()
39 void kmemcheck_free_shadow(struct page *page, int order) in kmemcheck_free_shadow()
100 void kmemcheck_pagealloc_alloc(struct page *page, unsigned int order, in kmemcheck_pagealloc_alloc()
Doom_kill.c388 static void dump_header(struct task_struct *p, gfp_t gfp_mask, int order, in dump_header()
429 void oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order, in oom_kill_process()
540 int order, const nodemask_t *nodemask) in check_panic_on_oom()
632 int order, nodemask_t *nodemask, bool force_kill) in out_of_memory()
Dvmscan.c70 int order; member
2361 static inline bool compaction_ready(struct zone *zone, int order) in compaction_ready()
2727 unsigned long try_to_free_pages(struct zonelist *zonelist, int order, in try_to_free_pages()
2859 static bool zone_balanced(struct zone *zone, int order, in zone_balanced()
2893 static bool pgdat_balanced(pg_data_t *pgdat, int order, int classzone_idx) in pgdat_balanced()
2938 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, long remaining, in prepare_kswapd_sleep()
3067 static unsigned long balance_pgdat(pg_data_t *pgdat, int order, in balance_pgdat()
3258 static void kswapd_try_to_sleep(pg_data_t *pgdat, int order, int classzone_idx) in kswapd_try_to_sleep()
3328 unsigned long order, new_order; in kswapd() local
3425 void wakeup_kswapd(struct zone *zone, int order, enum zone_type classzone_idx) in wakeup_kswapd()
[all …]
Dvmstat.c613 unsigned int order; in fill_contig_page_info() local
643 static int __fragmentation_index(unsigned int order, struct contig_page_info *info) in __fragmentation_index()
664 int fragmentation_index(struct zone *zone, unsigned int order) in fragmentation_index()
913 int order; in frag_show_print() local
934 int order, mtype; in pagetypeinfo_showfree_print() local
959 int order; in pagetypeinfo_showfree() local
1484 unsigned int order; in unusable_show_print() local
1544 unsigned int order; in extfrag_show_print() local
Dslab.h232 gfp_t gfp, int order) in memcg_charge_slab()
241 static __always_inline void memcg_uncharge_slab(struct kmem_cache *s, int order) in memcg_uncharge_slab()
277 static inline int memcg_charge_slab(struct kmem_cache *s, gfp_t gfp, int order) in memcg_charge_slab()
282 static inline void memcg_uncharge_slab(struct kmem_cache *s, int order) in memcg_uncharge_slab()
Dcompaction.c1084 unsigned int order; in compact_finished() local
1146 unsigned long compaction_suitable(struct zone *zone, int order) in compaction_suitable()
1285 static unsigned long compact_zone_order(struct zone *zone, int order, in compact_zone_order()
1325 int order, gfp_t gfp_mask, nodemask_t *nodemask, in try_to_compact_pages()
1465 void compact_pgdat(pg_data_t *pgdat, int order) in compact_pgdat()
Dmempool.c369 int order = (int)(long)pool_data; in mempool_alloc_pages() local
376 int order = (int)(long)pool_data; in mempool_free_pages() local
Dslob.c190 static void *slob_new_pages(gfp_t gfp, int order, int node) in slob_new_pages()
207 static void slob_free_pages(void *b, int order) in slob_free_pages()
451 unsigned int order = get_order(size); in __do_kmalloc_node() local
Dinternal.h130 __find_buddy_index(unsigned long page_idx, unsigned int order) in __find_buddy_index()
170 int order; /* order a direct compactor needs */ member
Dhugetlb.c684 unsigned int order) in destroy_compound_gigantic_page()
700 static void free_gigantic_page(struct page *page, unsigned int order) in free_gigantic_page()
744 static struct page *alloc_gigantic_page(int nid, unsigned int order) in alloc_gigantic_page()
813 static inline void free_gigantic_page(struct page *page, unsigned int order) { } in free_gigantic_page()
815 unsigned int order) { } in destroy_compound_gigantic_page()
935 static void prep_compound_gigantic_page(struct page *page, unsigned int order) in prep_compound_gigantic_page()
1113 unsigned int order = 8 * sizeof(void *); in dissolve_free_huge_pages() local
1494 unsigned int order) in prep_compound_huge_page()
2205 void __init hugetlb_add_hstate(unsigned int order) in hugetlb_add_hstate()
Dslub.c302 static inline int order_objects(int order, unsigned long size, int reserved) in order_objects()
307 static inline struct kmem_cache_order_objects oo_make(int order, in oo_make()
1320 int order = oo_order(oo); in alloc_slab_page() local
1414 int order; in new_slab() local
1453 int order = compound_order(page); in __free_slab() local
1503 int order = compound_order(page); in free_slab() local
2776 int order; in slab_order() local
2804 int order; in calculate_order() local
2984 int order; in calculate_sizes() local
3976 int order; in alloc_loc_track() local
[all …]
Dslab_common.c783 void *kmalloc_order(size_t size, gfp_t flags, unsigned int order) in kmalloc_order()
797 void *kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) in kmalloc_order_trace()
Dpage_isolation.c80 unsigned int order; in unset_migratetype_isolate() local
Dmemcontrol.c1724 int order) in mem_cgroup_out_of_memory()
2107 static void mem_cgroup_oom(struct mem_cgroup *memcg, gfp_t mask, int order) in mem_cgroup_oom()
3125 int __memcg_charge_slab(struct kmem_cache *cachep, gfp_t gfp, int order) in __memcg_charge_slab()
3136 void __memcg_uncharge_slab(struct kmem_cache *cachep, int order) in __memcg_uncharge_slab()
3218 __memcg_kmem_newpage_charge(gfp_t gfp, struct mem_cgroup **_memcg, int order) in __memcg_kmem_newpage_charge()
3269 int order) in __memcg_kmem_commit_charge()
3289 void __memcg_kmem_uncharge_pages(struct page *page, int order) in __memcg_kmem_uncharge_pages()
3703 unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order, in mem_cgroup_soft_limit_reclaim()
Dnobootmem.c87 int order; in __free_pages_memory() local
Dvmalloc.c910 unsigned int order; in vb_alloc() local
967 unsigned int order; in vb_free() local
1562 const int order = 0; in __vmalloc_area_node() local
Dmempolicy.c1967 static struct page *alloc_page_interleave(gfp_t gfp, unsigned order, in alloc_page_interleave()
2004 alloc_pages_vma(gfp_t gfp, int order, struct vm_area_struct *vma, in alloc_pages_vma()
2054 struct page *alloc_pages_current(gfp_t gfp, unsigned order) in alloc_pages_current()
Dbootmem.c211 int order = ilog2(BITS_PER_LONG); in free_all_bootmem_core() local
Dmemory_hotplug.c1310 int order; in next_active_pageblock() local
Dnommu.c1155 int ret, order; in do_mmap_private() local