Searched refs:fsindex (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
H A Dprocess_64.c62 unsigned int fsindex, gsindex; __show_regs() local
83 asm("movl %%fs,%0" : "=r" (fsindex)); __show_regs()
99 fs, fsindex, gs, gsindex, shadowgs); __show_regs()
171 savesegment(fs, p->thread.fsindex); copy_thread_tls()
172 p->thread.fs = p->thread.fsindex ? 0 : me->thread.fs; copy_thread_tls()
283 unsigned fsindex, gsindex; __switch_to() local
293 savesegment(fs, fsindex); __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()
368 if (unlikely(fsindex | next->fsindex | prev->fs)) { __switch_to()
369 loadsegment(fs, next->fsindex); __switch_to()
380 if (fsindex) __switch_to()
385 prev->fsindex = fsindex; __switch_to()
390 /* This works (and fails) the same way as fsindex above. */ __switch_to()
551 task->thread.fsindex = FS_TLS_SEL; do_arch_prctl()
554 task->thread.fsindex = 0; do_arch_prctl()
567 if (task->thread.fsindex == FS_TLS_SEL) do_arch_prctl()
H A Dptrace.c283 return task->thread.fsindex; offsetof()
325 if ((value == FS_TLS_SEL && task->thread.fsindex == 0 && set_segment_reg()
327 (value == 0 && task->thread.fsindex == FS_TLS_SEL && set_segment_reg()
330 task->thread.fsindex = value; set_segment_reg()
332 loadsegment(fs, task->thread.fsindex); set_segment_reg()
432 * to set either thread.fs or thread.fsindex and the putreg()
475 unsigned int seg = task->thread.fsindex; offsetof()
/linux-4.4.14/fs/freevxfs/
H A Dvxfs_fshead.c52 printk("fsindex: %u\n", fhp->fsh_fsindex); vxfs_dumpfsh()
/linux-4.4.14/arch/x86/include/asm/
H A Delf.h180 t->fsindex = t->gsindex = 0; elf_common_init()
H A Dprocessor.h382 unsigned short fsindex; member in struct:thread_struct

Completed in 108 milliseconds