Lines Matching refs:gsindex
71 unsigned int fsindex, gsindex; in __show_regs() local
106 asm("movl %%gs,%0" : "=r" (gsindex)); in __show_regs()
118 log_lvl, fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
252 savesegment(gs, task->thread.gsindex); in save_fsgs()
263 save_base_legacy(task, task->thread.gsindex, GS); in save_fsgs()
373 if (unlikely(prev->gsindex || next->gsindex)) in x86_fsgsbase_load()
374 loadseg(GS, next->gsindex); in x86_fsgsbase_load()
382 load_seg_legacy(prev->gsindex, prev->gsbase, in x86_fsgsbase_load()
383 next->gsindex, next->gsbase, GS); in x86_fsgsbase_load()
482 (task->thread.gsindex == 0)) in x86_gsbase_read_task()
485 gsbase = x86_fsgsbase_read_task(task, task->thread.gsindex); in x86_gsbase_read_task()
772 task->thread.gsindex = 0; in do_arch_prctl_64()