Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dprocess_64.c64 unsigned int fsindex, gsindex; in __show_regs() local
86 asm("movl %%gs,%0" : "=r" (gsindex)); in __show_regs()
101 fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
171 savesegment(gs, p->thread.gsindex); in copy_thread_tls()
172 p->thread.gsbase = p->thread.gsindex ? 0 : me->thread.gsbase; in copy_thread_tls()
286 unsigned fsindex, gsindex; in __switch_to() local
297 savesegment(gs, gsindex); in __switch_to()
390 if (unlikely(gsindex | next->gsindex | prev->gsbase)) { in __switch_to()
391 load_gs_index(next->gsindex); in __switch_to()
394 if (gsindex) in __switch_to()
[all …]
Dptrace.c290 return task->thread.gsindex; in get_segment_reg()
340 if ((value == GS_TLS_SEL && task->thread.gsindex == 0 && in set_segment_reg()
342 (value == 0 && task->thread.gsindex == GS_TLS_SEL && in set_segment_reg()
345 task->thread.gsindex = value; in set_segment_reg()
347 load_gs_index(task->thread.gsindex); in set_segment_reg()
489 unsigned int seg = task->thread.gsindex; in getreg()
Dtls.c182 if (p->thread.gsindex == modified_sel) in do_set_thread_area()
/arch/x86/include/asm/
Delf.h180 t->fsindex = t->gsindex = 0; in elf_common_init()
Dprocessor.h407 unsigned short gsindex; member