Home
last modified time | relevance | path

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

/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()
245 loadsegment(ds, ctxt->es); in __restore_processor_state()
246 loadsegment(es, ctxt->es); in __restore_processor_state()
247 loadsegment(fs, ctxt->fs); in __restore_processor_state()
258 loadsegment(gs, ctxt->gs); in __restore_processor_state()
/arch/x86/include/asm/
Dsegment.h351 #define loadsegment(seg, value) __loadsegment_ ## seg (value) macro
364 # define set_user_gs(regs, v) loadsegment(gs, (unsigned long)(v))
367 # define lazy_load_gs(v) loadsegment(gs, (v))
368 # define load_gs_index(v) loadsegment(gs, (v))
Dmmu_context.h150 loadsegment(fs, 0); \
/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.c229 loadsegment(fs, 0); in load_aout_binary()
230 loadsegment(ds, __USER32_DS); in load_aout_binary()
231 loadsegment(es, __USER32_DS); in load_aout_binary()
/arch/x86/kernel/
Dprocess_64.c288 loadsegment(fs, sel); in loadseg()
513 loadsegment(fs, __USER_DS); in start_thread_common()
517 loadsegment(fs, 0); in start_thread_common()
518 loadsegment(es, _ds); in start_thread_common()
519 loadsegment(ds, _ds); in start_thread_common()
607 loadsegment(es, next->es); in __switch_to()
611 loadsegment(ds, next->ds); in __switch_to()
655 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()
Dldt.c127 loadsegment(ds, sel); in refresh_ldt_segments()
131 loadsegment(es, sel); in refresh_ldt_segments()
Dsignal.c607 loadsegment(ds, __USER_DS); in x32_setup_rt_frame()
608 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
Dapm_32.c552 loadsegment(fs, saved_fs); loadsegment(gs, saved_gs)
/arch/x86/platform/efi/
Defi_64.c490 loadsegment(ss, __KERNEL_DS); \
491 loadsegment(ds, __KERNEL_DS); \
492 loadsegment(es, __KERNEL_DS); \
496 loadsegment(ds, __ds); \
497 loadsegment(es, __es); \
/arch/x86/kernel/cpu/
Dcommon.c603 loadsegment(fs, __KERNEL_PERCPU); in load_percpu_segment()
1532 loadsegment(fs, 0); in detect_null_seg_behavior()
2129 loadsegment(fs, 0); in cpu_init()
/arch/x86/xen/
Denlighten_pv.c503 loadsegment(fs, 0); in xen_load_tls()
/arch/x86/kvm/vmx/
Dvmx.c1264 loadsegment(gs, host_state->gs_sel); in vmx_prepare_switch_to_host()
1268 loadsegment(fs, host_state->fs_sel); in vmx_prepare_switch_to_host()
1271 loadsegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_host()
1272 loadsegment(es, host_state->es_sel); in vmx_prepare_switch_to_host()
6890 loadsegment(ds, __USER_DS); in vmx_vcpu_run()
6891 loadsegment(es, __USER_DS); in vmx_vcpu_run()