Home
last modified time | relevance | path

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

/linux-6.12.1/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.c335 loadseg(which, __USER_DS); in load_seg_legacy()
538 loadsegment(fs, __USER_DS); in start_thread_common()
539 load_gs_index(__USER_DS); in start_thread_common()
585 __USER_CS, __USER_DS, 0); in start_thread()
594 __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()
349 loadsegment(ds, __USER_DS); in x32_setup_rt_frame()
350 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
353 regs->ss = __USER_DS; in x32_setup_rt_frame()
Dsignal.c124 regs->ss != __USER_DS && in get_sigframe()
Dhead_32.S278 movl $(__USER_DS),%eax # DS/ES contains default USER segment
/linux-6.12.1/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.c250 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context()
251 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context()
/linux-6.12.1/arch/x86/entry/
Dentry_64_compat.S63 pushq $__USER_DS /* pt_regs->ss */
202 pushq $__USER_DS /* pt_regs->ss */
Dcommon.c106 if (unlikely(regs->cs != __USER_CS || regs->ss != __USER_DS)) in do_syscall_64()
429 if (unlikely(regs->cs != __USER32_CS || regs->ss != __USER_DS)) in do_fast_syscall_32()
Dentry_64.S101 pushq $__USER_DS /* pt_regs->ss */
761 movl $__USER_DS, %eax
Dentry_32.S230 movl $(__USER_DS), %edx
803 pushl $__USER_DS /* pt_regs->ss */
/linux-6.12.1/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.h173 elf_common_init(&current->thread, regs, __USER_DS)
/linux-6.12.1/arch/x86/power/
Dcpu.c225 loadsegment(ds, __USER_DS); in __restore_processor_state()
226 loadsegment(es, __USER_DS); in __restore_processor_state()
/linux-6.12.1/arch/x86/kernel/acpi/
Dwakeup_32.S18 movw $__USER_DS, %ax
/linux-6.12.1/arch/x86/mm/
Dextable.c199 asm volatile ("mov %0, %%fs" : : "rm" (__USER_DS)); in ex_handler_clear_fs()
/linux-6.12.1/arch/x86/math-emu/
Dfpu_entry.c134 } else if (FPU_CS == __USER_CS && FPU_DS == __USER_DS) { in math_emulate()
/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.c7454 loadsegment(ds, __USER_DS); in vmx_vcpu_run()
7455 loadsegment(es, __USER_DS); in vmx_vcpu_run()