Home
last modified time | relevance | path

Searched refs:loadsegment (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/power/
Dcpu.c223 loadsegment(ss, __KERNEL_DS); in __restore_processor_state()
224 loadsegment(ds, __USER_DS); in __restore_processor_state()
225 loadsegment(es, __USER_DS); in __restore_processor_state()
234 loadsegment(fs, __KERNEL_PERCPU); in __restore_processor_state()
235 loadsegment(gs, __KERNEL_STACK_CANARY); in __restore_processor_state()
246 loadsegment(ds, ctxt->es); in __restore_processor_state()
247 loadsegment(es, ctxt->es); in __restore_processor_state()
248 loadsegment(fs, ctxt->fs); in __restore_processor_state()
259 loadsegment(gs, ctxt->gs); in __restore_processor_state()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess_64.c287 loadsegment(fs, sel); in loadseg()
489 loadsegment(fs, __USER_DS); in start_thread_common()
493 loadsegment(fs, 0); in start_thread_common()
494 loadsegment(es, _ds); in start_thread_common()
495 loadsegment(ds, _ds); in start_thread_common()
584 loadsegment(es, next->es); in __switch_to()
588 loadsegment(ds, next->ds); in __switch_to()
630 loadsegment(ss, __KERNEL_DS); in __switch_to()
Dtls.c158 loadsegment(ds, sel); in do_set_thread_area()
162 loadsegment(es, sel); in do_set_thread_area()
166 loadsegment(fs, sel); in do_set_thread_area()
176 loadsegment(gs, sel); in do_set_thread_area()
Dldt.c127 loadsegment(ds, sel); in refresh_ldt_segments()
131 loadsegment(es, sel); in refresh_ldt_segments()
Dsignal.c602 loadsegment(ds, __USER_DS); in x32_setup_rt_frame()
603 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
Dapm_32.c558 loadsegment(fs, saved_fs); loadsegment(gs, saved_gs)
/kernel/linux/linux-5.10/arch/x86/ia32/
Dia32_signal.c48 loadsegment(fs, sc->fs | 0x03); in reload_segments()
51 loadsegment(ds, sc->ds | 0x03); in reload_segments()
54 loadsegment(es, sc->es | 0x03); in reload_segments()
288 loadsegment(ds, __USER32_DS); in ia32_setup_frame()
289 loadsegment(es, __USER32_DS); in ia32_setup_frame()
365 loadsegment(ds, __USER32_DS); in ia32_setup_rt_frame()
366 loadsegment(es, __USER32_DS); in ia32_setup_rt_frame()
Dia32_aout.c231 loadsegment(fs, 0); in load_aout_binary()
232 loadsegment(ds, __USER32_DS); in load_aout_binary()
233 loadsegment(es, __USER32_DS); in load_aout_binary()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsegment.h358 #define loadsegment(seg, value) __loadsegment_ ## seg (value) macro
372 # define set_user_gs(regs, v) loadsegment(gs, (unsigned long)(v))
375 # define lazy_load_gs(v) loadsegment(gs, (v))
Dmmu_context.h146 loadsegment(fs, 0); \
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_64.c487 loadsegment(ss, __KERNEL_DS); \
488 loadsegment(ds, __KERNEL_DS); \
489 loadsegment(es, __KERNEL_DS); \
493 loadsegment(ds, __ds); \
494 loadsegment(es, __es); \
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dcommon.c598 loadsegment(fs, __KERNEL_PERCPU); in load_percpu_segment()
1485 loadsegment(fs, 0); in detect_null_seg_behavior()
2074 loadsegment(fs, 0); in cpu_init()
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c1415 loadsegment(fs, svm->host.fs); in svm_vcpu_put()
1420 loadsegment(gs, svm->host.gs); in svm_vcpu_put()
3535 loadsegment(fs, svm->host.fs); in svm_vcpu_enter_exit()
3537 loadsegment(gs, svm->host.gs); in svm_vcpu_enter_exit()
/kernel/linux/linux-5.10/arch/x86/xen/
Denlighten_pv.c532 loadsegment(fs, 0); in xen_load_tls()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c1363 loadsegment(gs, host_state->gs_sel); in vmx_prepare_switch_to_host()
1367 loadsegment(fs, host_state->fs_sel); in vmx_prepare_switch_to_host()
1370 loadsegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_host()
1371 loadsegment(es, host_state->es_sel); in vmx_prepare_switch_to_host()
6872 loadsegment(ds, __USER_DS); in vmx_vcpu_run()
6873 loadsegment(es, __USER_DS); in vmx_vcpu_run()