Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsegment.h137 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
220 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
Dptrace.h154 return regs->cs == __USER_CS; in user_64bit_mode()
157 return regs->cs == __USER_CS || regs->cs == pv_info.extra_user_64bit_cs; in user_64bit_mode()
/kernel/linux/linux-5.10/arch/x86/xen/
Dxen-asm.S237 pushq $__USER_CS
290 movq $__USER_CS, 1*8(%rsp)
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsignal.c367 regs->cs = __USER_CS; in __setup_frame()
432 regs->cs = __USER_CS; in __setup_rt_frame()
519 regs->cs = __USER_CS; in __setup_rt_frame()
605 regs->cs = __USER_CS; in x32_setup_rt_frame()
Dprocess_32.c122 regs->cs = __USER_CS; in start_thread()
Dprocess_64.c509 __USER_CS, __USER_DS, 0); in start_thread()
518 ? __USER_CS : __USER32_CS, in compat_start_thread()
Dparavirt.c266 .extra_user_64bit_cs = __USER_CS,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/entry/
Dcommon.c193 regs->cs == __USER_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
Dentry_64.S110 pushq $__USER_CS /* pt_regs->cs */
161 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */
Dentry_32.S921 pushl $__USER_CS /* pt_regs->cs */
/kernel/linux/linux-5.10/arch/x86/events/
Dperf_event.h1052 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
Dcore.c2721 if (user_mode(regs) && regs->cs != __USER_CS) in code_segment_base()