Lines Matching refs:ret
154 int i, ret; in sys_ptrace() local
157 ret = -EPERM; in sys_ptrace()
164 ret = 0; in sys_ptrace()
167 ret = -ESRCH; in sys_ptrace()
176 ret = -EPERM; in sys_ptrace()
181 ret = ptrace_attach(child); in sys_ptrace()
185 ret = ptrace_check_attach(child, request == PTRACE_KILL); in sys_ptrace()
186 if (ret < 0) in sys_ptrace()
197 ret = -EIO; in sys_ptrace()
200 ret = put_user(tmp,(unsigned long *) data); in sys_ptrace()
208 ret = -EIO; in sys_ptrace()
222 ret = put_user(tmp,(unsigned long *) data); in sys_ptrace()
229 ret = 0; in sys_ptrace()
232 ret = -EIO; in sys_ptrace()
236 ret = -EIO; in sys_ptrace()
242 ret = putreg(child, addr, data); in sys_ptrace()
250 ret = -EIO; in sys_ptrace()
269 ret = 0; in sys_ptrace()
277 ret = -EIO; in sys_ptrace()
289 ret = 0; in sys_ptrace()
301 ret = 0; in sys_ptrace()
315 ret = -EIO; in sys_ptrace()
328 ret = 0; in sys_ptrace()
334 ret = ptrace_detach(child, data); in sys_ptrace()
339 ret = -EIO; in sys_ptrace()
346 ret = 0; in sys_ptrace()
353 ret = -EIO; in sys_ptrace()
361 ret = 0; in sys_ptrace()
368 ret = -EIO; in sys_ptrace()
371 ret = 0; in sys_ptrace()
381 ret = -EIO; in sys_ptrace()
386 ret = 0; in sys_ptrace()
393 ret = -EIO; in sys_ptrace()
398 ret = get_fpxregs((struct user_fxsr_struct *)data, child); in sys_ptrace()
405 ret = -EIO; in sys_ptrace()
409 ret = set_fpxregs(child, (struct user_fxsr_struct *)data); in sys_ptrace()
418 ret = 0; in sys_ptrace()
423 ret = -EIO; in sys_ptrace()
430 return ret; in sys_ptrace()