Lines Matching refs:fs
60 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
86 rdmsrl(MSR_FS_BASE, fs); 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()
235 loadsegment(fs, 0); in start_thread_common()
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()
381 prev->fs = 0; in __switch_to()
383 if (next->fs) in __switch_to()
384 wrmsrl(MSR_FS_BASE, next->fs); in __switch_to()
549 loadsegment(fs, FS_TLS_SEL); in do_arch_prctl()
552 task->thread.fs = 0; in do_arch_prctl()
555 task->thread.fs = addr; in do_arch_prctl()
559 loadsegment(fs, 0); in do_arch_prctl()
572 base = task->thread.fs; in do_arch_prctl()