Home
last modified time | relevance | path

Searched refs:gsindex (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dprocess_64.c71 unsigned int fsindex, gsindex; in __show_regs() local
106 asm("movl %%gs,%0" : "=r" (gsindex)); in __show_regs()
118 fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
202 savesegment(gs, task->thread.gsindex); in save_fsgs()
204 save_base_legacy(task, task->thread.gsindex, GS); in save_fsgs()
285 load_seg_legacy(prev->gsindex, prev->gsbase, in x86_fsgsbase_load()
286 next->gsindex, next->gsbase, GS); in x86_fsgsbase_load()
352 else if (task->thread.gsindex == 0) in x86_gsbase_read_task()
355 gsbase = x86_fsgsbase_read_task(task, task->thread.gsindex); in x86_gsbase_read_task()
392 savesegment(gs, p->thread.gsindex); in copy_thread_tls()
[all …]
Dtls.c183 if (p->thread.gsindex == modified_sel) in do_set_thread_area()
Dptrace.c250 return task->thread.gsindex; in get_segment_reg()
287 task->thread.gsindex = value; in set_segment_reg()
289 load_gs_index(task->thread.gsindex); in set_segment_reg()
/Linux-v5.4/arch/x86/include/asm/
Delf.h181 t->fsindex = t->gsindex = 0; in elf_common_init()
Dprocessor.h453 unsigned short gsindex; member
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c1175 gs_sel = current->thread.gsindex; in vmx_prepare_switch_to_guest()