Lines Matching refs:to
22 * With ARCH_SET_FS (and ARCH_SET_GS is treated similarly to
23 * be safe), we need to call arch_prctl on the host because
29 * So, the saved registers are stored to the process (this
30 * needed because a stub may have been the last thing to run),
44 * With these two, we read to a local pointer and
45 * put_user it to the userspace pointer that we were
47 * faulted in or is just bogus), we want put_user to
96 void arch_switch_to(struct task_struct *to)
98 if ((to->thread.arch.fs == 0) || (to->mm == NULL))
101 arch_prctl(to, ARCH_SET_FS, (void __user *) to->thread.arch.fs);