Home
last modified time | relevance | path

Searched refs:VCPU_SREG_GS (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c2727 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_GS], VCPU_SREG_GS); in enter_pmode()
2750 fix_pmode_seg(vcpu, VCPU_SREG_GS, &vmx->rmode.segs[VCPU_SREG_GS]); in enter_pmode()
2796 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_GS], VCPU_SREG_GS); in enter_rmode()
2829 fix_rmode_seg(VCPU_SREG_GS, &vmx->rmode.segs[VCPU_SREG_GS]); in enter_rmode()
3487 if (!rmode_segment_valid(vcpu, VCPU_SREG_GS)) in __vmx_guest_state_valid()
3503 if (!data_segment_valid(vcpu, VCPU_SREG_GS)) in __vmx_guest_state_valid()
4418 seg_setup(VCPU_SREG_GS); in vmx_vcpu_reset()
Dnested.c4253 vmx_set_segment(vcpu, &seg, VCPU_SREG_GS); in load_vmcs12_host_state()
4615 if (seg_reg == VCPU_SREG_FS || seg_reg == VCPU_SREG_GS) in get_vmx_mem_address()
/Linux-v5.10/arch/x86/kvm/
Demulate.c1664 } else if (seg <= VCPU_SREG_GS && ctxt->mode == X86EMUL_MODE_VM86) { in __load_segment_descriptor()
1715 if (seg <= VCPU_SREG_GS && !seg_desc.s) { in __load_segment_descriptor()
3172 tss->gs = get_segment_selector(ctxt, VCPU_SREG_GS); in save_state_to_tss32()
3207 set_segment_selector(ctxt, tss->gs, VCPU_SREG_GS); in load_state_from_tss32()
3250 ret = __load_segment_descriptor(ctxt, tss->gs, VCPU_SREG_GS, cpl, in load_state_from_tss32()
3742 if (segment > VCPU_SREG_GS && in em_store_sreg()
3755 if (ctxt->modrm_reg > VCPU_SREG_GS) in em_mov_rm_sreg()
3765 if (ctxt->modrm_reg == VCPU_SREG_CS || ctxt->modrm_reg > VCPU_SREG_GS) in em_mov_sreg_rm()
5173 op->val = VCPU_SREG_GS; in decode_operand()
5277 ctxt->seg_override = VCPU_SREG_GS; in x86_decode_insn()
Dx86.c8576 kvm_set_segment(vcpu, &ds, VCPU_SREG_GS); in enter_smm()
9424 kvm_get_segment(vcpu, &sregs->gs, VCPU_SREG_GS); in __get_sregs()
9628 kvm_set_segment(vcpu, &sregs->gs, VCPU_SREG_GS); in __set_sregs()
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h180 VCPU_SREG_GS, enumerator
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c1508 case VCPU_SREG_GS: return &save->gs; in svm_seg()
1567 case VCPU_SREG_GS: in svm_get_segment()