Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/power/
Dcpu.c224 loadsegment(ss, __KERNEL_DS); in __restore_processor_state()
225 loadsegment(ds, __USER_DS); in __restore_processor_state()
226 loadsegment(es, __USER_DS); in __restore_processor_state()
235 loadsegment(fs, __KERNEL_PERCPU); in __restore_processor_state()
246 loadsegment(ds, ctxt->es); in __restore_processor_state()
247 loadsegment(es, ctxt->es); in __restore_processor_state()
248 loadsegment(fs, ctxt->fs); in __restore_processor_state()
259 loadsegment(gs, ctxt->gs); in __restore_processor_state()
/Linux-v6.6/arch/x86/kernel/
Dsignal_32.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()
116 loadsegment(gs, sc.gs); in ia32_restore_sigcontext()
286 loadsegment(ds, __USER_DS); in ia32_setup_frame()
287 loadsegment(es, __USER_DS); in ia32_setup_frame()
368 loadsegment(ds, __USER_DS); in ia32_setup_rt_frame()
369 loadsegment(es, __USER_DS); in ia32_setup_rt_frame()
Dprocess_64.c289 loadsegment(fs, sel); in loadseg()
514 loadsegment(fs, __USER_DS); in start_thread_common()
520 loadsegment(fs, 0); in start_thread_common()
521 loadsegment(es, _ds); in start_thread_common()
522 loadsegment(ds, _ds); in start_thread_common()
610 loadsegment(es, next->es); in __switch_to()
614 loadsegment(ds, next->ds); in __switch_to()
658 loadsegment(ss, __KERNEL_DS); in __switch_to()
Dtls.c159 loadsegment(ds, sel); in do_set_thread_area()
163 loadsegment(es, sel); in do_set_thread_area()
167 loadsegment(fs, sel); in do_set_thread_area()
Dprocess_32.c114 loadsegment(gs, 0); in start_thread()
208 loadsegment(gs, next->gs); in __switch_to()
Dldt.c127 loadsegment(ds, sel); in refresh_ldt_segments()
131 loadsegment(es, sel); in refresh_ldt_segments()
Dsignal_64.c346 loadsegment(ds, __USER_DS); in x32_setup_rt_frame()
347 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
Dapm_32.c553 loadsegment(fs, saved_fs); loadsegment(gs, saved_gs)
Dvm86_32.c154 loadsegment(gs, vm86->regs32.gs); in save_v86_state()
/Linux-v6.6/arch/x86/include/asm/
Dmmu_context.h184 loadsegment(gs, 0); \
191 loadsegment(fs, 0); \
Dgsseg.h60 loadsegment(gs, selector); in load_gs_index()
Dsegment.h345 #define loadsegment(seg, value) __loadsegment_ ## seg (value) macro
/Linux-v6.6/arch/x86/platform/efi/
Defi_64.c520 loadsegment(ss, __KERNEL_DS); \
521 loadsegment(ds, __KERNEL_DS); \
522 loadsegment(es, __KERNEL_DS); \
526 loadsegment(ds, __ds); \
527 loadsegment(es, __es); \
/Linux-v6.6/arch/x86/kernel/cpu/
Dcommon.c774 loadsegment(fs, __KERNEL_PERCPU); in switch_gdt_and_percpu_base()
1705 loadsegment(fs, 0); in detect_null_seg_behavior()
2260 loadsegment(fs, 0); in cpu_init()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c1373 loadsegment(gs, host_state->gs_sel); in vmx_prepare_switch_to_host()
1377 loadsegment(fs, host_state->fs_sel); in vmx_prepare_switch_to_host()
1380 loadsegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_host()
1381 loadsegment(es, host_state->es_sel); in vmx_prepare_switch_to_host()
7387 loadsegment(ds, __USER_DS); in vmx_vcpu_run()
7388 loadsegment(es, __USER_DS); in vmx_vcpu_run()
/Linux-v6.6/arch/x86/xen/
Denlighten_pv.c598 loadsegment(fs, 0); in xen_load_tls()