Home
last modified time | relevance | path

Searched refs:hpage_shift (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/ia64/mm/
Dhugetlbpage.c25 unsigned int hpage_shift = HPAGE_SHIFT_DEFAULT; variable
26 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()
/Linux-v4.19/arch/ia64/include/asm/
Dpage.h51 # define HPAGE_SHIFT hpage_shift
154 extern unsigned int hpage_shift;
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage.c776 bool *is_thp, unsigned *hpage_shift) in __find_linux_pte() argument
785 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()
/Linux-v4.19/fs/hugetlbfs/
Dinode.c561 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate() local
577 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() local
915 (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()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c208 unsigned hpage_shift; in kvmppc_do_h_enter() local
262 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()