Home
last modified time | relevance | path

Searched refs:hugepage_size (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/testing/selftests/mm/
Dmap_hugetlb.c62 size_t hugepage_size; in main() local
67 hugepage_size = default_huge_page_size(); in main()
69 if (hugepage_size > length) in main()
70 length = hugepage_size; in main()
Dcompaction_test.c84 int check_compaction(unsigned long mem_free, unsigned int hugepage_size) in check_compaction() argument
130 compaction_index = mem_free/(atoi(nr_hugepages) * hugepage_size); in check_compaction()
168 unsigned long hugepage_size = 0; in main() local
189 if (read_memory_info(&mem_free, &hugepage_size) != 0) { in main()
227 if (check_compaction(mem_free, hugepage_size) == 0) in main()
/linux-6.6.21/arch/sparc/mm/
Dhugetlbpage.c141 unsigned long hugepage_size = _PAGE_SZ4MB_4V; in sun4v_hugepage_shift_to_tte() local
147 hugepage_size = _PAGE_SZ16GB_4V; in sun4v_hugepage_shift_to_tte()
151 hugepage_size = _PAGE_SZ2GB_4V; in sun4v_hugepage_shift_to_tte()
155 hugepage_size = _PAGE_SZ256MB_4V; in sun4v_hugepage_shift_to_tte()
162 hugepage_size = _PAGE_SZ64K_4V; in sun4v_hugepage_shift_to_tte()
168 pte_val(entry) = pte_val(entry) | hugepage_size; in sun4v_hugepage_shift_to_tte()
Dinit_64.c424 unsigned long hugepage_size = PAGE_SIZE; in update_mmu_cache_range() local
427 hugepage_size = huge_page_size(hstate_vma(vma)); in update_mmu_cache_range()
429 if (hugepage_size >= PUD_SIZE) { in update_mmu_cache_range()
437 } else if (hugepage_size >= PMD_SIZE) { in update_mmu_cache_range()
444 if (hugepage_size >= PMD_SIZE) { in update_mmu_cache_range()