Lines Matching defs:gsindex
164 unsigned int fsindex, gsindex;
187 asm("movl %%gs,%0" : "=r" (gsindex));
202 fs, fsindex, gs, gsindex, shadowgs);
285 savesegment(gs, p->thread.gsindex);
286 p->thread.gs = p->thread.gsindex ? 0 : me->thread.gs;
384 unsigned fsindex, gsindex;
422 savesegment(gs, gsindex);
464 if (unlikely(gsindex | next->gsindex | prev->gs)) {
465 load_gs_index(next->gsindex);
466 if (gsindex)
471 prev->gsindex = gsindex;
570 task->thread.gsindex = GS_TLS_SEL;
573 task->thread.gsindex = 0;
623 unsigned gsindex;
624 if (task->thread.gsindex == GS_TLS_SEL)
627 savesegment(gs, gsindex);
628 if (gsindex)