Lines Matching refs:ia_bits
95 u64 mask = BIT(pgt->ia_bits) - 1; in __kvm_pgd_page_idx()
105 static u32 kvm_pgd_pages(u32 ia_bits, u32 start_level) in kvm_pgd_pages() argument
108 .ia_bits = ia_bits, in kvm_pgd_pages()
275 u64 limit = BIT(pgt->ia_bits); in _kvm_pgtable_walk()
405 pgt->ia_bits = va_bits; in kvm_pgtable_hyp_init()
425 WARN_ON(kvm_pgtable_walk(pgt, 0, BIT(pgt->ia_bits), &walker)); in kvm_pgtable_hyp_destroy()
860 u32 ia_bits = VTCR_EL2_IPA(vtcr); in kvm_pgtable_stage2_init() local
864 pgd_sz = kvm_pgd_pages(ia_bits, start_level) * PAGE_SIZE; in kvm_pgtable_stage2_init()
869 pgt->ia_bits = ia_bits; in kvm_pgtable_stage2_init()
904 WARN_ON(kvm_pgtable_walk(pgt, 0, BIT(pgt->ia_bits), &walker)); in kvm_pgtable_stage2_destroy()
905 pgd_sz = kvm_pgd_pages(pgt->ia_bits, pgt->start_level) * PAGE_SIZE; in kvm_pgtable_stage2_destroy()