Lines Matching refs:data
373 static int check_ptrace_options(unsigned long data) in check_ptrace_options() argument
375 if (data & ~(unsigned long)PTRACE_O_MASK) in check_ptrace_options()
378 if (unlikely(data & PTRACE_O_SUSPEND_SECCOMP)) { in check_ptrace_options()
587 static int ptrace_detach(struct task_struct *child, unsigned int data) in ptrace_detach() argument
589 if (!valid_signal(data)) in ptrace_detach()
605 child->exit_code = data; in ptrace_detach()
683 static int ptrace_setoptions(struct task_struct *child, unsigned long data) in ptrace_setoptions() argument
688 ret = check_ptrace_options(data); in ptrace_setoptions()
695 flags |= (data << PT_OPT_FLAG_SHIFT); in ptrace_setoptions()
735 unsigned long data) in ptrace_peek_siginfo() argument
782 compat_siginfo_t __user *uinfo = compat_ptr(data); in ptrace_peek_siginfo()
792 siginfo_t __user *uinfo = (siginfo_t __user *) data; in ptrace_peek_siginfo()
800 data += sizeof(siginfo_t); in ptrace_peek_siginfo()
834 unsigned long data) in ptrace_resume() argument
838 if (!valid_signal(data)) in ptrace_resume()
878 need_siglock = data && !thread_group_empty(current); in ptrace_resume()
881 child->exit_code = data; in ptrace_resume()
1030 unsigned long addr, unsigned long data) in ptrace_request() argument
1035 void __user *datavp = (void __user *) data; in ptrace_request()
1042 return generic_ptrace_peekdata(child, addr, data); in ptrace_request()
1045 return generic_ptrace_pokedata(child, addr, data); in ptrace_request()
1051 ret = ptrace_setoptions(child, data); in ptrace_request()
1058 ret = ptrace_peek_siginfo(child, addr, data); in ptrace_request()
1178 ret = ptrace_detach(child, data); in ptrace_request()
1219 return ptrace_resume(child, request, data); in ptrace_request()
1269 unsigned long, data) in SYSCALL_DEFINE4() argument
1288 ret = ptrace_attach(child, request, addr, data); in SYSCALL_DEFINE4()
1303 ret = arch_ptrace(child, request, addr, data); in SYSCALL_DEFINE4()
1314 unsigned long data) in generic_ptrace_peekdata() argument
1322 return put_user(tmp, (unsigned long __user *)data); in generic_ptrace_peekdata()
1326 unsigned long data) in generic_ptrace_pokedata() argument
1330 copied = ptrace_access_vm(tsk, addr, &data, sizeof(data), in generic_ptrace_pokedata()
1332 return (copied == sizeof(data)) ? 0 : -EIO; in generic_ptrace_pokedata()
1338 compat_ulong_t addr, compat_ulong_t data) in compat_ptrace_request() argument
1340 compat_ulong_t __user *datap = compat_ptr(data); in compat_ptrace_request()
1358 ret = ptrace_access_vm(child, addr, &data, sizeof(data), in compat_ptrace_request()
1360 ret = (ret != sizeof(data) ? -EIO : 0); in compat_ptrace_request()
1409 ret = ptrace_request(child, request, addr, data); in compat_ptrace_request()
1416 compat_long_t, addr, compat_long_t, data) in COMPAT_SYSCALL_DEFINE4() argument
1433 ret = ptrace_attach(child, request, addr, data); in COMPAT_SYSCALL_DEFINE4()
1446 ret = compat_arch_ptrace(child, request, addr, data); in COMPAT_SYSCALL_DEFINE4()