Lines Matching refs:next
302 * The next task is using 64-bit TLS, is not using this
319 * next states are fully zeroed, we can skip
337 * The next task is using a real segment. Loading the selector
345 * Store prev's PKRU value and load next's PKRU value if they differ. PKRU
351 struct thread_struct *next)
363 if (prev->pkru != next->pkru)
364 wrpkru(next->pkru);
368 struct thread_struct *next)
372 if (unlikely(prev->fsindex || next->fsindex))
373 loadseg(FS, next->fsindex);
374 if (unlikely(prev->gsindex || next->gsindex))
375 loadseg(GS, next->gsindex);
378 wrfsbase(next->fsbase);
379 __wrgsbase_inactive(next->gsbase);
382 next->fsindex, next->fsbase, FS);
384 next->gsindex, next->gsbase, GS);
564 struct thread_struct *next = &next_p->thread;
585 load_TLS(next, cpu);
598 * LDT for next is loaded in switch_mm, and the GDT is loaded
609 if (unlikely(next->es | prev->es))
610 loadsegment(es, next->es);
613 if (unlikely(next->ds | prev->ds))
614 loadsegment(ds, next->ds);
616 x86_fsgsbase_load(prev, next);
618 x86_pkru_load(prev, next);