Lines Matching refs:nested_mmus
32 kvm->arch.nested_mmus = NULL; in kvm_init_nested()
64 tmp = kvrealloc(kvm->arch.nested_mmus, in kvm_vcpu_init_nested()
65 size_mul(sizeof(*kvm->arch.nested_mmus), num_mmus), in kvm_vcpu_init_nested()
74 if (kvm->arch.nested_mmus != tmp) in kvm_vcpu_init_nested()
89 kvm->arch.nested_mmus = tmp; in kvm_vcpu_init_nested()
544 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in kvm_s2_mmu_iterate_by_vmid()
586 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in lookup_s2_mmu()
625 s2_mmu = &kvm->arch.nested_mmus[i % kvm->arch.nested_mmus_size]; in get_s2_mmu_nested()
751 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in kvm_nested_s2_wp()
765 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in kvm_nested_s2_unmap()
779 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in kvm_nested_s2_flush()
791 struct kvm_s2_mmu *mmu = &kvm->arch.nested_mmus[i]; in kvm_arch_flush_shadow_all()
796 kvfree(kvm->arch.nested_mmus); in kvm_arch_flush_shadow_all()
797 kvm->arch.nested_mmus = NULL; in kvm_arch_flush_shadow_all()