Lines Matching refs:fsindex
62 unsigned int fsindex, gsindex; in __show_regs() local
83 asm("movl %%fs,%0" : "=r" (fsindex)); in __show_regs()
99 fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
171 savesegment(fs, p->thread.fsindex); in copy_thread_tls()
172 p->thread.fs = p->thread.fsindex ? 0 : me->thread.fs; in copy_thread_tls()
283 unsigned fsindex, gsindex; in __switch_to() local
293 savesegment(fs, fsindex); in __switch_to()
368 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to()
369 loadsegment(fs, next->fsindex); in __switch_to()
380 if (fsindex) in __switch_to()
385 prev->fsindex = fsindex; in __switch_to()
551 task->thread.fsindex = FS_TLS_SEL; in do_arch_prctl()
554 task->thread.fsindex = 0; in do_arch_prctl()
567 if (task->thread.fsindex == FS_TLS_SEL) in do_arch_prctl()