Home
last modified time | relevance | path

Searched refs:savesegment (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dtls.c156 savesegment(ds, sel); in do_set_thread_area()
160 savesegment(es, sel); in do_set_thread_area()
164 savesegment(fs, sel); in do_set_thread_area()
168 savesegment(gs, sel); in do_set_thread_area()
174 savesegment(gs, sel); in do_set_thread_area()
Dprocess_64.c201 savesegment(fs, task->thread.fsindex); in save_fsgs()
202 savesegment(gs, task->thread.gsindex); in save_fsgs()
392 savesegment(gs, p->thread.gsindex); in copy_thread_tls()
394 savesegment(fs, p->thread.fsindex); in copy_thread_tls()
396 savesegment(es, p->thread.es); in copy_thread_tls()
397 savesegment(ds, p->thread.ds); in copy_thread_tls()
552 savesegment(es, prev->es); in __switch_to()
556 savesegment(ds, prev->ds); in __switch_to()
609 savesegment(ss, ss_sel); in __switch_to()
Dldt.c41 savesegment(ds, sel); in refresh_ldt_segments()
45 savesegment(es, sel); in refresh_ldt_segments()
Dprocess_32.c70 savesegment(gs, gs); in __show_regs()
Dapm_32.c556 savesegment(fs, saved_fs); savesegment(gs, saved_gs)
/Linux-v5.4/arch/x86/power/
Dcpu.c103 savesegment(gs, ctxt->gs); in __save_processor_state()
106 savesegment(gs, ctxt->gs); in __save_processor_state()
107 savesegment(fs, ctxt->fs); in __save_processor_state()
108 savesegment(ds, ctxt->ds); in __save_processor_state()
109 savesegment(es, ctxt->es); in __save_processor_state()
/Linux-v5.4/arch/x86/include/asm/
Dsegment.h355 #define savesegment(seg, value) \ macro
363 # define get_user_gs(regs) (u16)({ unsigned long v; savesegment(gs, v); v; })
366 # define lazy_save_gs(v) savesegment(gs, (v))
Delf.h150 savesegment(gs, pr_reg[10]); \
/Linux-v5.4/arch/x86/lib/
Dinsn-eval.c333 savesegment(ds, sel); in get_segment_selector()
336 savesegment(es, sel); in get_segment_selector()
339 savesegment(fs, sel); in get_segment_selector()
342 savesegment(gs, sel); in get_segment_selector()
/Linux-v5.4/arch/x86/kernel/fpu/
Dregset.c252 savesegment(ds, env->fos); in convert_from_fxsr()
/Linux-v5.4/arch/x86/ia32/
Dia32_signal.c46 #define get_user_seg(seg) ({ unsigned int v; savesegment(seg, v); v; })
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c1168 savesegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_guest()
1169 savesegment(es, host_state->es_sel); in vmx_prepare_switch_to_guest()
1179 savesegment(fs, fs_sel); in vmx_prepare_switch_to_guest()
1180 savesegment(gs, gs_sel); in vmx_prepare_switch_to_guest()
1187 savesegment(fs, fs_sel); in vmx_prepare_switch_to_guest()
1188 savesegment(gs, gs_sel); in vmx_prepare_switch_to_guest()
/Linux-v5.4/arch/x86/kvm/
Dsvm.c2280 savesegment(fs, svm->host.fs); in svm_vcpu_load()
2281 savesegment(gs, svm->host.gs); in svm_vcpu_load()