Home
last modified time | relevance | path

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

/arch/x86/xen/
Dxen-asm_32.S196 andl $SEGMENT_RPL_MASK, %ecx
/arch/x86/include/asm/
Dptrace.h103 return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >= USER_RPL; in user_mode()
Dsegment.h31 #define SEGMENT_RPL_MASK 0x3 macro
/arch/x86/entry/
Dentry_32.S300 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
306 andl $SEGMENT_RPL_MASK, %eax
531 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
/arch/x86/kernel/
Dptrace.c147 return unlikely(value != 0 && (value & SEGMENT_RPL_MASK) != USER_RPL); in invalid_selector()
/arch/x86/kvm/
Dvmx.c3766 save->selector &= ~SEGMENT_RPL_MASK; in fix_pmode_seg()
3767 save->dpl = save->selector & SEGMENT_RPL_MASK; in fix_pmode_seg()
4364 cs_rpl = cs.selector & SEGMENT_RPL_MASK; in code_segment_valid()
4392 ss_rpl = ss.selector & SEGMENT_RPL_MASK; in stack_segment_valid()
4414 rpl = var.selector & SEGMENT_RPL_MASK; in data_segment_valid()
4476 return ((cs.selector & SEGMENT_RPL_MASK) == in cs_ss_rpl_check()
4477 (ss.selector & SEGMENT_RPL_MASK)); in cs_ss_rpl_check()
Demulate.c2796 cs_sel = (u16)msr_data & ~SEGMENT_RPL_MASK; in em_sysenter()
2863 cs_sel |= SEGMENT_RPL_MASK; in em_sysexit()
2864 ss_sel |= SEGMENT_RPL_MASK; in em_sysexit()