Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dhash_hugetlbpage.c16 unsigned int hpage_shift; variable
17 EXPORT_SYMBOL(hpage_shift);
161 hpage_shift = mmu_psize_defs[MMU_PAGE_16M].shift; in hugetlbpage_init_default()
163 hpage_shift = mmu_psize_defs[MMU_PAGE_1M].shift; in hugetlbpage_init_default()
165 hpage_shift = mmu_psize_defs[MMU_PAGE_2M].shift; in hugetlbpage_init_default()
/kernel/linux/linux-5.10/arch/ia64/mm/
Dhugetlbpage.c24 unsigned int hpage_shift = HPAGE_SHIFT_DEFAULT; variable
25 EXPORT_SYMBOL(hpage_shift);
192 hpage_shift = __ffs(size); in hugetlb_setup_sz()
197 ia64_set_rr(HPAGE_REGION_BASE, hpage_shift << 2); in hugetlb_setup_sz()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dpgtable.c347 bool *is_thp, unsigned *hpage_shift) in __find_linux_pte() argument
357 if (hpage_shift) in __find_linux_pte()
358 *hpage_shift = 0; in __find_linux_pte()
458 if (hpage_shift) in __find_linux_pte()
459 *hpage_shift = pdshift; in __find_linux_pte()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpage.h30 extern unsigned int hpage_shift;
31 #define HPAGE_SHIFT hpage_shift
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dpage.h51 # define HPAGE_SHIFT hpage_shift
154 extern unsigned int hpage_shift;
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c642 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate() local
658 start = offset >> hpage_shift; in hugetlbfs_fallocate()
1015 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options() local
1039 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()
1042 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c207 unsigned hpage_shift; in kvmppc_do_h_enter() local
253 ptep = find_kvm_host_pte(kvm, mmu_seq, hva, &hpage_shift); in kvmppc_do_h_enter()
258 if (hpage_shift) in kvmppc_do_h_enter()
259 host_pte_size = 1ul << hpage_shift; in kvmppc_do_h_enter()