Searched refs:hpage_shift (Results 1 – 7 of 7) sorted by relevance
16 unsigned int hpage_shift; variable17 EXPORT_SYMBOL(hpage_shift);162 hpage_shift = mmu_psize_defs[MMU_PAGE_16M].shift; in hugetlbpage_init_defaultsize()164 hpage_shift = mmu_psize_defs[MMU_PAGE_1M].shift; in hugetlbpage_init_defaultsize()166 hpage_shift = mmu_psize_defs[MMU_PAGE_2M].shift; in hugetlbpage_init_defaultsize()
24 unsigned int hpage_shift = HPAGE_SHIFT_DEFAULT; variable25 EXPORT_SYMBOL(hpage_shift);178 hpage_shift = __ffs(size); in hugetlb_setup_sz()183 ia64_set_rr(HPAGE_REGION_BASE, hpage_shift << 2); in hugetlb_setup_sz()
385 bool *is_thp, unsigned *hpage_shift) in __find_linux_pte() argument395 if (hpage_shift) in __find_linux_pte()396 *hpage_shift = 0; in __find_linux_pte()496 if (hpage_shift) in __find_linux_pte()497 *hpage_shift = pdshift; in __find_linux_pte()
31 extern unsigned int hpage_shift;32 #define HPAGE_SHIFT hpage_shift
51 # define HPAGE_SHIFT hpage_shift127 extern unsigned int hpage_shift;
822 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate() local838 start = offset >> hpage_shift; in hugetlbfs_fallocate()839 end = (offset + len + hpage_size - 1) >> hpage_shift; in hugetlbfs_fallocate()1171 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options() local1195 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()1198 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
194 unsigned hpage_shift; in kvmppc_do_h_enter() local249 ptep = find_kvm_host_pte(kvm, mmu_seq, hva, &hpage_shift); in kvmppc_do_h_enter()254 if (hpage_shift) in kvmppc_do_h_enter()255 host_pte_size = 1ul << hpage_shift; in kvmppc_do_h_enter()