Lines Matching refs:ret
106 int ret; in sys_ptrace() local
109 ret = -EPERM; in sys_ptrace()
116 ret = 0; in sys_ptrace()
119 ret = -ESRCH; in sys_ptrace()
128 ret = -EPERM; in sys_ptrace()
133 ret = ptrace_attach(child); in sys_ptrace()
137 ret = ptrace_check_attach(child, request == PTRACE_KILL); in sys_ptrace()
138 if (ret < 0) in sys_ptrace()
149 ret = -EIO; in sys_ptrace()
152 ret = put_user(tmp,(unsigned long *) data); in sys_ptrace()
160 ret = -EIO; in sys_ptrace()
167 ret = -EIO; in sys_ptrace()
184 ret = put_user(tmp,(unsigned long *) data); in sys_ptrace()
191 ret = 0; in sys_ptrace()
194 ret = -EIO; in sys_ptrace()
198 ret = -EIO; in sys_ptrace()
213 ret = 0; in sys_ptrace()
229 ret = 0; in sys_ptrace()
237 ret = -EIO; in sys_ptrace()
249 ret = 0; in sys_ptrace()
261 ret = 0; in sys_ptrace()
275 ret = -EIO; in sys_ptrace()
285 ret = 0; in sys_ptrace()
290 ret = ptrace_detach(child, data); in sys_ptrace()
301 ret = -EFAULT; in sys_ptrace()
306 ret = 0; in sys_ptrace()
315 ret = -EFAULT; in sys_ptrace()
326 ret = 0; in sys_ptrace()
331 ret = 0; in sys_ptrace()
334 ret = -EFAULT; in sys_ptrace()
339 ret = 0; in sys_ptrace()
342 ret = -EFAULT; in sys_ptrace()
347 ret = -EIO; in sys_ptrace()
354 return ret; in sys_ptrace()