Lines Matching refs:addr
43 int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, in ptrace_access_vm() argument
61 ret = __access_remote_vm(mm, addr, buf, len, gup_flags); in ptrace_access_vm()
389 unsigned long addr, in ptrace_attach() argument
397 if (addr != 0) in ptrace_attach()
729 unsigned long addr, in ptrace_peek_siginfo() argument
737 ret = copy_from_user(&arg, (void __user *) addr, in ptrace_peek_siginfo()
1031 unsigned long addr, unsigned long data) in ptrace_request() argument
1043 return generic_ptrace_peekdata(child, addr, data); in ptrace_request()
1046 return generic_ptrace_pokedata(child, addr, data); in ptrace_request()
1059 ret = ptrace_peek_siginfo(child, addr, data); in ptrace_request()
1077 if (addr != sizeof(sigset_t)) { in ptrace_request()
1098 if (addr != sizeof(sigset_t)) { in ptrace_request()
1191 switch (addr) { in ptrace_request()
1237 ret = ptrace_regset(child, request, addr, &kiov); in ptrace_request()
1244 ret = ptrace_get_syscall_info(child, addr, datavp); in ptrace_request()
1249 ret = seccomp_get_filter(child, addr, datavp); in ptrace_request()
1253 ret = seccomp_get_metadata(child, addr, datavp); in ptrace_request()
1258 ret = ptrace_get_rseq_configuration(child, addr, datavp); in ptrace_request()
1269 SYSCALL_DEFINE4(ptrace, long, request, long, pid, unsigned long, addr, in SYSCALL_DEFINE4() argument
1287 ret = ptrace_attach(child, request, addr, data); in SYSCALL_DEFINE4()
1296 ret = arch_ptrace(child, request, addr, data); in SYSCALL_DEFINE4()
1306 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata() argument
1312 copied = ptrace_access_vm(tsk, addr, &tmp, sizeof(tmp), FOLL_FORCE); in generic_ptrace_peekdata()
1318 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata() argument
1323 copied = ptrace_access_vm(tsk, addr, &data, sizeof(data), in generic_ptrace_pokedata()
1331 compat_ulong_t addr, compat_ulong_t data) in compat_ptrace_request() argument
1341 ret = ptrace_access_vm(child, addr, &word, sizeof(word), in compat_ptrace_request()
1351 ret = ptrace_access_vm(child, addr, &data, sizeof(data), in compat_ptrace_request()
1394 ret = ptrace_regset(child, request, addr, &kiov); in compat_ptrace_request()
1402 ret = ptrace_request(child, request, addr, data); in compat_ptrace_request()
1409 compat_long_t, addr, compat_long_t, data) in COMPAT_SYSCALL_DEFINE4() argument
1426 ret = ptrace_attach(child, request, addr, data); in COMPAT_SYSCALL_DEFINE4()
1433 ret = compat_arch_ptrace(child, request, addr, data); in COMPAT_SYSCALL_DEFINE4()