Searched refs:gsindex (Results 1 – 4 of 4) sorted by relevance
62 unsigned int fsindex, gsindex; in __show_regs() local84 asm("movl %%gs,%0" : "=r" (gsindex)); 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()283 unsigned fsindex, gsindex; in __switch_to() local294 savesegment(gs, gsindex); in __switch_to()387 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to()388 load_gs_index(next->gsindex); in __switch_to()391 if (gsindex) in __switch_to()[all …]
289 return task->thread.gsindex; in get_segment_reg()339 if ((value == GS_TLS_SEL && task->thread.gsindex == 0 && in set_segment_reg()341 (value == 0 && task->thread.gsindex == GS_TLS_SEL && in set_segment_reg()344 task->thread.gsindex = value; in set_segment_reg()346 load_gs_index(task->thread.gsindex); in set_segment_reg()488 unsigned int seg = task->thread.gsindex; in getreg()
180 t->fsindex = t->gsindex = 0; in elf_common_init()
383 unsigned short gsindex; member