Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhugetlbpage.c16 unsigned int hpage_shift; variable
17 EXPORT_SYMBOL(hpage_shift);
172 hpage_shift = mmu_psize_defs[MMU_PAGE_16M].shift; in hugetlbpage_init_defaultsize()
174 hpage_shift = mmu_psize_defs[MMU_PAGE_1M].shift; in hugetlbpage_init_defaultsize()
176 hpage_shift = mmu_psize_defs[MMU_PAGE_2M].shift; in hugetlbpage_init_defaultsize()
/linux-6.12.1/arch/powerpc/mm/
Dpgtable.c429 bool *is_thp, unsigned *hpage_shift) in __find_linux_pte() argument
440 if (hpage_shift) in __find_linux_pte()
441 *hpage_shift = 0; in __find_linux_pte()
527 if (hpage_shift) in __find_linux_pte()
528 *hpage_shift = pdshift; in __find_linux_pte()
/linux-6.12.1/arch/powerpc/include/asm/
Dpage.h31 extern unsigned int hpage_shift;
32 #define HPAGE_SHIFT hpage_shift
/linux-6.12.1/fs/hugetlbfs/
Dinode.c809 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate() local
825 start = offset >> hpage_shift; in hugetlbfs_fallocate()
826 end = (offset + len + hpage_size - 1) >> hpage_shift; in hugetlbfs_fallocate()
1154 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options() local
1178 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()
1181 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c194 unsigned hpage_shift; in kvmppc_do_h_enter() local
249 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()