Searched refs:hugepage_size (Results 1 – 5 of 5) sorted by relevance
47 size_t hugepage_size; in main() local52 hugepage_size = default_huge_page_size(); in main()54 if (hugepage_size > length) in main()55 length = hugepage_size; in main()
85 int check_compaction(unsigned long mem_free, unsigned long hugepage_size, in check_compaction() argument132 compaction_index = mem_free/(nr_hugepages_ul * hugepage_size); in check_compaction()204 unsigned long hugepage_size = 0; in main() local226 if (read_memory_info(&mem_free, &hugepage_size) != 0) in main()262 if (check_compaction(mem_free, hugepage_size, in main()
103 static int read_nr_hugepages(unsigned long hugepage_size, in read_nr_hugepages() argument110 hugepage_size); in read_nr_hugepages()
138 unsigned long hugepage_size = _PAGE_SZ4MB_4V; in sun4v_hugepage_shift_to_tte() local144 hugepage_size = _PAGE_SZ16GB_4V; in sun4v_hugepage_shift_to_tte()148 hugepage_size = _PAGE_SZ2GB_4V; in sun4v_hugepage_shift_to_tte()152 hugepage_size = _PAGE_SZ256MB_4V; in sun4v_hugepage_shift_to_tte()159 hugepage_size = _PAGE_SZ64K_4V; in sun4v_hugepage_shift_to_tte()165 pte_val(entry) = pte_val(entry) | hugepage_size; in sun4v_hugepage_shift_to_tte()
424 unsigned long hugepage_size = PAGE_SIZE; in update_mmu_cache_range() local427 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()