Lines Matching +full:local +full:- +full:pid
2 * Copyright (C) 2003 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
21 int pid = task->mm->context.id.u.pid; in arch_prctl() local
39 ret = restore_pid_registers(pid, ¤t->thread.regs.regs); in arch_prctl()
46 * With these two, we read to a local pointer and in arch_prctl()
50 * fault it in (or return -EFAULT) instead of having in arch_prctl()
51 * the host return -EFAULT. in arch_prctl()
56 ret = os_arch_prctl(pid, option, ptr); in arch_prctl()
62 current->thread.arch.fs = (unsigned long) ptr; in arch_prctl()
63 ret = save_registers(pid, ¤t->thread.regs.regs); in arch_prctl()
66 ret = save_registers(pid, ¤t->thread.regs.regs); in arch_prctl()
86 if ((to->thread.arch.fs == 0) || (to->mm == NULL)) in arch_switch_to()
89 arch_prctl(to, ARCH_SET_FS, (void __user *) to->thread.arch.fs); in arch_switch_to()
97 return -EINVAL; in SYSCALL_DEFINE6()