Home
last modified time | relevance | path

Searched refs:SEGMENT_RPL_MASK (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/arch/x86/entry/
Dentry_32.S175 testl $SEGMENT_RPL_MASK, PT_CS(%esp)
220 testl $SEGMENT_RPL_MASK, 3*4(%esp)
410 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
491 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %ecx
494 andl $SEGMENT_RPL_MASK, %ecx
817 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
823 andl $SEGMENT_RPL_MASK, %eax
/Linux-v5.4/arch/x86/xen/
Dxen-asm_32.S180 andl $SEGMENT_RPL_MASK, %ecx
/Linux-v5.4/arch/x86/include/asm/
Dsegment.h32 #define SEGMENT_RPL_MASK 0x3 macro
Dptrace.h129 return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >= USER_RPL; in user_mode()
/Linux-v5.4/arch/x86/kvm/vmx/
Dnested.c2685 if (CC(vmcs12->host_cs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2686 CC(vmcs12->host_ss_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2687 CC(vmcs12->host_ds_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2688 CC(vmcs12->host_es_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2689 CC(vmcs12->host_fs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2690 CC(vmcs12->host_gs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2691 CC(vmcs12->host_tr_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
Dvmx.c1026 if (!(selector & ~SEGMENT_RPL_MASK)) in segment_base()
1034 if (!(ldt_selector & ~SEGMENT_RPL_MASK)) in segment_base()
2664 save->selector &= ~SEGMENT_RPL_MASK; in fix_pmode_seg()
2665 save->dpl = save->selector & SEGMENT_RPL_MASK; in fix_pmode_seg()
3278 cs_rpl = cs.selector & SEGMENT_RPL_MASK; in code_segment_valid()
3306 ss_rpl = ss.selector & SEGMENT_RPL_MASK; in stack_segment_valid()
3328 rpl = var.selector & SEGMENT_RPL_MASK; in data_segment_valid()
3390 return ((cs.selector & SEGMENT_RPL_MASK) == in cs_ss_rpl_check()
3391 (ss.selector & SEGMENT_RPL_MASK)); in cs_ss_rpl_check()
/Linux-v5.4/arch/x86/lib/
Dinsn-eval.c607 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
/Linux-v5.4/arch/x86/kernel/
Dptrace.c151 return unlikely(value != 0 && (value & SEGMENT_RPL_MASK) != USER_RPL); in invalid_selector()
/Linux-v5.4/arch/x86/kvm/
Demulate.c2848 cs_sel = (u16)msr_data & ~SEGMENT_RPL_MASK; in em_sysenter()
2915 cs_sel |= SEGMENT_RPL_MASK; in em_sysexit()
2916 ss_sel |= SEGMENT_RPL_MASK; in em_sysexit()