Searched refs:size_opt (Results 1 – 1 of 1) sorted by relevance
1092 hugetlbfs_size_to_hpages(struct hstate *h, unsigned long long size_opt, in hugetlbfs_size_to_hpages() argument1099 size_opt <<= huge_page_shift(h); in hugetlbfs_size_to_hpages()1100 size_opt *= h->max_huge_pages; in hugetlbfs_size_to_hpages()1101 do_div(size_opt, 100); in hugetlbfs_size_to_hpages()1104 size_opt >>= huge_page_shift(h); in hugetlbfs_size_to_hpages()1105 return size_opt; in hugetlbfs_size_to_hpages()