Lines Matching refs:fsindex
63 unsigned int fsindex, gsindex; in __show_regs() local
84 asm("movl %%fs,%0" : "=r" (fsindex)); in __show_regs()
100 fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
170 savesegment(fs, p->thread.fsindex); in copy_thread()
171 p->thread.fs = p->thread.fsindex ? 0 : me->thread.fs; in copy_thread()
280 unsigned fsindex, gsindex; in __switch_to() local
290 savesegment(fs, fsindex); in __switch_to()
365 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to()
366 loadsegment(fs, next->fsindex); in __switch_to()
377 if (fsindex) in __switch_to()
382 prev->fsindex = fsindex; in __switch_to()
615 task->thread.fsindex = FS_TLS_SEL; in do_arch_prctl()
618 task->thread.fsindex = 0; in do_arch_prctl()
631 if (task->thread.fsindex == FS_TLS_SEL) in do_arch_prctl()