Lines Matching refs:gs
61 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
88 rdmsrl(MSR_GS_BASE, gs); in __show_regs()
100 fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
168 savesegment(gs, p->thread.gsindex); in copy_thread()
169 p->thread.gs = p->thread.gsindex ? 0 : me->thread.gs; in copy_thread()
291 savesegment(gs, gsindex); in __switch_to()
384 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to()
389 prev->gs = 0; in __switch_to()
391 if (next->gs) in __switch_to()
392 wrmsrl(MSR_KERNEL_GS_BASE, next->gs); in __switch_to()
590 task->thread.gs = 0; in do_arch_prctl()
593 task->thread.gs = addr; in do_arch_prctl()
646 savesegment(gs, gsindex); in do_arch_prctl()
650 base = task->thread.gs; in do_arch_prctl()
652 base = task->thread.gs; in do_arch_prctl()