Lines Matching refs:gsindex
71 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()
393 p->thread.gsbase = p->thread.gsindex ? 0 : me->thread.gsbase; in copy_thread_tls()
730 task->thread.gsindex = 0; in do_arch_prctl_64()