Home
last modified time | relevance | path

Searched refs:__USER_DS (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/arch/x86/kernel/
Dsignal_32.c286 loadsegment(ds, __USER_DS); in ia32_setup_frame()
287 loadsegment(es, __USER_DS); in ia32_setup_frame()
289 regs->ds = __USER_DS; in ia32_setup_frame()
290 regs->es = __USER_DS; in ia32_setup_frame()
294 regs->ss = __USER_DS; in ia32_setup_frame()
368 loadsegment(ds, __USER_DS); in ia32_setup_rt_frame()
369 loadsegment(es, __USER_DS); in ia32_setup_rt_frame()
371 regs->ds = __USER_DS; in ia32_setup_rt_frame()
372 regs->es = __USER_DS; in ia32_setup_rt_frame()
376 regs->ss = __USER_DS; in ia32_setup_rt_frame()
Dprocess_32.c116 regs->ds = __USER_DS; in start_thread()
117 regs->es = __USER_DS; in start_thread()
118 regs->ss = __USER_DS; in start_thread()
Ddoublefault_32.c96 .es = __USER_DS,
99 .ds = __USER_DS,
Dprocess_64.c311 loadseg(which, __USER_DS); in load_seg_legacy()
514 loadsegment(fs, __USER_DS); in start_thread_common()
515 load_gs_index(__USER_DS); in start_thread_common()
536 __USER_CS, __USER_DS, 0); in start_thread()
545 __USER_DS, __USER_DS); in compat_start_thread()
Dsignal_64.c47 regs->ss = __USER_DS; in force_valid_ss()
233 if (unlikely(regs->ss != __USER_DS)) in x64_setup_rt_frame()
346 loadsegment(ds, __USER_DS); in x32_setup_rt_frame()
347 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
350 regs->ss = __USER_DS; in x32_setup_rt_frame()
Dsignal.c104 regs->ss != __USER_DS && in get_sigframe()
Dhead_32.S291 movl $(__USER_DS),%eax # DS/ES contains default USER segment
/Linux-v6.6/arch/x86/xen/
Dxen-asm.S248 movq $__USER_DS, 4*8(%rsp)
268 movq $__USER_DS, 4*8(%rsp)
290 movq $__USER_DS, 4*8(%rsp)
Dsmp_pv.c278 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context()
279 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context()
/Linux-v6.6/arch/x86/include/asm/
Dsegment.h137 #define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS*8 + 3) macro
216 #define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS*8 + 3) macro
Delf.h172 elf_common_init(&current->thread, regs, __USER_DS)
/Linux-v6.6/arch/x86/entry/
Dentry_64_compat.S64 pushq $__USER_DS /* pt_regs->ss */
199 pushq $__USER_DS /* pt_regs->ss */
Dcommon.c216 return regs->cs == __USER32_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
231 regs->cs == __USER_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
Dentry_64.S101 pushq $__USER_DS /* pt_regs->ss */
191 cmpq $__USER_DS, SS(%rsp) /* SS must match SYSRET */
809 movl $__USER_DS, %eax
Dentry_32.S230 movl $(__USER_DS), %edx
807 pushl $__USER_DS /* pt_regs->ss */
/Linux-v6.6/arch/x86/power/
Dcpu.c225 loadsegment(ds, __USER_DS); in __restore_processor_state()
226 loadsegment(es, __USER_DS); in __restore_processor_state()
/Linux-v6.6/arch/x86/kernel/acpi/
Dwakeup_32.S18 movw $__USER_DS, %ax
/Linux-v6.6/arch/x86/mm/
Dextable.c205 asm volatile ("mov %0, %%fs" : : "rm" (__USER_DS)); in ex_handler_clear_fs()
/Linux-v6.6/arch/x86/math-emu/
Dfpu_entry.c134 } else if (FPU_CS == __USER_CS && FPU_DS == __USER_DS) { in math_emulate()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c7387 loadsegment(ds, __USER_DS); in vmx_vcpu_run()
7388 loadsegment(es, __USER_DS); in vmx_vcpu_run()