Lines Matching refs:to_book3s

63 	memcpy(svcpu->slb, to_book3s(vcpu)->slb_shadow, sizeof(svcpu->slb));  in kvmppc_core_vcpu_load()
64 memcpy(&get_paca()->shadow_vcpu, to_book3s(vcpu)->shadow_vcpu, in kvmppc_core_vcpu_load()
66 svcpu->slb_max = to_book3s(vcpu)->slb_shadow_max; in kvmppc_core_vcpu_load()
71 current->thread.kvm_shadow_vcpu = to_book3s(vcpu)->shadow_vcpu; in kvmppc_core_vcpu_load()
79 memcpy(to_book3s(vcpu)->slb_shadow, svcpu->slb, sizeof(svcpu->slb)); in kvmppc_core_vcpu_put()
80 memcpy(to_book3s(vcpu)->shadow_vcpu, &get_paca()->shadow_vcpu, in kvmppc_core_vcpu_put()
82 to_book3s(vcpu)->slb_shadow_max = svcpu->slb_max; in kvmppc_core_vcpu_put()
116 msr &= to_book3s(vcpu)->msr_mask; in kvmppc_set_msr()
161 if (!to_book3s(vcpu)->hior_explicit) in kvmppc_set_pvr()
162 to_book3s(vcpu)->hior = 0xfff00000; in kvmppc_set_pvr()
163 to_book3s(vcpu)->msr_mask = 0xffffffffffffffffULL; in kvmppc_set_pvr()
169 if (!to_book3s(vcpu)->hior_explicit) in kvmppc_set_pvr()
170 to_book3s(vcpu)->hior = 0; in kvmppc_set_pvr()
171 to_book3s(vcpu)->msr_mask = 0xffffffffULL; in kvmppc_set_pvr()
187 to_book3s(vcpu)->msr_mask &= ~(MSR_FE0 | MSR_FE1); in kvmppc_set_pvr()
817 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvm_arch_vcpu_ioctl_get_sregs()
822 sregs->u.s.sdr1 = to_book3s(vcpu)->sdr1; in kvm_arch_vcpu_ioctl_get_sregs()
844 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvm_arch_vcpu_ioctl_set_sregs()
884 &to_book3s(vcpu)->hior, sizeof(u64)); in kvm_vcpu_ioctl_get_one_reg()
899 r = copy_from_user(&to_book3s(vcpu)->hior, in kvm_vcpu_ioctl_set_one_reg()
902 to_book3s(vcpu)->hior_explicit = true; in kvm_vcpu_ioctl_set_one_reg()
973 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_core_vcpu_free()