Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/include/asm/
Dsegment.h123 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
207 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
Dptrace.h133 return regs->cs == __USER_CS; in user_64bit_mode()
136 return regs->cs == __USER_CS || regs->cs == pv_info.extra_user_64bit_cs; in user_64bit_mode()
/linux-4.1.27/arch/m32r/include/asm/
Dsegment.h7 #define __USER_CS 0x23 macro
/linux-4.1.27/arch/x86/kernel/
Dsignal.c332 regs->cs = __USER_CS; in __setup_frame()
398 regs->cs = __USER_CS; in __setup_rt_frame()
461 regs->cs = __USER_CS; in __setup_rt_frame()
526 regs->cs = __USER_CS; in x32_setup_rt_frame()
Dprocess_64.c250 __USER_CS, __USER_DS, 0); in start_thread()
258 ? __USER_CS : __USER32_CS, in start_thread_ia32()
Dprocess_32.c205 regs->cs = __USER_CS; in start_thread()
Dparavirt.c318 .extra_user_64bit_cs = __USER_CS,
Dentry_64.S233 pushq_cfi $__USER_CS /* pt_regs->cs */
443 cmpq $__USER_CS,CS(%rsp) /* CS must match SYSRET */
Dentry_32.S394 pushl_cfi $__USER_CS
/linux-4.1.27/arch/x86/xen/
Dxen-asm_64.S77 pushq $__USER_CS
/linux-4.1.27/arch/x86/math-emu/
Derrors.c45 if (FPU_CS == __USER_CS) {
93 if (FPU_CS == __USER_CS) { in FPU_printall()
Dfpu_entry.c173 } else if (FPU_CS == __USER_CS && FPU_DS == __USER_DS) { in math_emulate()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event.h774 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
Dperf_event.c2310 if (user_mode(regs) && regs->cs != __USER_CS) in code_segment_base()