Searched refs:gsindex (Results 1 – 4 of 4) sorted by relevance
63 unsigned int fsindex, gsindex; in __show_regs() local85 asm("movl %%gs,%0" : "=r" (gsindex)); 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()280 unsigned fsindex, gsindex; in __switch_to() local291 savesegment(gs, gsindex); in __switch_to()384 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to()385 load_gs_index(next->gsindex); in __switch_to()388 if (gsindex) in __switch_to()[all …]
291 return task->thread.gsindex; in get_segment_reg()341 if ((value == GS_TLS_SEL && task->thread.gsindex == 0 && in set_segment_reg()343 (value == 0 && task->thread.gsindex == GS_TLS_SEL && in set_segment_reg()346 task->thread.gsindex = value; in set_segment_reg()348 load_gs_index(task->thread.gsindex); in set_segment_reg()490 unsigned int seg = task->thread.gsindex; in getreg()
180 t->fsindex = t->gsindex = 0; in elf_common_init()
502 unsigned short gsindex; member