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 226 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 970
- crypto/external/bsd/openssl.old/dist/crypto/rand/rand_unix.c, line 274
- crypto/external/bsd/openssl/dist/providers/implementations/rands/seeding/rand_unix.c, line 261
- crypto/external/cpl/trousers/dist/src/tcsd/platform.c, line 97
- dist/pf/sbin/pfctl/pfctl.c, line 1539
- external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/sysinfo.cc, line 154
- external/apache2/llvm/dist/llvm/lib/Support/Host.cpp, line 1390
- external/apache2/llvm/dist/llvm/utils/benchmark/src/sysinfo.cc, line 152
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-port.cc, 3 times
- external/bsd/dhcpcd/dist/src/duid.c, 2 times
- external/bsd/dhcpcd/dist/src/if-bsd.c, 4 times
- external/bsd/dhcpcd/dist/src/privsep-bsd.c, line 248
- 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/libevent/dist/arc4random.c, 2 times
- external/bsd/libproc/dist/proc_create.c, 2 times
- 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 63
- 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.old/dist/libiberty/physmem.c, 2 times
- external/gpl3/binutils/dist/libiberty/physmem.c, 2 times
- external/gpl3/gcc.old/dist/gcc/config/aarch64/driver-aarch64.c, line 396
- external/gpl3/gcc.old/dist/gcc/config/darwin-driver.c, line 144
- external/gpl3/gcc.old/dist/gcc/config/rs6000/driver-rs6000.c, 3 times
- external/gpl3/gcc.old/dist/libgcc/config/aarch64/freebsd-unwind.h, line 59
- external/gpl3/gcc.old/dist/libgcc/config/i386/dragonfly-unwind.h, 3 times
- external/gpl3/gcc.old/dist/libgcc/config/i386/freebsd-unwind.h, line 60
- external/gpl3/gcc.old/dist/libgomp/config/bsd/proc.c, line 52
- external/gpl3/gcc.old/dist/libiberty/physmem.c, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, line 220
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_procmaps_freebsd.cc, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/thread.cc, line 47
- external/gpl3/gcc/dist/gcc/config/aarch64/driver-aarch64.c, line 396
- external/gpl3/gcc/dist/gcc/config/darwin-driver.c, line 144
- 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, line 220
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/thread.cc, line 47
- external/gpl3/gdb.old/dist/gdb/amd64-fbsd-nat.c, line 302
- external/gpl3/gdb.old/dist/gdb/fbsd-nat.c, 7 times
- external/gpl3/gdb.old/dist/gdb/i386-fbsd-nat.c, line 204
- external/gpl3/gdb.old/dist/gdb/i386-obsd-nat.c, line 120
- external/gpl3/gdb.old/dist/gdb/nat/netbsd-nat.c, 3 times
- external/gpl3/gdb.old/dist/gdb/nbsd-nat.c, 6 times
- external/gpl3/gdb.old/dist/libiberty/physmem.c, 2 times
- external/gpl3/gdb.old/dist/sim/bfin/dv-bfin_emac.c, 7 times
- external/gpl3/gdb/dist/gdb/amd64-fbsd-nat.c, line 302
- external/gpl3/gdb/dist/gdb/fbsd-nat.c, 7 times
- external/gpl3/gdb/dist/gdb/i386-fbsd-nat.c, line 204
- external/gpl3/gdb/dist/gdb/i386-obsd-nat.c, line 120
- external/gpl3/gdb/dist/gdb/nat/netbsd-nat.c, 3 times
- external/gpl3/gdb/dist/gdb/nbsd-nat.c, 6 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/mit/libuv/dist/src/unix/darwin.c, 3 times
- external/mit/libuv/dist/src/unix/freebsd.c, 4 times
- external/mit/libuv/dist/src/unix/netbsd.c, 6 times
- external/mit/libuv/dist/src/unix/openbsd.c, 10 times
- external/mit/libuv/dist/src/unix/process.c, line 419
- external/mpl/bind/dist/lib/isc/unix/meminfo.c, line 36
- 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 424
- lib/libc/gen/asysctl.c, line 53
- lib/libc/gen/confstr.c, 2 times
- lib/libc/gen/getdomainname.c, line 66
- lib/libc/gen/getentropy.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 413
- 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 3425
- lib/libcrypt/crypt-argon2.c, line 166
- lib/libexecinfo/backtrace.c, line 70
- lib/libkvm/kvm.c, line 312
- 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/cgdconfig/argon2_utils.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 229
- sbin/route/prog_ops.h, line 101
- sbin/route/route_hostops.c, line 56
- 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/amd64/include/xen/hypercalls.h, 3 times
- sys/arch/i386/include/xen/hypercalls.h, 2 times
- 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/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/external/bsd/drm2/dist/drm/i915/i915_perf.c, line 3828
- sys/lib/libkern/arch/powerpc/syncicache.c, 2 times
- sys/modules/examples/sysctl/sysctl.c, line 43
- tests/fs/vfs/t_link.c, 2 times
- 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, 4 times
- tests/lib/libc/sys/t_ptrace_clone_wait.h, 4 times
- tests/lib/libc/sys/t_ptrace_exec_wait.h, 4 times
- tests/lib/libc/sys/t_ptrace_fork_wait.h, 4 times
- tests/lib/libc/sys/t_ptrace_signal_wait.h, 6 times
- tests/lib/libc/sys/t_ptrace_step_wait.h, 2 times
- tests/lib/libc/sys/t_ptrace_topology_wait.h, line 590
- tests/lib/libc/sys/t_ptrace_wait.h, 6 times
- tests/modules/t_modctl.c, line 194
- tests/sys/x86/t_convert_xmm_s87.c, line 75
- 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 975
- usr.bin/nfsstat/nfsstat.c, line 194
- usr.bin/pmap/main.c, line 428
- 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/ps.c, line 314
- usr.bin/systat/syscall.c, 4 times
- usr.bin/systat/vmstat.c, 3 times
- usr.bin/uname/uname.c, line 119
- usr.bin/vmstat/drvstats.c, 11 times
- usr.bin/vmstat/vmstat.c, 11 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 54
- usr.sbin/arp/prog_ops.h, line 72
- usr.sbin/faithd/faithd.c, line 590
- usr.sbin/ip6addrctl/ip6addrctl.c, 2 times
- usr.sbin/kgmon/kgmon.c, 13 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 492
- 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/tprof/tprof.c, line 150
- usr.sbin/traceroute/traceroute_hostops.c, line 54
- usr.sbin/traceroute6/traceroute6.c, line 381
- usr.sbin/wlanctl/wlanctl.c, 2 times