Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/power/
Dcpu.c221 loadsegment(ss, __KERNEL_DS); in __restore_processor_state()
222 loadsegment(ds, __USER_DS); in __restore_processor_state()
223 loadsegment(es, __USER_DS); in __restore_processor_state()
232 loadsegment(fs, __KERNEL_PERCPU); in __restore_processor_state()
233 loadsegment(gs, __KERNEL_STACK_CANARY); in __restore_processor_state()
244 loadsegment(ds, ctxt->es); in __restore_processor_state()
245 loadsegment(es, ctxt->es); in __restore_processor_state()
246 loadsegment(fs, ctxt->fs); in __restore_processor_state()
257 loadsegment(gs, ctxt->gs); in __restore_processor_state()
/Linux-v5.4/arch/x86/ia32/
Dia32_signal.c42 #define loadsegment_fs(v) loadsegment(fs, v)
43 #define loadsegment_ds(v) loadsegment(ds, v)
44 #define loadsegment_es(v) loadsegment(es, v)
320 loadsegment(ds, __USER32_DS); in ia32_setup_frame()
321 loadsegment(es, __USER32_DS); in ia32_setup_frame()
399 loadsegment(ds, __USER32_DS); in ia32_setup_rt_frame()
400 loadsegment(es, __USER32_DS); in ia32_setup_rt_frame()
Dia32_aout.c234 loadsegment(fs, 0); in load_aout_binary()
235 loadsegment(ds, __USER32_DS); in load_aout_binary()
236 loadsegment(es, __USER32_DS); in load_aout_binary()
/Linux-v5.4/arch/x86/kernel/
Dprocess_64.c225 loadsegment(fs, sel); in loadseg()
458 loadsegment(fs, __USER_DS); in start_thread_common()
462 loadsegment(fs, 0); in start_thread_common()
463 loadsegment(es, _ds); in start_thread_common()
464 loadsegment(ds, _ds); in start_thread_common()
554 loadsegment(es, next->es); in __switch_to()
558 loadsegment(ds, next->ds); in __switch_to()
611 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.c43 loadsegment(ds, sel); in refresh_ldt_segments()
47 loadsegment(es, sel); in refresh_ldt_segments()
Dptrace.c284 loadsegment(fs, task->thread.fsindex); in set_segment_reg()
294 loadsegment(ds, task->thread.ds); in set_segment_reg()
299 loadsegment(es, task->thread.es); in set_segment_reg()
Dsignal.c594 loadsegment(ds, __USER_DS); in x32_setup_rt_frame()
595 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
Dapm_32.c558 loadsegment(fs, saved_fs); loadsegment(gs, saved_gs)
/Linux-v5.4/arch/x86/include/asm/
Dsegment.h350 #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))
Dmmu_context.h232 loadsegment(fs, 0); \
/Linux-v5.4/arch/x86/xen/
Dsmp_pv.c217 loadsegment(ds, __USER_DS); in xen_pv_smp_prepare_boot_cpu()
218 loadsegment(es, __USER_DS); in xen_pv_smp_prepare_boot_cpu()
Denlighten_pv.c560 loadsegment(fs, 0); in xen_load_tls()
/Linux-v5.4/arch/x86/kernel/cpu/
Dcommon.c574 loadsegment(fs, __KERNEL_PERCPU); in load_percpu_segment()
1320 loadsegment(fs, 0); in detect_null_seg_behavior()
1846 loadsegment(fs, 0); in cpu_init()
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c1216 loadsegment(gs, host_state->gs_sel); in vmx_prepare_switch_to_host()
1220 loadsegment(fs, host_state->fs_sel); in vmx_prepare_switch_to_host()
1223 loadsegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_host()
1224 loadsegment(es, host_state->es_sel); in vmx_prepare_switch_to_host()
6624 loadsegment(ds, __USER_DS); in vmx_vcpu_run()
6625 loadsegment(es, __USER_DS); in vmx_vcpu_run()
/Linux-v5.4/arch/x86/kvm/
Dsvm.c2315 loadsegment(fs, svm->host.fs); in svm_vcpu_put()
2320 loadsegment(gs, svm->host.gs); in svm_vcpu_put()
5749 loadsegment(fs, svm->host.fs); in svm_vcpu_run()
5751 loadsegment(gs, svm->host.gs); in svm_vcpu_run()