Home
last modified time | relevance | path

Searched refs:compound_order (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dhugetlb_cgroup.h66 if (compound_order(page) < HUGETLB_CGROUP_MIN_ORDER) in __hugetlb_cgroup_from_page()
90 if (compound_order(page) < HUGETLB_CGROUP_MIN_ORDER) in __set_hugetlb_cgroup()
Dmm.h935 static inline unsigned int compound_order(struct page *page) in compound_order() function
939 return page[1].compound_order; in compound_order()
950 return PageCompound(page) && compound_order(page) > 1; in hpage_pincount_available()
967 page[1].compound_order = order; in set_compound_order()
982 return PAGE_SIZE << compound_order(page); in page_size()
988 return PAGE_SHIFT + compound_order(page); in page_shift()
Dmm_types.h139 unsigned char compound_order; member
/kernel/linux/linux-5.10/mm/
Ddebug.c108 head, compound_order(head), in __dump_page()
113 head, compound_order(head), in __dump_page()
Dcompaction.c251 if (compound_order(page) >= pageblock_order) in pageblock_skip_persistent()
599 const unsigned int order = compound_order(page); in isolate_freepages_block()
926 const unsigned int order = compound_order(page); in isolate_migratepages_block()
Dslob.c554 unsigned int order = compound_order(sp); in kfree()
Dpage_alloc.c700 __free_pages_ok(page, compound_order(page), FPI_NONE); in free_compound_page()
1240 VM_BUG_ON_PAGE(compound && compound_order(page) != order, page); in free_pages_prepare()
5183 unsigned int deta = 1U << compound_order(page); in __page_frag_cache_drain()
5188 free_the_page(page, compound_order(page)); in __page_frag_cache_drain()
5229 free_the_page(page, compound_order(page)); in page_frag_alloc()
5274 unsigned int deta = 1U << compound_order(page); in page_frag_free()
5279 free_the_page(page, compound_order(page)); in page_frag_free()
Dswap_state.c133 XA_STATE_ORDER(xas, &address_space->i_pages, idx, compound_order(page)); in add_to_swap_cache()
Dslub.c959 maxobj = order_objects(compound_order(page), s->size); in check_slab()
1009 max_objects = order_objects(compound_order(page), s->size); in on_freelist()
1833 int order = compound_order(page); in __free_slab()
3219 __free_pages(page, compound_order(page)); in build_detached_freelist()
4119 unsigned int order = compound_order(page); in kfree()
Dhuge_memory.c107 __free_pages(zero_page, compound_order(zero_page)); in get_huge_zero_page()
161 __free_pages(zero_page, compound_order(zero_page)); in shrink_huge_zero_page_scan()
Dshmem.c677 XA_STATE_ORDER(xas, &mapping->i_pages, index, compound_order(page)); in shmem_add_to_page_cache()
1941 inode->i_blocks += BLOCKS_PER_PAGE << compound_order(page); in shmem_getpage_gfp()
Dhugetlb.c1657 if (compound_order(page_head) >= MAX_ORDER) in hugetlb_basepage_index()
1662 return (index << compound_order(page_head)) + compound_idx; in hugetlb_basepage_index()
Dfilemap.c130 xas_set_order(&xas, page->index, compound_order(page)); in page_cache_delete()
Dmigrate.c2045 VM_BUG_ON_PAGE(compound_order(page) && !PageTransHuge(page), page); in numamigrate_isolate_page()
Dmemory.c3888 if (compound_order(page) != HPAGE_PMD_ORDER) in do_set_pmd()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_system_heap.c60 unsigned int order = compound_order(page); in free_buffer_page()
124 max_order = compound_order(page); in ion_system_heap_allocate()
Dion_page_pool.c85 BUG_ON(pool->order != compound_order(page)); in ion_page_pool_free()
/kernel/linux/linux-5.10/kernel/
Dcrash_core.c482 VMCOREINFO_OFFSET(page, compound_order); in crash_save_vmcoreinfo_init()
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch1385 + if (WARN_ON(pool->order != compound_order(page)))
1972 + __free_pages(page, compound_order(page));
1975 + if (compound_order(page) == orders[j])
2070 + max_order = compound_order(page);
2125 + __free_pages(p, compound_order(p));
2130 + __free_pages(page, compound_order(page));
/kernel/linux/linux-5.10/Documentation/admin-guide/kdump/
Dvmcoreinfo.rst138 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_dtor|compound_order|compound_head)
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch6739 + __free_pages(page, compound_order(page));
6742 + if (compound_order(page) == orders[j])
6837 + max_order = compound_order(page);
6892 + __free_pages(p, compound_order(p));
6897 + __free_pages(page, compound_order(page));