Lines Matching refs:hyp_pgtable
25 static struct kvm_pgtable *hyp_pgtable; variable
232 if (hyp_pgtable) { in free_hyp_pgds()
233 kvm_pgtable_hyp_destroy(hyp_pgtable); in free_hyp_pgds()
234 kfree(hyp_pgtable); in free_hyp_pgds()
235 hyp_pgtable = NULL; in free_hyp_pgds()
253 if (!hyp_pgtable && is_protected_kvm_enabled()) in kvm_host_owns_hyp_mappings()
256 WARN_ON(!hyp_pgtable); in kvm_host_owns_hyp_mappings()
270 err = kvm_pgtable_hyp_map(hyp_pgtable, start, size, phys, prot); in __create_hyp_mappings()
1550 return __pa(hyp_pgtable->pgd); in kvm_mmu_get_httbr()
1618 hyp_pgtable = kzalloc(sizeof(*hyp_pgtable), GFP_KERNEL); in kvm_mmu_init()
1619 if (!hyp_pgtable) { in kvm_mmu_init()
1625 err = kvm_pgtable_hyp_init(hyp_pgtable, *hyp_va_bits, &kvm_hyp_mm_ops); in kvm_mmu_init()
1637 kvm_pgtable_hyp_destroy(hyp_pgtable); in kvm_mmu_init()
1639 kfree(hyp_pgtable); in kvm_mmu_init()
1640 hyp_pgtable = NULL; in kvm_mmu_init()