Home
last modified time | relevance | path

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

/Linux-v5.10/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.c250 savesegment(fs, task->thread.fsindex); in save_fsgs()
251 savesegment(gs, task->thread.gsindex); in save_fsgs()
582 savesegment(es, prev->es); in __switch_to()
586 savesegment(ds, prev->ds); in __switch_to()
628 savesegment(ss, ss_sel); in __switch_to()
Dprocess_32.c69 savesegment(gs, gs); in __show_regs()
Dldt.c125 savesegment(ds, sel); in refresh_ldt_segments()
129 savesegment(es, sel); in refresh_ldt_segments()
Dprocess.c150 savesegment(es, p->thread.es); in copy_thread()
151 savesegment(ds, p->thread.ds); in copy_thread()
Dapm_32.c556 savesegment(fs, saved_fs); savesegment(gs, saved_gs)
/Linux-v5.10/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.10/arch/x86/include/asm/
Dsegment.h363 #define savesegment(seg, value) \ macro
371 # define get_user_gs(regs) (u16)({ unsigned long v; savesegment(gs, v); v; })
374 # define lazy_save_gs(v) savesegment(gs, (v))
Delf.h148 savesegment(gs, pr_reg[10]); \
/Linux-v5.10/arch/x86/ia32/
Dia32_signal.c43 savesegment(gs, cur); in reload_segments()
46 savesegment(fs, cur); in reload_segments()
49 savesegment(ds, cur); in reload_segments()
52 savesegment(es, cur); in reload_segments()
155 #define get_user_seg(seg) ({ unsigned int v; savesegment(seg, v); v; })
/Linux-v5.10/arch/x86/lib/
Dinsn-eval.c358 savesegment(ds, sel); in get_segment_selector()
361 savesegment(es, sel); in get_segment_selector()
364 savesegment(fs, sel); in get_segment_selector()
367 savesegment(gs, sel); in get_segment_selector()
/Linux-v5.10/arch/x86/platform/efi/
Defi_64.c503 savesegment(ds, __ds); \
504 savesegment(es, __es); \
/Linux-v5.10/arch/x86/kernel/fpu/
Dregset.c245 savesegment(ds, env->fos); in convert_from_fxsr()
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c1237 savesegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_guest()
1238 savesegment(es, host_state->es_sel); in vmx_prepare_switch_to_guest()
1248 savesegment(fs, fs_sel); in vmx_prepare_switch_to_guest()
1249 savesegment(gs, gs_sel); in vmx_prepare_switch_to_guest()
1256 savesegment(fs, fs_sel); in vmx_prepare_switch_to_guest()
1257 savesegment(gs, gs_sel); in vmx_prepare_switch_to_guest()
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c1374 savesegment(fs, svm->host.fs); in svm_vcpu_load()
1375 savesegment(gs, svm->host.gs); in svm_vcpu_load()