Lines Matching refs:fs
61 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
87 rdmsrl(MSR_FS_BASE, fs); 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()
234 loadsegment(fs, 0); in start_thread_common()
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()
378 prev->fs = 0; in __switch_to()
380 if (next->fs) in __switch_to()
381 wrmsrl(MSR_FS_BASE, next->fs); in __switch_to()
613 loadsegment(fs, FS_TLS_SEL); in do_arch_prctl()
616 task->thread.fs = 0; in do_arch_prctl()
619 task->thread.fs = addr; in do_arch_prctl()
623 loadsegment(fs, 0); in do_arch_prctl()
636 base = task->thread.fs; in do_arch_prctl()