Searched refs:nested_mmus (Results 1 – 2 of 2) sorted by relevance
29 kvm->arch.nested_mmus = NULL; in kvm_init_nested()65 tmp = kvrealloc(kvm->arch.nested_mmus, in kvm_vcpu_init_nested()66 size_mul(sizeof(*kvm->arch.nested_mmus), num_mmus), in kvm_vcpu_init_nested()71 swap(kvm->arch.nested_mmus, tmp); in kvm_vcpu_init_nested()77 if (kvm->arch.nested_mmus != tmp) in kvm_vcpu_init_nested()79 kvm->arch.nested_mmus[i].pgt->mmu = &kvm->arch.nested_mmus[i]; in kvm_vcpu_init_nested()86 kvm_free_stage2_pgd(&kvm->arch.nested_mmus[i]); in kvm_vcpu_init_nested()546 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in kvm_s2_mmu_iterate_by_vmid()588 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in lookup_s2_mmu()798 kvfree(kvm->arch.nested_mmus); in kvm_arch_flush_shadow_all()[all …]
302 struct kvm_s2_mmu *nested_mmus; member