Lines Matching full:gs
64 unsigned short gs; in __show_regs() local
66 savesegment(gs, gs); in __show_regs()
74 printk("%sDS: %04x ES: %04x FS: %04x GS: %04x SS: %04x EFLAGS: %08lx\n", in __show_regs()
75 log_lvl, (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, regs->ss, regs->flags); in __show_regs()
114 loadsegment(gs, 0); in start_thread()
167 * Save away %gs. No need to save %fs, as it was saved on the in __switch_to()
172 * and %gs. This could be an issue if the NMI handler ever in __switch_to()
173 * used %fs or %gs (it does not today), or if the kernel is in __switch_to()
176 savesegment(gs, prev->gs); in __switch_to()
204 * Restore %gs if needed (which is common) in __switch_to()
206 if (prev->gs | next->gs) in __switch_to()
207 loadsegment(gs, next->gs); in __switch_to()