Searched refs:SEGMENT_RPL_MASK (Results 1 – 8 of 8) sorted by relevance
320 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax399 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %ecx402 andl $SEGMENT_RPL_MASK, %ecx1050 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax1056 andl $SEGMENT_RPL_MASK, %eax
33 #define SEGMENT_RPL_MASK 0x3 macro
212 return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >= USER_RPL; in user_mode()
1162 if (!(selector & ~SEGMENT_RPL_MASK)) in segment_base()1170 if (!(ldt_selector & ~SEGMENT_RPL_MASK)) in segment_base()3022 save->selector &= ~SEGMENT_RPL_MASK; in fix_pmode_seg()3023 save->dpl = save->selector & SEGMENT_RPL_MASK; in fix_pmode_seg()3705 cs_rpl = cs.selector & SEGMENT_RPL_MASK; in code_segment_valid()3733 ss_rpl = ss.selector & SEGMENT_RPL_MASK; in stack_segment_valid()3755 rpl = var.selector & SEGMENT_RPL_MASK; in data_segment_valid()3817 return ((cs.selector & SEGMENT_RPL_MASK) == in cs_ss_rpl_check()3818 (ss.selector & SEGMENT_RPL_MASK)); in cs_ss_rpl_check()
3046 if (CC(vmcs12->host_cs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()3047 CC(vmcs12->host_ss_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()3048 CC(vmcs12->host_ds_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()3049 CC(vmcs12->host_es_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()3050 CC(vmcs12->host_fs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()3051 CC(vmcs12->host_gs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()3052 CC(vmcs12->host_tr_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
655 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
170 return unlikely(value != 0 && (value & SEGMENT_RPL_MASK) != USER_RPL); in invalid_selector()
2455 cs_sel = (u16)msr_data & ~SEGMENT_RPL_MASK; in em_sysenter()2524 cs_sel |= SEGMENT_RPL_MASK; in em_sysexit()2525 ss_sel |= SEGMENT_RPL_MASK; in em_sysexit()