Lines Matching refs:next
277 struct thread_struct *next = &next_p->thread; in __switch_to() local
297 load_TLS(next, cpu); in __switch_to()
323 if (unlikely(next->es | prev->es)) in __switch_to()
324 loadsegment(es, next->es); in __switch_to()
327 if (unlikely(next->ds | prev->ds)) in __switch_to()
328 loadsegment(ds, next->ds); in __switch_to()
365 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to()
366 loadsegment(fs, next->fsindex); in __switch_to()
380 if (next->fs) in __switch_to()
381 wrmsrl(MSR_FS_BASE, next->fs); in __switch_to()
384 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to()
385 load_gs_index(next->gsindex); in __switch_to()
391 if (next->gs) in __switch_to()
392 wrmsrl(MSR_KERNEL_GS_BASE, next->gs); in __switch_to()
411 load_sp0(tss, next); in __switch_to()
430 prev->iopl != next->iopl)) in __switch_to()
431 xen_set_iopl_mask(next->iopl); in __switch_to()