Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dprocess_64.c63 unsigned int fsindex, gsindex; in __show_regs() local
85 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() local
291 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 …]
Dptrace.c291 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()
/linux-4.1.27/arch/x86/include/asm/
Delf.h180 t->fsindex = t->gsindex = 0; in elf_common_init()
Dprocessor.h502 unsigned short gsindex; member