Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dhuge_mm.h107 #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT) macro
108 #define HPAGE_PMD_NR (1<<HPAGE_PMD_ORDER)
273 return HPAGE_PMD_ORDER; in thp_order()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_page_alloc.c740 order = HPAGE_PMD_ORDER; in ttm_put_pages()
868 p = alloc_pages(huge_flags, HPAGE_PMD_ORDER); in ttm_get_pages()
905 HPAGE_PMD_ORDER); in ttm_get_pages()
958 unsigned order = HPAGE_PMD_ORDER; in ttm_page_alloc_init()
/kernel/linux/linux-5.10/mm/
Dkhugepaged.c881 *hpage = __alloc_pages_node(node, gfp, HPAGE_PMD_ORDER); in khugepaged_alloc_page()
903 HPAGE_PMD_ORDER); in alloc_khugepaged_hugepage()
1643 XA_STATE_ORDER(xas, &mapping->i_pages, start, HPAGE_PMD_ORDER); in collapse_file()
Dhuge_memory.c98 HPAGE_PMD_ORDER); in get_huge_zero_page()
398 MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER >= MAX_ORDER); in hugepage_init()
403 MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER < 2); in hugepage_init()
763 page = alloc_hugepage_vma(gfp, vma, haddr, HPAGE_PMD_ORDER); in do_huge_pmd_anonymous_page()
Dmigrate.c1576 order = HPAGE_PMD_ORDER; in alloc_migration_target()
2150 HPAGE_PMD_ORDER); in migrate_misplaced_transhuge_page()
Dcompaction.c64 #define COMPACTION_HPAGE_ORDER HPAGE_PMD_ORDER
Dmempolicy.c1237 HPAGE_PMD_ORDER); in new_page()
Dshmem.c1554 HPAGE_PMD_ORDER, &pvma, 0, numa_node_id(), true); in shmem_alloc_hugepage()
Dmemory.c3819 if (compound_order(page) != HPAGE_PMD_ORDER) in do_set_pmd()