Lines Matching refs:gsindex
308 unsigned int fsindex,gsindex;
337 asm("movl %%gs,%0" : "=r" (gsindex));
349 fs,fsindex,gs,gsindex,shadowgs);
485 asm("mov %%gs,%0" : "=m" (p->thread.gsindex));
627 unsigned gsindex;
628 asm volatile("movl %%gs,%0" : "=r" (gsindex));
629 if (unlikely(gsindex | next->gsindex | prev->gs)) {
630 load_gs_index(next->gsindex);
631 if (gsindex)
636 prev->gsindex = gsindex;
787 task->thread.gsindex = GS_TLS_SEL;
790 task->thread.gsindex = 0;
840 unsigned gsindex;
841 if (task->thread.gsindex == GS_TLS_SEL)
844 asm("movl %%gs,%0" : "=r" (gsindex));
845 if (gsindex)