Searched refs:hpage_shift (Results 1 – 5 of 5) sorted by relevance
25 unsigned int hpage_shift = HPAGE_SHIFT_DEFAULT; variable26 EXPORT_SYMBOL(hpage_shift);187 hpage_shift = __ffs(size); in hugetlb_setup_sz()192 ia64_set_rr(HPAGE_REGION_BASE, hpage_shift << 2); in hugetlb_setup_sz()
51 # define HPAGE_SHIFT hpage_shift154 extern unsigned int hpage_shift;
776 bool *is_thp, unsigned *hpage_shift) in __find_linux_pte() argument785 if (hpage_shift) in __find_linux_pte()786 *hpage_shift = 0; in __find_linux_pte()856 if (hpage_shift) in __find_linux_pte()857 *hpage_shift = pdshift; in __find_linux_pte()
561 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate() local577 start = offset >> hpage_shift; in hugetlbfs_fallocate()578 end = (offset + len + hpage_size - 1) >> hpage_shift; in hugetlbfs_fallocate()891 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options() local915 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()918 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
208 unsigned hpage_shift; in kvmppc_do_h_enter() local262 ptep = __find_linux_pte(pgdir, hva, NULL, &hpage_shift); in kvmppc_do_h_enter()267 if (hpage_shift) in kvmppc_do_h_enter()268 host_pte_size = 1ul << hpage_shift; in kvmppc_do_h_enter()