Defined in 1 files as a prototype:
Defined in 2 files as a member:
Defined in 6 files as a macro:
Defined in 1 files as a function:
Referenced in 185 files:
- bin/ps/nlist.c, 5 times
- bin/sh/eval.c, 2 times
- common/lib/libc/atomic/atomic_init_testset.c, line 295
- common/lib/libc/sys/cpuset.c, line 139
- crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/getdtablesize.c, line 85
- crypto/external/bsd/openssh/dist/servconf.c, line 941
- crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c, line 275
- crypto/external/cpl/trousers/dist/src/tcsd/platform.c, line 97
- dist/pf/sbin/pfctl/pfctl.c, line 1539
- external/bsd/dhcpcd/dist/src/duid.c, 2 times
- external/bsd/dhcpcd/dist/src/if-bsd.c, 5 times
- external/bsd/ipf/dist/ipsend/44arp.c, 2 times
- external/bsd/ipf/dist/ipsend/sock.c, line 280
- external/bsd/jemalloc/dist/src/pages.c, line 426
- external/bsd/libc++/dist/libcxx/src/thread.cpp, line 77
- external/bsd/libevent/dist/arc4random.c, 3 times
- external/bsd/libproc/dist/proc_create.c, 2 times
- external/bsd/llvm/dist/llvm/lib/Support/Host.cpp, line 1141
- external/bsd/ntp/dist/lib/isc/unix/ifiter_sysctl.c, 2 times
- external/bsd/ntp/dist/lib/isc/unix/net.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/arc4random.c, 3 times
- external/bsd/openldap/dist/libraries/liblutil/uuid.c, 2 times
- external/bsd/tmux/dist/osdep-darwin.c, line 62
- external/bsd/tmux/dist/osdep-dragonfly.c, 2 times
- external/bsd/tmux/dist/osdep-freebsd.c, 3 times
- external/bsd/tmux/dist/osdep-netbsd.c, 3 times
- external/bsd/tmux/dist/osdep-openbsd.c, 3 times
- external/bsd/top/dist/machine/m_freebsd.c, 3 times
- external/bsd/top/dist/machine/m_netbsd.c, 7 times
- external/bsd/unbound/dist/compat/getentropy_freebsd.c, line 44
- external/bsd/unbound/dist/compat/getentropy_osx.c, 5 times
- external/bsd/wpa/dist/src/l2_packet/l2_packet_freebsd.c, 2 times
- external/bsd/wpa/dist/src/wps/wps_upnp.c, 2 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c, 2 times
- external/gpl3/binutils/dist/libiberty/physmem.c, 2 times
- external/gpl3/gcc/dist/gcc/config/aarch64/driver-aarch64.c, line 320
- external/gpl3/gcc/dist/gcc/config/darwin-driver.c, line 132
- external/gpl3/gcc/dist/gcc/config/rs6000/driver-rs6000.c, 3 times
- external/gpl3/gcc/dist/libgcc/config/aarch64/freebsd-unwind.h, line 59
- external/gpl3/gcc/dist/libgcc/config/i386/dragonfly-unwind.h, 3 times
- external/gpl3/gcc/dist/libgcc/config/i386/freebsd-unwind.h, line 60
- external/gpl3/gcc/dist/libgomp/config/bsd/proc.c, line 52
- external/gpl3/gcc/dist/libiberty/physmem.c, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_procmaps_freebsd.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_procmaps_netbsd.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/thread.cc, line 47
- external/gpl3/gdb/dist/gdb/amd64-fbsd-nat.c, line 301
- external/gpl3/gdb/dist/gdb/fbsd-nat.c, 7 times
- external/gpl3/gdb/dist/gdb/i386-fbsd-nat.c, line 203
- external/gpl3/gdb/dist/gdb/i386-obsd-nat.c, line 119
- external/gpl3/gdb/dist/gdb/nbsd-nat.c, 3 times
- external/gpl3/gdb/dist/libiberty/physmem.c, 2 times
- external/gpl3/gdb/dist/sim/bfin/dv-bfin_emac.c, 7 times
- external/lgpl3/gmp/dist/tune/freq.c, 2 times
- external/mpl/bind/dist/lib/isc/unix/meminfo.c, line 35
- external/mpl/bind/dist/lib/isc/unix/net.c, 2 times
- external/public-domain/xz/dist/src/common/tuklib_cpucores.c, 2 times
- external/public-domain/xz/dist/src/common/tuklib_physmem.c, 2 times
- lib/libc/arch/powerpc/gen/syncicache.c, 2 times
- lib/libc/arch/powerpc/misc/powerpc_initfini.c, line 60
- lib/libc/arch/powerpc64/gen/syncicache.c, 2 times
- lib/libc/compat-43/gethostid.c, line 55
- lib/libc/compat-43/sethostid.c, line 54
- lib/libc/compat/net/__cmsg_alignbytes.c, line 60
- lib/libc/gen/arc4random.c, line 423
- lib/libc/gen/asysctl.c, line 53
- lib/libc/gen/confstr.c, 2 times
- lib/libc/gen/getdomainname.c, line 66
- lib/libc/gen/gethostname.c, line 64
- lib/libc/gen/getloadavg.c, line 73
- lib/libc/gen/getpagesize.c, line 63
- lib/libc/gen/getttyent.c, line 239
- lib/libc/gen/setdomainname.c, line 62
- lib/libc/gen/sethostname.c, line 62
- lib/libc/gen/sysconf.c, 4 times
- lib/libc/gen/sysctl.c, line 55
- lib/libc/gen/sysctlbyname.c, line 65
- lib/libc/gen/sysctlgetmibinfo.c, 3 times
- lib/libc/gen/uname.c, 5 times
- lib/libc/gmon/gmon.c, line 403
- lib/libc/misc/stack_protector.c, line 46
- lib/libc/net/getaddrinfo.c, 2 times
- lib/libc/net/getifaddrs.c, 2 times
- lib/libc/stdlib/jemalloc.c, line 3431
- lib/libexecinfo/backtrace.c, line 69
- lib/libkvm/kvm.c, line 287
- lib/libkvm/kvm_file.c, 2 times
- lib/libkvm/kvm_proc.c, 8 times
- lib/libpthread/pthread.c, 2 times
- lib/libutil/getbootfile.c, line 63
- lib/libutil/getbyteorder.c, line 50
- lib/libutil/getfsspecname.c, 3 times
- lib/libutil/getlabelsector.c, 2 times
- lib/libutil/getmaxpartitions.c, line 50
- lib/libutil/getrawpartition.c, line 50
- lib/libutil/kinfo_getvmmap.c, 2 times
- libexec/identd/identd.c, 2 times
- libexec/ld.elf_so/expand.c, line 95
- libexec/ld.elf_so/paths.c, 3 times
- libexec/rpc.rstatd/rstat_proc.c, 2 times
- sbin/dmesg/dmesg.c, 3 times
- sbin/dump/rcache.c, 2 times
- sbin/fdisk/fdisk.c, 4 times
- sbin/init/init.c, 7 times
- sbin/iscsid/iscsid_main.c, 2 times
- sbin/mknod/mknod.c, 2 times
- sbin/pppoectl/pppoectl.c, line 251
- sbin/route/prog_ops.h, line 69
- sbin/route/route_hostops.c, line 51
- sbin/routed/if.c, 2 times
- sbin/routed/main.c, line 256
- sbin/routed/table.c, 2 times
- sbin/sysctl/prog_ops.h, line 59
- sbin/sysctl/sysctl_hostops.c, line 40
- sys/arch/mmeye/stand/bootcoff/osloader.c, line 83
- sys/arch/mmeye/stand/bootelf/boot.c, line 118
- sys/arch/powerpc/stand/mkbootimage/mkbootimage.c, line 910
- sys/arch/xen/include/amd64/hypercalls.h, 3 times
- sys/arch/xen/include/i386/hypercalls.h, 2 times
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, line 3091
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.cc, line 778
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.cc, line 233
- sys/external/bsd/drm/dist/bsd-core/drm_sysctl.c, 7 times
- sys/lib/libkern/arch/powerpc/syncicache.c, 2 times
- sys/modules/examples/sysctl/sysctl.c, line 43
- tests/kernel/h_getprocpath.c, line 41
- tests/kernel/t_proccwd.c, line 53
- tests/kernel/t_zombie.c, line 111
- tests/lib/libc/sys/t_fork.c, 2 times
- tests/lib/libc/sys/t_mmap.c, 2 times
- tests/lib/libc/sys/t_ptrace_wait.c, 21 times
- tests/lib/libc/sys/t_ptrace_wait.h, 5 times
- usr.bin/fstat/fstat.c, 2 times
- usr.bin/ipcrm/ipcrm.c, 6 times
- usr.bin/ipcs/ipcs.c, 9 times
- usr.bin/make/main.c, line 1036
- usr.bin/netstat/netstat_hostops.c, line 40
- usr.bin/netstat/prog_ops.h, line 62
- usr.bin/nfsstat/nfsstat.c, line 194
- usr.bin/pmap/main.c, line 435
- usr.bin/sockstat/prog_ops.h, line 58
- usr.bin/sockstat/sockstat_hostops.c, line 40
- usr.bin/systat/bufcache.c, 4 times
- usr.bin/systat/fetch.c, line 78
- usr.bin/systat/syscall.c, 4 times
- usr.bin/systat/vmstat.c, 4 times
- usr.bin/uname/uname.c, line 119
- usr.bin/vmstat/drvstats.c, 11 times
- usr.bin/vmstat/vmstat.c, 10 times
- usr.bin/w/w.c, 2 times
- usr.bin/whereis/whereis.c, 2 times
- usr.sbin/altq/tbrconfig/tbrconfig.c, line 293
- usr.sbin/arp/arp_hostops.c, line 52
- usr.sbin/arp/prog_ops.h, line 69
- usr.sbin/faithd/faithd.c, line 590
- usr.sbin/ip6addrctl/ip6addrctl.c, 2 times
- usr.sbin/kgmon/kgmon.c, 12 times
- usr.sbin/kvm_mkdb/nlist_elf32.c, 2 times
- usr.sbin/kvm_mkdb/testdb.c, 2 times
- usr.sbin/ldpd/mpls_routes.c, 4 times
- usr.sbin/lockstat/main.c, line 486
- usr.sbin/ndp/ndp_hostops.c, line 53
- usr.sbin/ndp/prog_ops.h, line 70
- usr.sbin/pstat/pstat.c, 4 times
- usr.sbin/puffs/mount_sysctlfs/sysctlfs.c, 13 times
- usr.sbin/route6d/route6d.c, 4 times
- usr.sbin/rtadvd/prog_ops.h, line 70
- usr.sbin/rtadvd/rtadvd_hostops.c, line 25
- usr.sbin/rwhod/rwhod.c, 3 times
- usr.sbin/sysinst/arch/atari/md.c, 2 times
- usr.sbin/sysinst/arch/evbarm/md.c, 2 times
- usr.sbin/sysinst/arch/hpcarm/md.c, 2 times
- usr.sbin/sysinst/arch/i386/md.c, 4 times
- usr.sbin/sysinst/arch/zaurus/md.c, 2 times
- usr.sbin/sysinst/disks.c, 2 times
- usr.sbin/sysinst/target.c, 2 times
- usr.sbin/sysinst/util.c, 2 times
- usr.sbin/syslogd/syslogd.c, 3 times
- usr.sbin/tcpdrop/tcpdrop.c, line 154
- usr.sbin/traceroute/traceroute_hostops.c, line 54
- usr.sbin/traceroute6/traceroute6.c, line 381
- usr.sbin/wlanctl/wlanctl.c, 2 times