Home
last modified time | relevance | path

Searched refs:__USER_CS (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/arch/x86/include/asm/
Dsegment.h136 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
213 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
Dptrace.h157 return regs->cs == __USER_CS; in user_64bit_mode()
160 return regs->cs == __USER_CS || regs->cs == pv_info.extra_user_64bit_cs; in user_64bit_mode()
/Linux-v5.15/arch/x86/kernel/
Dsignal.c372 regs->cs = __USER_CS; in __setup_frame()
437 regs->cs = __USER_CS; in __setup_rt_frame()
524 regs->cs = __USER_CS; in __setup_rt_frame()
610 regs->cs = __USER_CS; in x32_setup_rt_frame()
Dprocess_32.c122 regs->cs = __USER_CS; in start_thread()
Dprocess_64.c533 __USER_CS, __USER_DS, 0); in start_thread()
541 x32 ? __USER_CS : __USER32_CS, in compat_start_thread()
Dparavirt.c234 .extra_user_64bit_cs = __USER_CS,
/Linux-v5.15/arch/x86/math-emu/
Derrors.c46 if (FPU_CS == __USER_CS) {
94 if (FPU_CS == __USER_CS) { in FPU_printall()
Dfpu_entry.c133 } else if (FPU_CS == __USER_CS && FPU_DS == __USER_DS) { in math_emulate()
/Linux-v5.15/arch/x86/xen/
Dxen-asm.S221 movq $__USER_CS, 1*8(%rsp)
/Linux-v5.15/arch/x86/entry/
Dcommon.c231 regs->cs == __USER_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
Dentry_64.S102 pushq $__USER_CS /* pt_regs->cs */
154 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */
Dentry_32.S842 pushl $__USER_CS /* pt_regs->cs */
/Linux-v5.15/arch/x86/events/
Dperf_event.h1178 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
Dcore.c2936 if (user_mode(regs) && regs->cs != __USER_CS) in code_segment_base()