Lines Matching refs:vcpu_44x
121 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_core_vcpu_setup() local
122 struct kvmppc_44x_tlbe *tlbe = &vcpu_44x->guest_tlb[0]; in kvmppc_core_vcpu_setup()
142 for (i = 0; i < ARRAY_SIZE(vcpu_44x->shadow_refs); i++) in kvmppc_core_vcpu_setup()
143 vcpu_44x->shadow_refs[i].gtlb_index = -1; in kvmppc_core_vcpu_setup()
152 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_core_vcpu_translate() local
169 gtlbe = &vcpu_44x->guest_tlb[index]; in kvmppc_core_vcpu_translate()
180 struct kvmppc_vcpu_44x *vcpu_44x; in kvmppc_core_vcpu_create() local
184 vcpu_44x = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvmppc_core_vcpu_create()
185 if (!vcpu_44x) { in kvmppc_core_vcpu_create()
190 vcpu = &vcpu_44x->vcpu; in kvmppc_core_vcpu_create()
198 kmem_cache_free(kvm_vcpu_cache, vcpu_44x); in kvmppc_core_vcpu_create()
205 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_core_vcpu_free() local
208 kmem_cache_free(kvm_vcpu_cache, vcpu_44x); in kvmppc_core_vcpu_free()