Searched refs:HPAGE_PMD_ORDER (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/include/linux/ |
D | huge_mm.h | 67 #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT) macro 68 #define HPAGE_PMD_NR (1<<HPAGE_PMD_ORDER) 218 return folio_order(folio) >= HPAGE_PMD_ORDER; in folio_test_pmd_mappable()
|
D | pagemap.h | 522 #define MAX_PAGECACHE_ORDER HPAGE_PMD_ORDER
|
/linux-6.6.21/mm/ |
D | khugepaged.c | 893 *hpage = __alloc_pages(gfp, HPAGE_PMD_ORDER, node, nmask); in hpage_collapse_alloc_page() 1519 if (compound_order(hpage) != HPAGE_PMD_ORDER) { in collapse_pte_mapped_thp() 1799 XA_STATE_ORDER(xas, &mapping->i_pages, start, HPAGE_PMD_ORDER); in collapse_file() 1937 result = compound_order(head) == HPAGE_PMD_ORDER && in collapse_file() 2148 xas_set_order(&xas, start, HPAGE_PMD_ORDER); in collapse_file() 2253 result = compound_order(head) == HPAGE_PMD_ORDER && in hpage_collapse_scan_file()
|
D | debug_vm_pgtable.c | 1052 free_contig_range(args->pmd_pfn, (1 << HPAGE_PMD_ORDER)); in destroy_args() 1055 __free_pages(page, HPAGE_PMD_ORDER); in destroy_args() 1297 page = debug_vm_pgtable_alloc_huge_page(args, HPAGE_PMD_ORDER); in init_args()
|
D | huge_memory.c | 162 HPAGE_PMD_ORDER); in get_huge_zero_page() 470 MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER > MAX_ORDER); in hugepage_init() 475 MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER < 2); in hugepage_init() 827 folio = vma_alloc_folio(gfp, HPAGE_PMD_ORDER, vma, haddr, true); in do_huge_pmd_anonymous_page()
|
D | compaction.c | 62 #define COMPACTION_HPAGE_ORDER HPAGE_PMD_ORDER
|
D | filemap.c | 3171 page_cache_ra_order(&ractl, ra, HPAGE_PMD_ORDER); in do_sync_mmap_readahead()
|
D | shmem.c | 1661 folio = vma_alloc_folio(gfp, HPAGE_PMD_ORDER, &pvma, 0, true); in shmem_alloc_hugefolio()
|
D | memory.c | 4283 if (compound_order(page) != HPAGE_PMD_ORDER) in do_set_pmd()
|