Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kernel/
Dprocess_64.c62 unsigned int fsindex, gsindex; in __show_regs() local
84 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() local
294 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 …]
Dptrace.c289 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()
/linux-4.4.14/arch/x86/include/asm/
Delf.h180 t->fsindex = t->gsindex = 0; in elf_common_init()
Dprocessor.h383 unsigned short gsindex; member