Home
last modified time | relevance | path

Searched refs:HPAGE_PMD_ORDER (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/linux/
Dhuge_mm.h105 #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT) macro
106 #define HPAGE_PMD_NR (1<<HPAGE_PMD_ORDER)
258 return folio_order(folio) >= HPAGE_PMD_ORDER; in folio_test_pmd_mappable()
/linux-6.1.9/mm/
Dkhugepaged.c802 *hpage = __alloc_pages(gfp, HPAGE_PMD_ORDER, node, nmask); in hpage_collapse_alloc_page()
1484 if (compound_order(hpage) != HPAGE_PMD_ORDER) { in collapse_pte_mapped_thp()
1754 XA_STATE_ORDER(xas, &mapping->i_pages, start, HPAGE_PMD_ORDER); in collapse_file()
1904 result = compound_order(head) == HPAGE_PMD_ORDER && in collapse_file()
2005 xas_set_order(&xas, start, HPAGE_PMD_ORDER); in collapse_file()
2151 result = compound_order(head) == HPAGE_PMD_ORDER && in hpage_collapse_scan_file()
Ddebug_vm_pgtable.c1047 free_contig_range(args->pmd_pfn, (1 << HPAGE_PMD_ORDER)); in destroy_args()
1050 __free_pages(page, HPAGE_PMD_ORDER); in destroy_args()
1233 page = debug_vm_pgtable_alloc_huge_page(args, HPAGE_PMD_ORDER); in init_args()
Dreadahead.c473 #define MAX_PAGECACHE_ORDER HPAGE_PMD_ORDER
Dhuge_memory.c161 HPAGE_PMD_ORDER); in get_huge_zero_page()
473 MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER >= MAX_ORDER); in hugepage_init()
478 MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER < 2); in hugepage_init()
832 folio = vma_alloc_folio(gfp, HPAGE_PMD_ORDER, vma, haddr, true); in do_huge_pmd_anonymous_page()
Dcompaction.c62 #define COMPACTION_HPAGE_ORDER HPAGE_PMD_ORDER
Dfilemap.c3006 page_cache_ra_order(&ractl, ra, HPAGE_PMD_ORDER); in do_sync_mmap_readahead()
Dshmem.c1556 folio = vma_alloc_folio(gfp, HPAGE_PMD_ORDER, &pvma, 0, true); in shmem_alloc_hugefolio()
Dmemory.c4259 if (compound_order(page) != HPAGE_PMD_ORDER) in do_set_pmd()