Lines Matching refs:pgt
133 ret = __kvm_pgtable_stage2_init(&host_kvm.pgt, mmu, in kvm_host_prepare_stage2()
139 mmu->pgd_phys = __hyp_pa(host_kvm.pgt.pgd); in kvm_host_prepare_stage2()
140 mmu->pgt = &host_kvm.pgt; in kvm_host_prepare_stage2()
178 struct kvm_pgtable *pgt = &host_kvm.pgt; in host_stage2_unmap_dev_all() local
186 ret = kvm_pgtable_stage2_unmap(pgt, addr, reg->base - addr); in host_stage2_unmap_dev_all()
190 return kvm_pgtable_stage2_unmap(pgt, addr, BIT(pgt->ia_bits) - addr); in host_stage2_unmap_dev_all()
253 return kvm_pgtable_stage2_map(&host_kvm.pgt, start, end - start, start, in __host_stage2_idmap()
290 ret = kvm_pgtable_get_leaf(&host_kvm.pgt, addr, &pte, &level); in host_stage2_adjust_range()
322 return host_stage2_try(kvm_pgtable_stage2_set_owner, &host_kvm.pgt, in host_stage2_set_owner_locked()
434 static int check_page_state_range(struct kvm_pgtable *pgt, u64 addr, u64 size, in check_page_state_range() argument
443 return kvm_pgtable_walk(pgt, addr, size, &walker); in check_page_state_range()
463 return check_page_state_range(&host_kvm.pgt, addr, size, &d); in __host_check_page_state_range()