Lines Matching refs:ia_bits
94 u64 mask = BIT(pgt->ia_bits) - 1; in __kvm_pgd_page_idx()
104 static u32 kvm_pgd_pages(u32 ia_bits, u32 start_level) in kvm_pgd_pages() argument
107 .ia_bits = ia_bits, in kvm_pgd_pages()
258 u64 limit = BIT(pgt->ia_bits); in _kvm_pgtable_walk()
526 pgt->ia_bits = va_bits; in kvm_pgtable_hyp_init()
560 WARN_ON(kvm_pgtable_walk(pgt, 0, BIT(pgt->ia_bits), &walker)); in kvm_pgtable_hyp_destroy()
1182 u32 ia_bits = VTCR_EL2_IPA(vtcr); in __kvm_pgtable_stage2_init() local
1186 pgd_sz = kvm_pgd_pages(ia_bits, start_level) * PAGE_SIZE; in __kvm_pgtable_stage2_init()
1191 pgt->ia_bits = ia_bits; in __kvm_pgtable_stage2_init()
1231 WARN_ON(kvm_pgtable_walk(pgt, 0, BIT(pgt->ia_bits), &walker)); in kvm_pgtable_stage2_destroy()
1232 pgd_sz = kvm_pgd_pages(pgt->ia_bits, pgt->start_level) * PAGE_SIZE; in kvm_pgtable_stage2_destroy()