/Linux-v5.4/arch/x86/power/ |
D | cpu.c | 221 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/ |
D | ia32_signal.c | 42 #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()
|
D | ia32_aout.c | 234 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/ |
D | process_64.c | 225 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()
|
D | tls.c | 158 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()
|
D | ldt.c | 43 loadsegment(ds, sel); in refresh_ldt_segments() 47 loadsegment(es, sel); in refresh_ldt_segments()
|
D | ptrace.c | 284 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()
|
D | signal.c | 594 loadsegment(ds, __USER_DS); in x32_setup_rt_frame() 595 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
|
D | apm_32.c | 558 loadsegment(fs, saved_fs); loadsegment(gs, saved_gs)
|
/Linux-v5.4/arch/x86/include/asm/ |
D | segment.h | 350 #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))
|
D | mmu_context.h | 232 loadsegment(fs, 0); \
|
/Linux-v5.4/arch/x86/xen/ |
D | smp_pv.c | 217 loadsegment(ds, __USER_DS); in xen_pv_smp_prepare_boot_cpu() 218 loadsegment(es, __USER_DS); in xen_pv_smp_prepare_boot_cpu()
|
D | enlighten_pv.c | 560 loadsegment(fs, 0); in xen_load_tls()
|
/Linux-v5.4/arch/x86/kernel/cpu/ |
D | common.c | 574 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/ |
D | vmx.c | 1216 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/ |
D | svm.c | 2315 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()
|