Defined in 2 files as a prototype:
Defined in 4 files as a macro:
Defined in 13 files as a function:
- lib/libc/arch/aarch64/sys/ptrace.S, line 34 (as a function)
- lib/libc/arch/arm/sys/ptrace.S, line 36 (as a function)
- lib/libc/arch/i386/sys/ptrace.S, line 46 (as a function)
- lib/libc/arch/m68k/sys/ptrace.S, line 52 (as a function)
- lib/libc/arch/or1k/sys/ptrace.S, line 19 (as a function)
- lib/libc/arch/powerpc/sys/ptrace.S, line 17 (as a function)
- lib/libc/arch/powerpc64/sys/ptrace.S, line 5 (as a function)
- lib/libc/arch/riscv/sys/ptrace.S, line 48 (as a function)
- lib/libc/arch/sh3/sys/ptrace.S, line 48 (as a function)
- lib/libc/arch/sparc/sys/ptrace.S, line 49 (as a function)
- lib/libc/arch/sparc64/sys/ptrace.S, line 49 (as a function)
- lib/libc/arch/x86_64/sys/ptrace.S, line 46 (as a function)
- lib/libc/sys/Lint_ptrace.c, line 12 (as a function)
Referenced in 111 files:
- external/bsd/file/dist/src/seccomp.c, line 116
- external/bsd/libproc/dist/proc_bkpt.c, 4 times
- external/bsd/libproc/dist/proc_create.c, 2 times
- external/bsd/libproc/dist/proc_regs.c, 3 times
- external/bsd/libproc/dist/proc_util.c, 7 times
- external/gpl3/gcc/dist/libsanitizer/include/system/asm/ptrace.h, line 1
- external/gpl3/gcc/dist/libsanitizer/include/system/sys/ptrace.h, line 1
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_report.cc, 10 times
- external/gpl3/gdb/dist/gdb/aarch64-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-nat.c, 12 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1163
- external/gpl3/gdb/dist/gdb/aarch64-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/aix-thread.c, line 314
- external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/amd64-bsd-nat.c, 13 times
- external/gpl3/gdb/dist/gdb/amd64-fbsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/amd64-linux-nat.c, 21 times
- external/gpl3/gdb/dist/gdb/arm-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/arm-linux-nat.c, 29 times
- external/gpl3/gdb/dist/gdb/arm-nbsd-nat.c, 10 times
- external/gpl3/gdb/dist/gdb/darwin-nat.c, line 242
- external/gpl3/gdb/dist/gdb/fbsd-nat.c, 19 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-aarch64-low.c, 2 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-arm-low.c, 9 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-crisv32-low.c, line 315
- external/gpl3/gdb/dist/gdb/gdbserver/linux-low.c, 33 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-m68k-low.c, line 158
- external/gpl3/gdb/dist/gdb/gdbserver/linux-mips-low.c, 3 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-nios2-low.c, line 151
- external/gpl3/gdb/dist/gdb/gdbserver/linux-ppc-low.c, line 140
- external/gpl3/gdb/dist/gdb/gdbserver/linux-s390-low.c, 3 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-tic6x-low.c, line 259
- external/gpl3/gdb/dist/gdb/gdbserver/linux-x86-low.c, 14 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-xtensa-low.c, line 224
- external/gpl3/gdb/dist/gdb/gdbserver/lynx-low.c, line 204
- external/gpl3/gdb/dist/gdb/gdbserver/spu-low.c, 13 times
- external/gpl3/gdb/dist/gdb/gnu-nat.c, line 2135
- external/gpl3/gdb/dist/gdb/hppa-linux-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/hppa-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/hppa-obsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/i386-bsd-nat.c, 12 times
- external/gpl3/gdb/dist/gdb/i386-fbsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/i386-linux-nat.c, 15 times
- external/gpl3/gdb/dist/gdb/ia64-linux-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/inf-ptrace.c, 15 times
- external/gpl3/gdb/dist/gdb/linux-fork.c, 3 times
- external/gpl3/gdb/dist/gdb/linux-nat-trad.c, 2 times
- external/gpl3/gdb/dist/gdb/linux-nat.c, 12 times
- external/gpl3/gdb/dist/gdb/linux-nat.h, line 180
- external/gpl3/gdb/dist/gdb/m32r-linux-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/m68k-linux-nat.c, 9 times
- external/gpl3/gdb/dist/gdb/mips-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/mips-linux-nat.c, 10 times
- external/gpl3/gdb/dist/gdb/mips-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/mips64-obsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/nat/aarch64-linux-hw-point.c, 3 times
- external/gpl3/gdb/dist/gdb/nat/aarch64-linux.c, line 240
- external/gpl3/gdb/dist/gdb/nat/aarch64-sve-linux-ptrace.c, 2 times
- external/gpl3/gdb/dist/gdb/nat/amd64-linux-siginfo.c, 5 times
- external/gpl3/gdb/dist/gdb/nat/gdb_ptrace.h, 2 times
- external/gpl3/gdb/dist/gdb/nat/linux-ptrace.c, 11 times
- external/gpl3/gdb/dist/gdb/nat/mips-linux-watch.c, line 167
- external/gpl3/gdb/dist/gdb/nat/ppc-linux.c, line 89
- external/gpl3/gdb/dist/gdb/nat/x86-linux-dregs.c, 2 times
- external/gpl3/gdb/dist/gdb/nbsd-nat.c, 9 times
- external/gpl3/gdb/dist/gdb/obsd-nat.c, 4 times
- external/gpl3/gdb/dist/gdb/ppc-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/ppc-linux-nat.c, 31 times
- external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/ppc-obsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/riscv-fbsd-nat.c, 6 times
- external/gpl3/gdb/dist/gdb/riscv-linux-nat.c, 7 times
- external/gpl3/gdb/dist/gdb/rs6000-nat.c, line 156
- external/gpl3/gdb/dist/gdb/s390-linux-nat.c, 15 times
- external/gpl3/gdb/dist/gdb/sh-nbsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/sparc-nat.c, 7 times
- external/gpl3/gdb/dist/gdb/spu-linux-nat.c, 9 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/aarch64-dbreg-contents.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/attach-twice.c, line 36
- external/gpl3/gdb/dist/gdb/tilegx-linux-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/vax-bsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/x86-bsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/x86-linux-nat.c, 5 times
- external/gpl3/gdb/dist/gdb/xtensa-linux-nat.c, 7 times
- lib/libc/arch/aarch64/sys/ptrace.S, 2 times
- lib/libc/arch/alpha/sys/ptrace.S, 3 times
- lib/libc/arch/arm/sys/ptrace.S, 2 times
- lib/libc/arch/hppa/sys/ptrace.S, 3 times
- lib/libc/arch/i386/sys/ptrace.S, 2 times
- lib/libc/arch/ia64/sys/ptrace.S, 2 times
- lib/libc/arch/m68k/sys/ptrace.S, 2 times
- lib/libc/arch/mips/sys/ptrace.S, 4 times
- lib/libc/arch/or1k/sys/ptrace.S, 2 times
- lib/libc/arch/powerpc/sys/ptrace.S, 2 times
- lib/libc/arch/powerpc64/sys/ptrace.S, 2 times
- lib/libc/arch/riscv/sys/ptrace.S, 2 times
- lib/libc/arch/sh3/sys/ptrace.S, line 111
- lib/libc/arch/vax/sys/ptrace.S, 2 times
- lib/libc/arch/x86_64/sys/ptrace.S, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.cc, line 725
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_report.cc, 10 times
- sys/kern/sys_ptrace.c, line 222
- tests/kernel/t_lockf.c, 2 times
- tests/lib/libc/sys/t_ptrace.c, 7 times
- tests/lib/libc/sys/t_ptrace_amd64_wait.h, 17 times
- tests/lib/libc/sys/t_ptrace_i386_wait.h, 17 times
- tests/lib/libc/sys/t_ptrace_wait.c, 239 times
- tests/lib/libc/sys/t_ptrace_x86_wait.h, 106 times
- usr.bin/gcore/gcore.c, 5 times