Lines Matching defs:to
70 * With ARCH_SET_FS (and ARCH_SET_GS is treated similarly to
71 * be safe), we need to call arch_prctl on the host because
77 * So, the saved registers are stored to the process (this
78 * needed because a stub may have been the last thing to run),
90 * With these two, we read to a local pointer and
91 * put_user it to the userspace pointer that we were
93 * faulted in or is just bogus), we want put_user to
144 void arch_switch_to_skas(struct task_struct *from, struct task_struct *to)
146 if((to->thread.arch.fs == 0) || (to->mm == NULL))
149 arch_prctl_skas(to, ARCH_SET_FS, (void __user *) to->thread.arch.fs);