Searched refs:gsindex (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
H A Dprocess_64.c62 unsigned int fsindex, gsindex; __show_regs() local
84 asm("movl %%gs,%0" : "=r" (gsindex)); __show_regs()
99 fs, fsindex, gs, gsindex, shadowgs); __show_regs()
169 savesegment(gs, p->thread.gsindex); copy_thread_tls()
170 p->thread.gs = p->thread.gsindex ? 0 : me->thread.gs; copy_thread_tls()
283 unsigned fsindex, gsindex; __switch_to() local
294 savesegment(gs, gsindex); __switch_to()
348 * from the values implied by fsindex and gsindex. They __switch_to()
352 * (fs != 0 && fsindex != 0) || (gs != 0 && gsindex != 0) should __switch_to()
387 if (unlikely(gsindex | next->gsindex | prev->gs)) { __switch_to()
388 load_gs_index(next->gsindex); __switch_to()
391 if (gsindex) __switch_to()
396 prev->gsindex = gsindex; __switch_to()
525 task->thread.gsindex = GS_TLS_SEL; do_arch_prctl()
528 task->thread.gsindex = 0; do_arch_prctl()
578 unsigned gsindex; do_arch_prctl() local
579 if (task->thread.gsindex == GS_TLS_SEL) do_arch_prctl()
582 savesegment(gs, gsindex); do_arch_prctl()
583 if (gsindex) do_arch_prctl()
H A Dptrace.c289 return task->thread.gsindex; offsetof()
339 if ((value == GS_TLS_SEL && task->thread.gsindex == 0 && set_segment_reg()
341 (value == 0 && task->thread.gsindex == GS_TLS_SEL && set_segment_reg()
344 task->thread.gsindex = value; set_segment_reg()
346 load_gs_index(task->thread.gsindex); set_segment_reg()
488 unsigned int seg = task->thread.gsindex; offsetof()
/linux-4.4.14/arch/x86/include/asm/
H A Delf.h180 t->fsindex = t->gsindex = 0; elf_common_init()
H A Dprocessor.h383 unsigned short gsindex; member in struct:thread_struct

Completed in 372 milliseconds