Lines Matching refs:next
278 struct thread_struct *next = &next_p->thread; in __switch_to() local
280 struct fpu *next_fpu = &next->fpu; in __switch_to()
300 load_TLS(next, cpu); in __switch_to()
326 if (unlikely(next->es | prev->es)) in __switch_to()
327 loadsegment(es, next->es); in __switch_to()
330 if (unlikely(next->ds | prev->ds)) in __switch_to()
331 loadsegment(ds, next->ds); in __switch_to()
368 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to()
369 loadsegment(fs, next->fsindex); in __switch_to()
383 if (next->fs) in __switch_to()
384 wrmsrl(MSR_FS_BASE, next->fs); in __switch_to()
387 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to()
388 load_gs_index(next->gsindex); in __switch_to()
394 if (next->gs) in __switch_to()
395 wrmsrl(MSR_KERNEL_GS_BASE, next->gs); in __switch_to()
406 load_sp0(tss, next); in __switch_to()
422 prev->iopl != next->iopl)) in __switch_to()
423 xen_set_iopl_mask(next->iopl); in __switch_to()