Searched refs:VCPU_REGS_RAX (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/arch/x86/kvm/ |
D | kvm_cache_regs.h | 84 return (kvm_register_read(vcpu, VCPU_REGS_RAX) & -1u) in kvm_read_edx_eax()
|
D | emulate.c | 1988 int reg = VCPU_REGS_RAX; in em_pusha() 2016 while (reg >= VCPU_REGS_RAX) { in em_popa() 2226 if (((u32) (old >> 0) != (u32) reg_read(ctxt, VCPU_REGS_RAX)) || in em_cmpxchg8b() 2228 *reg_write(ctxt, VCPU_REGS_RAX) = (u32) (old >> 0); in em_cmpxchg8b() 2296 ctxt->dst.val = reg_read(ctxt, VCPU_REGS_RAX); in em_cmpxchg() 2308 ctxt->src.addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); in em_cmpxchg() 2988 tss->ax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss16() 3012 *reg_write(ctxt, VCPU_REGS_RAX) = tss->ax; in load_state_from_tss16() 3102 tss->eax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss32() 3131 *reg_write(ctxt, VCPU_REGS_RAX) = tss->eax; in load_state_from_tss32() [all …]
|
D | hyperv.c | 1384 kvm_register_write(vcpu, VCPU_REGS_RAX, result); in kvm_hv_hypercall_set_result() 1387 kvm_register_write(vcpu, VCPU_REGS_RAX, result & 0xffffffff); in kvm_hv_hypercall_set_result() 1461 (kvm_register_read(vcpu, VCPU_REGS_RAX) & 0xffffffff); in kvm_hv_hypercall()
|
D | cpuid.c | 946 eax = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_emulate_cpuid() 949 kvm_register_write(vcpu, VCPU_REGS_RAX, eax); in kvm_emulate_cpuid()
|
D | svm.c | 3373 kvm_register_write(&svm->vcpu, VCPU_REGS_RAX, hsave->save.rax); in nested_svm_vmexit() 3474 kvm_register_write(&svm->vcpu, VCPU_REGS_RAX, nested_vmcb->save.rax); in enter_svm_guest_mode() 3745 kvm_register_read(&svm->vcpu, VCPU_REGS_RAX)); in invlpga_interception() 3748 kvm_mmu_invlpg(vcpu, kvm_register_read(&svm->vcpu, VCPU_REGS_RAX)); in invlpga_interception() 3756 trace_kvm_skinit(svm->vmcb->save.rip, kvm_register_read(&svm->vcpu, VCPU_REGS_RAX)); in skinit_interception() 4178 kvm_register_write(&svm->vcpu, VCPU_REGS_RAX, in rdmsr_interception() 5557 svm->vmcb->save.rax = vcpu->arch.regs[VCPU_REGS_RAX]; in svm_vcpu_run() 5731 vcpu->arch.regs[VCPU_REGS_RAX] = svm->vmcb->save.rax; in svm_vcpu_run() 6165 svm->vmcb->save.rax = vcpu->arch.regs[VCPU_REGS_RAX]; in svm_pre_enter_smm()
|
D | x86.c | 1017 kvm_register_write(vcpu, VCPU_REGS_RAX, (u32)data); in kvm_rdpmc() 6315 unsigned long val = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_fast_pio_out() 6331 val = (vcpu->arch.pio.size < 4) ? kvm_register_read(vcpu, VCPU_REGS_RAX) in complete_fast_pio_in() 6340 kvm_register_write(vcpu, VCPU_REGS_RAX, val); in complete_fast_pio_in() 6352 val = (size < 4) ? kvm_register_read(vcpu, VCPU_REGS_RAX) : 0; in kvm_fast_pio_in() 6357 kvm_register_write(vcpu, VCPU_REGS_RAX, val); in kvm_fast_pio_in() 6834 nr = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_emulate_hypercall() 6879 kvm_register_write(vcpu, VCPU_REGS_RAX, ret); in kvm_emulate_hypercall() 7956 regs->rax = kvm_register_read(vcpu, VCPU_REGS_RAX); in __get_regs() 7992 kvm_register_write(vcpu, VCPU_REGS_RAX, regs->rax); in __set_regs()
|
D | vmx.c | 7438 vcpu->arch.regs[VCPU_REGS_RAX] = msr_info.data & -1u; in handle_rdmsr() 7447 u64 data = (vcpu->arch.regs[VCPU_REGS_RAX] & -1u) in handle_wrmsr() 9313 u32 function = vcpu->arch.regs[VCPU_REGS_RAX]; in handle_vmfunc() 10829 [rax]"i"(offsetof(struct vcpu_vmx, vcpu.arch.regs[VCPU_REGS_RAX])), in vmx_vcpu_run()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | kvm_host.h | 132 VCPU_REGS_RAX = 0, enumerator
|