Searched refs:nested_mmus (Results 1 – 2 of 2) sorted by relevance
50 kvm->arch.nested_mmus = kvmalloc_objs(struct kvm_s2_mmu *, in kvm_init_nested()56 return kvm->arch.nested_mmus ? 0 : -ENOMEM; in kvm_init_nested()62 kvfree(kvm->arch.nested_mmus[i]); in kvm_destroy_nested()65 kvfree(kvm->arch.nested_mmus); in kvm_destroy_nested()130 kvm->arch.nested_mmus[i + kvm->arch.nested_mmus_size] = &tmp[i]; in kvm_vcpu_init_nested()748 struct kvm_s2_mmu *mmu = kvm->arch.nested_mmus[i]; in kvm_s2_mmu_iterate_by_vmid()790 struct kvm_s2_mmu *mmu = kvm->arch.nested_mmus[i]; in lookup_s2_mmu()829 s2_mmu = kvm->arch.nested_mmus[i % kvm->arch.nested_mmus_size]; in get_s2_mmu_nested()1287 struct kvm_s2_mmu *mmu = kvm->arch.nested_mmus[i]; in kvm_nested_s2_wp()1306 struct kvm_s2_mmu *mmu = kvm->arch.nested_mmus[i]; in kvm_nested_s2_unmap()[all …]
327 struct kvm_s2_mmu **nested_mmus; member