Lines Matching refs:l2_regs
216 struct pt_regs *l2_regs, in kvmhv_read_guest_state_and_regs() argument
233 kvm_vcpu_read_guest(vcpu, regs_ptr, l2_regs, in kvmhv_read_guest_state_and_regs()
239 struct pt_regs *l2_regs, in kvmhv_write_guest_state_and_regs() argument
249 kvm_vcpu_write_guest(vcpu, regs_ptr, l2_regs, in kvmhv_write_guest_state_and_regs()
293 struct pt_regs l2_regs, saved_l1_regs; in kvmhv_enter_nested_guest() local
310 err = kvmhv_read_guest_state_and_regs(vcpu, &l2_hv, &l2_regs, in kvmhv_enter_nested_guest()
322 byteswap_pt_regs(&l2_regs); in kvmhv_enter_nested_guest()
334 if (!MSR_TM_ACTIVE(l2_regs.msr)) in kvmhv_enter_nested_guest()
337 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
367 vcpu->arch.regs = l2_regs; in kvmhv_enter_nested_guest()
382 l2_regs = vcpu->arch.regs; in kvmhv_enter_nested_guest()
383 l2_regs.msr = vcpu->arch.shregs.msr; in kvmhv_enter_nested_guest()
395 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
411 byteswap_pt_regs(&l2_regs); in kvmhv_enter_nested_guest()
414 err = kvmhv_write_guest_state_and_regs(vcpu, &l2_hv, &l2_regs, in kvmhv_enter_nested_guest()