Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/entry/
Dentry_32.S320 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
399 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %ecx
402 andl $SEGMENT_RPL_MASK, %ecx
1078 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
1084 andl $SEGMENT_RPL_MASK, %eax
/linux-6.1.9/arch/x86/include/asm/
Dsegment.h33 #define SEGMENT_RPL_MASK 0x3 macro
Dptrace.h134 return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >= USER_RPL; in user_mode()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c1067 if (!(selector & ~SEGMENT_RPL_MASK)) in segment_base()
1075 if (!(ldt_selector & ~SEGMENT_RPL_MASK)) in segment_base()
2858 save->selector &= ~SEGMENT_RPL_MASK; in fix_pmode_seg()
2859 save->dpl = save->selector & SEGMENT_RPL_MASK; in fix_pmode_seg()
3531 cs_rpl = cs.selector & SEGMENT_RPL_MASK; in code_segment_valid()
3559 ss_rpl = ss.selector & SEGMENT_RPL_MASK; in stack_segment_valid()
3581 rpl = var.selector & SEGMENT_RPL_MASK; in data_segment_valid()
3643 return ((cs.selector & SEGMENT_RPL_MASK) == in cs_ss_rpl_check()
3644 (ss.selector & SEGMENT_RPL_MASK)); in cs_ss_rpl_check()
Dnested.c2919 if (CC(vmcs12->host_cs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2920 CC(vmcs12->host_ss_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2921 CC(vmcs12->host_ds_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2922 CC(vmcs12->host_es_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2923 CC(vmcs12->host_fs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2924 CC(vmcs12->host_gs_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
2925 CC(vmcs12->host_tr_selector & (SEGMENT_RPL_MASK | SEGMENT_TI_MASK)) || in nested_vmx_check_host_state()
/linux-6.1.9/arch/x86/lib/
Dinsn-eval.c655 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
/linux-6.1.9/arch/x86/kernel/
Dptrace.c150 return unlikely(value != 0 && (value & SEGMENT_RPL_MASK) != USER_RPL); in invalid_selector()
/linux-6.1.9/arch/x86/kvm/
Demulate.c2832 cs_sel = (u16)msr_data & ~SEGMENT_RPL_MASK; in em_sysenter()
2901 cs_sel |= SEGMENT_RPL_MASK; in em_sysexit()
2902 ss_sel |= SEGMENT_RPL_MASK; in em_sysexit()