Searched refs:SEGMENT_RPL_MASK (Results 1 – 7 of 7) sorted by relevance
196 andl $SEGMENT_RPL_MASK, %ecx
103 return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >= USER_RPL; in user_mode()
31 #define SEGMENT_RPL_MASK 0x3 macro
300 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax306 andl $SEGMENT_RPL_MASK, %eax531 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
147 return unlikely(value != 0 && (value & SEGMENT_RPL_MASK) != USER_RPL); in invalid_selector()
3766 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()
2796 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()