Home
last modified time | relevance | path

Searched refs:VCPU_REGS_RSP (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/arch/x86/kvm/
Dkvm_cache_regs.h70 return kvm_register_read(vcpu, VCPU_REGS_RSP); in kvm_rsp_read()
75 kvm_register_write(vcpu, VCPU_REGS_RSP, val); in kvm_rsp_write()
Demulate.c590 masked_increment(reg_rmw(ctxt, VCPU_REGS_RSP), stack_mask(ctxt), inc); in rsp_increment()
1229 if (base_reg == VCPU_REGS_RSP || base_reg == VCPU_REGS_RBP) in adjust_modrm_seg()
1339 base_reg == VCPU_REGS_RSP) in decode_modrm()
1855 addr.ea = reg_read(ctxt, VCPU_REGS_RSP) & stack_mask(ctxt); in push()
1874 addr.ea = reg_read(ctxt, VCPU_REGS_RSP) & stack_mask(ctxt); in emulate_pop()
1953 assign_masked(reg_rmw(ctxt, VCPU_REGS_RBP), reg_read(ctxt, VCPU_REGS_RSP), in em_enter()
1955 assign_masked(reg_rmw(ctxt, VCPU_REGS_RSP), in em_enter()
1956 reg_read(ctxt, VCPU_REGS_RSP) - frame_size, in em_enter()
1963 assign_masked(reg_rmw(ctxt, VCPU_REGS_RSP), reg_read(ctxt, VCPU_REGS_RBP), in em_leave()
2002 unsigned long old_esp = reg_read(ctxt, VCPU_REGS_RSP); in em_pusha()
[all …]
Dsvm.c5604 svm->vmcb->save.rsp = vcpu->arch.regs[VCPU_REGS_RSP]; in svm_vcpu_run()
5781 vcpu->arch.regs[VCPU_REGS_RSP] = svm->vmcb->save.rsp; in svm_vcpu_run()
6230 svm->vmcb->save.rsp = vcpu->arch.regs[VCPU_REGS_RSP]; in svm_pre_enter_smm()
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c2181 case VCPU_REGS_RSP: in vmx_cache_reg()
2182 vcpu->arch.regs[VCPU_REGS_RSP] = vmcs_readl(GUEST_RSP); in vmx_cache_reg()
6517 if (test_bit(VCPU_REGS_RSP, (unsigned long *)&vcpu->arch.regs_dirty)) in vmx_vcpu_run()
6518 vmcs_writel(GUEST_RSP, vcpu->arch.regs[VCPU_REGS_RSP]); in vmx_vcpu_run()
6628 vcpu->arch.regs_avail = ~((1 << VCPU_REGS_RIP) | (1 << VCPU_REGS_RSP) in vmx_vcpu_run()
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h144 VCPU_REGS_RSP = __VCPU_REGS_RSP, enumerator