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

/linux-4.1.27/arch/x86/kernel/
H A Dprocess_64.c63 unsigned int fsindex, gsindex; __show_regs() local
84 asm("movl %%fs,%0" : "=r" (fsindex)); __show_regs()
100 fs, fsindex, gs, gsindex, shadowgs); __show_regs()
170 savesegment(fs, p->thread.fsindex); copy_thread()
171 p->thread.fs = p->thread.fsindex ? 0 : me->thread.fs; copy_thread()
280 unsigned fsindex, gsindex; __switch_to() local
290 savesegment(fs, fsindex); __switch_to()
345 * from the values implied by fsindex and gsindex. They __switch_to()
349 * (fs != 0 && fsindex != 0) || (gs != 0 && gsindex != 0) should __switch_to()
365 if (unlikely(fsindex | next->fsindex | prev->fs)) { __switch_to()
366 loadsegment(fs, next->fsindex); __switch_to()
377 if (fsindex) __switch_to()
382 prev->fsindex = fsindex; __switch_to()
387 /* This works (and fails) the same way as fsindex above. */ __switch_to()
615 task->thread.fsindex = FS_TLS_SEL; do_arch_prctl()
618 task->thread.fsindex = 0; do_arch_prctl()
631 if (task->thread.fsindex == FS_TLS_SEL) do_arch_prctl()
H A Dptrace.c285 return task->thread.fsindex; offsetof()
327 if ((value == FS_TLS_SEL && task->thread.fsindex == 0 && set_segment_reg()
329 (value == 0 && task->thread.fsindex == FS_TLS_SEL && set_segment_reg()
332 task->thread.fsindex = value; set_segment_reg()
334 loadsegment(fs, task->thread.fsindex); set_segment_reg()
434 * to set either thread.fs or thread.fsindex and the putreg()
477 unsigned int seg = task->thread.fsindex; offsetof()
/linux-4.1.27/fs/freevxfs/
H A Dvxfs_fshead.c52 printk("fsindex: %u\n", fhp->fsh_fsindex); vxfs_dumpfsh()
/linux-4.1.27/arch/x86/include/asm/
H A Delf.h180 t->fsindex = t->gsindex = 0; elf_common_init()
H A Dprocessor.h501 unsigned short fsindex; member in struct:thread_struct

Completed in 62 milliseconds