Home
last modified time | relevance | path

Searched refs:get_segment_selector (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/x86/lib/
Dinsn-eval.c345 static short get_segment_selector(struct pt_regs *regs, int seg_reg_idx) in get_segment_selector() function
668 sel = get_segment_selector(regs, seg_reg_idx); in insn_get_seg_base()
736 sel = get_segment_selector(regs, seg_reg_idx); in get_seg_limit()
787 sel = get_segment_selector(regs, INAT_SEG_REG_CS); in insn_get_code_seg_params()
/Linux-v5.10/arch/x86/kvm/
Demulate.c648 static u16 get_segment_selector(struct x86_emulate_ctxt *ctxt, unsigned seg) in get_segment_selector() function
2005 ctxt->src.val = get_segment_selector(ctxt, seg); in em_push_sreg()
2097 ctxt->src.val = get_segment_selector(ctxt, VCPU_SREG_CS); in __emulate_int_real()
3053 tss->es = get_segment_selector(ctxt, VCPU_SREG_ES); in save_state_to_tss16()
3054 tss->cs = get_segment_selector(ctxt, VCPU_SREG_CS); in save_state_to_tss16()
3055 tss->ss = get_segment_selector(ctxt, VCPU_SREG_SS); in save_state_to_tss16()
3056 tss->ds = get_segment_selector(ctxt, VCPU_SREG_DS); in save_state_to_tss16()
3057 tss->ldt = get_segment_selector(ctxt, VCPU_SREG_LDTR); in save_state_to_tss16()
3167 tss->es = get_segment_selector(ctxt, VCPU_SREG_ES); in save_state_to_tss32()
3168 tss->cs = get_segment_selector(ctxt, VCPU_SREG_CS); in save_state_to_tss32()
[all …]