Lines Matching refs:l2_regs
215 struct pt_regs *l2_regs, in kvmhv_read_guest_state_and_regs() argument
232 kvm_vcpu_read_guest(vcpu, regs_ptr, l2_regs, in kvmhv_read_guest_state_and_regs()
238 struct pt_regs *l2_regs, in kvmhv_write_guest_state_and_regs() argument
248 kvm_vcpu_write_guest(vcpu, regs_ptr, l2_regs, in kvmhv_write_guest_state_and_regs()
292 struct pt_regs l2_regs, saved_l1_regs; in kvmhv_enter_nested_guest() local
309 err = kvmhv_read_guest_state_and_regs(vcpu, &l2_hv, &l2_regs, in kvmhv_enter_nested_guest()
321 byteswap_pt_regs(&l2_regs); in kvmhv_enter_nested_guest()
333 if (!MSR_TM_ACTIVE(l2_regs.msr)) in kvmhv_enter_nested_guest()
336 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
366 vcpu->arch.regs = l2_regs; in kvmhv_enter_nested_guest()
381 l2_regs = vcpu->arch.regs; in kvmhv_enter_nested_guest()
382 l2_regs.msr = vcpu->arch.shregs.msr; in kvmhv_enter_nested_guest()
394 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
410 byteswap_pt_regs(&l2_regs); in kvmhv_enter_nested_guest()
413 err = kvmhv_write_guest_state_and_regs(vcpu, &l2_hv, &l2_regs, in kvmhv_enter_nested_guest()