Home
last modified time | relevance | path

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

/arch/powerpc/mm/book3s64/
Dhash_hugetlbpage.c16 unsigned int hpage_shift; variable
17 EXPORT_SYMBOL(hpage_shift);
157 hpage_shift = mmu_psize_defs[MMU_PAGE_16M].shift; in hugetlbpage_init_default()
159 hpage_shift = mmu_psize_defs[MMU_PAGE_1M].shift; in hugetlbpage_init_default()
161 hpage_shift = mmu_psize_defs[MMU_PAGE_2M].shift; in hugetlbpage_init_default()
/arch/ia64/mm/
Dhugetlbpage.c24 unsigned int hpage_shift = HPAGE_SHIFT_DEFAULT; variable
25 EXPORT_SYMBOL(hpage_shift);
193 hpage_shift = __ffs(size); in hugetlb_setup_sz()
198 ia64_set_rr(HPAGE_REGION_BASE, hpage_shift << 2); in hugetlb_setup_sz()
/arch/powerpc/mm/
Dpgtable.c356 bool *is_thp, unsigned *hpage_shift) in __find_linux_pte() argument
366 if (hpage_shift) in __find_linux_pte()
367 *hpage_shift = 0; in __find_linux_pte()
467 if (hpage_shift) in __find_linux_pte()
468 *hpage_shift = pdshift; in __find_linux_pte()
/arch/powerpc/include/asm/
Dpage.h30 extern unsigned int hpage_shift;
31 #define HPAGE_SHIFT hpage_shift
/arch/ia64/include/asm/
Dpage.h51 # define HPAGE_SHIFT hpage_shift
133 extern unsigned int hpage_shift;
/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c200 unsigned hpage_shift; in kvmppc_do_h_enter() local
246 ptep = find_kvm_host_pte(kvm, mmu_seq, hva, &hpage_shift); in kvmppc_do_h_enter()
251 if (hpage_shift) in kvmppc_do_h_enter()
252 host_pte_size = 1ul << hpage_shift; in kvmppc_do_h_enter()