Lines Matching refs:hyp_pgtable
25 static struct kvm_pgtable *hyp_pgtable; variable
383 if (hyp_pgtable) { in free_hyp_pgds()
384 kvm_pgtable_hyp_destroy(hyp_pgtable); in free_hyp_pgds()
385 kfree(hyp_pgtable); in free_hyp_pgds()
386 hyp_pgtable = NULL; in free_hyp_pgds()
404 if (!hyp_pgtable && is_protected_kvm_enabled()) in kvm_host_owns_hyp_mappings()
407 WARN_ON(!hyp_pgtable); in kvm_host_owns_hyp_mappings()
421 err = kvm_pgtable_hyp_map(hyp_pgtable, start, size, phys, prot); in __create_hyp_mappings()
1950 return __pa(hyp_pgtable->pgd); in kvm_mmu_get_httbr()
2037 hyp_pgtable = kzalloc(sizeof(*hyp_pgtable), GFP_KERNEL); in kvm_mmu_init()
2038 if (!hyp_pgtable) { in kvm_mmu_init()
2044 err = kvm_pgtable_hyp_init(hyp_pgtable, *hyp_va_bits, &kvm_hyp_mm_ops); in kvm_mmu_init()
2056 kvm_pgtable_hyp_destroy(hyp_pgtable); in kvm_mmu_init()
2058 kfree(hyp_pgtable); in kvm_mmu_init()
2059 hyp_pgtable = NULL; in kvm_mmu_init()