Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/include/asm/
Dsegment.h138 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
139 #define __USER32_CS __USER_CS
217 #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-v6.6/arch/x86/kernel/
Dprocess_32.c119 regs->cs = __USER_CS; in start_thread()
Dprocess_64.c536 __USER_CS, __USER_DS, 0); in start_thread()
544 x32 ? __USER_CS : __USER32_CS, in compat_start_thread()
Dsignal_64.c231 regs->cs = __USER_CS; in x64_setup_rt_frame()
349 regs->cs = __USER_CS; in x32_setup_rt_frame()
Dparavirt.c176 .extra_user_64bit_cs = __USER_CS,
/Linux-v6.6/arch/x86/math-emu/
Derrors.c46 if (FPU_CS == __USER_CS) {
94 if (FPU_CS == __USER_CS) { in FPU_printall()
Dfpu_entry.c134 } else if (FPU_CS == __USER_CS && FPU_DS == __USER_DS) { in math_emulate()
/Linux-v6.6/arch/x86/entry/
Dcommon.c231 regs->cs == __USER_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
Dentry_64.S104 pushq $__USER_CS /* pt_regs->cs */
161 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */
Dentry_32.S810 pushl $__USER_CS /* pt_regs->cs */
/Linux-v6.6/arch/x86/xen/
Dxen-asm.S249 movq $__USER_CS, 1*8(%rsp)
/Linux-v6.6/arch/x86/events/
Dperf_event.h1215 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
Dcore.c2929 if (user_mode(regs) && regs->cs != __USER_CS) in code_segment_base()