Lines Matching refs:gs
60 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
87 rdmsrl(MSR_GS_BASE, gs); in __show_regs()
99 fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
169 savesegment(gs, p->thread.gsindex); in copy_thread_tls()
170 p->thread.gs = p->thread.gsindex ? 0 : me->thread.gs; in copy_thread_tls()
294 savesegment(gs, gsindex); in __switch_to()
387 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to()
392 prev->gs = 0; in __switch_to()
394 if (next->gs) in __switch_to()
395 wrmsrl(MSR_KERNEL_GS_BASE, next->gs); in __switch_to()
526 task->thread.gs = 0; in do_arch_prctl()
529 task->thread.gs = addr; in do_arch_prctl()
582 savesegment(gs, gsindex); in do_arch_prctl()
586 base = task->thread.gs; in do_arch_prctl()
588 base = task->thread.gs; in do_arch_prctl()