Defined in 5 files as a prototype:
Defined in 1 files as a function:
Referenced in 167 files:
- bin/cp/utils.c, line 192
- cddl/contrib/opensolaris/cmd/ztest/ztest.c, 2 times
- cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c, 4 times
- cddl/contrib/opensolaris/lib/libctf/common/ctf_subr.c, line 43
- contrib/apr/locks/unix/proc_mutex.c, line 350
- contrib/apr/memory/unix/apr_pools.c, 2 times
- contrib/apr/mmap/unix/mmap.c, line 64
- contrib/apr/shmem/unix/shm.c, 4 times
- contrib/binutils/bfd/bfdwin.c, 2 times
- contrib/bmake/parse.c, 2 times
- contrib/capsicum-test/capability-fd.cc, 2 times
- contrib/capsicum-test/capmode.cc, line 362
- contrib/capsicum-test/linux.cc, 2 times
- contrib/compiler-rt/lib/profile/GCDAProfiling.c, line 326
- contrib/compiler-rt/lib/profile/InstrProfilingFile.c, 2 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc, line 191
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc, line 131
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_netbsd.cc, 2 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_openbsd.cc, line 48
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cc, 2 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_libdispatch_mac.cc, 2 times
- contrib/elftoolchain/libelf/elf_end.c, line 84
- contrib/elftoolchain/libelf/elf_update.c, line 1090
- contrib/elftoolchain/libelf/libelf_open.c, line 232
- contrib/elftoolchain/libelftc/elftc_copyfile.c, line 104
- contrib/expat/xmlwf/unixfilemap.c, line 101
- contrib/file/src/apprentice.c, line 564
- contrib/file/src/der.c, line 401
- contrib/file/src/seccomp.c, line 183
- contrib/gcc/config/host-darwin.c, line 62
- contrib/gcc/config/host-hpux.c, 3 times
- contrib/gcc/config/host-linux.c, 5 times
- contrib/gcc/config/host-solaris.c, line 59
- contrib/gcc/config/i386/host-cygwin.c, line 73
- contrib/gcc/ggc-common.c, line 645
- contrib/gcc/ggc-page.c, line 995
- contrib/gcc/ggc-zone.c, 2 times
- contrib/gcclibs/libiberty/testsuite/test-demangle.c, line 122
- contrib/gcclibs/libmudflap/mf-hooks1.c, 5 times
- contrib/googletest/googletest/src/gtest-death-test.cc, line 1310
- contrib/jemalloc/src/pages.c, line 135
- contrib/libevent/buffer.c, line 3158
- contrib/libpcap/pcap-bpf.c, 2 times
- contrib/libpcap/pcap-linux.c, line 4677
- contrib/libpcap/pcap-usb-linux.c, line 1194
- contrib/libucl/src/ucl_util.c, line 149
- contrib/libucl/tests/test_speed.c, line 148
- contrib/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp, line 353
- contrib/mandoc/dbm_map.c, line 130
- contrib/mandoc/mandocdb.c, 2 times
- contrib/mandoc/read.c, line 595
- contrib/netbsd-tests/lib/libc/sys/t_clone.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_mincore.c, 6 times
- contrib/netbsd-tests/lib/libc/sys/t_mlock.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, 10 times
- contrib/netbsd-tests/lib/libc/sys/t_mprotect.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_msync.c, 2 times
- contrib/netbsd-tests/lib/libcurses/director/director.c, line 221
- contrib/netbsd-tests/net/bpf/t_bpf.c, line 164
- contrib/ntp/ntpd/ntpd.c, 2 times
- contrib/ntp/sntp/libevent/buffer.c, line 3150
- contrib/ntp/sntp/libopts/text_mmap.c, line 350
- contrib/nvi/ex/ex_tag.c, line 1156
- contrib/ofed/libcxgb4/dev.c, 2 times
- contrib/ofed/libcxgb4/verbs.c, 17 times
- contrib/ofed/libmlx4/buf.c, 2 times
- contrib/ofed/libmlx4/mlx4.c, 3 times
- contrib/ofed/libmlx5/buf.c, 2 times
- contrib/ofed/libmlx5/mlx5.c, 3 times
- contrib/ofed/librdmacm/examples/rcopy.c, 3 times
- contrib/ofed/librdmacm/preload.c, line 1169
- contrib/processor-trace/libipt/src/posix/pt_section_posix.c, 2 times
- contrib/sqlite3/sqlite3.c, line 32997
- contrib/telnet/telnetd/telnetd.c, line 934
- contrib/unbound/compat/getentropy_linux.c, line 475
- contrib/unbound/compat/getentropy_osx.c, line 365
- contrib/unbound/compat/getentropy_solaris.c, line 379
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 629
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1389
- crypto/heimdal/lib/asn1/check-common.c, line 154
- crypto/heimdal/lib/ipc/client.c, 2 times
- crypto/heimdal/lib/roken/parse_reply-test.c, line 120
- crypto/heimdal/lib/roken/test-mem.c, line 198
- crypto/openssl/crypto/mem_sec.c, line 506
- lib/lib80211/lib80211_regdomain.c, 2 times
- lib/libc/db/recno/rec_close.c, line 80
- lib/libc/gen/arc4random.h, line 62
- lib/libc/gen/nlist.c, 4 times
- lib/libc/gen/sem_new.c, 2 times
- lib/libc/iconv/citrus_mmap.c, line 94
- lib/libc/locale/collate.c, 4 times
- lib/libc/locale/rune.c, 3 times
- lib/libc/nls/msgcat.c, 3 times
- lib/libc/tests/string/stpncpy_test.c, 2 times
- lib/libc/tests/string/wcsnlen_test.c, 2 times
- lib/libc/tests/sys/sendfile_test.c, 3 times
- lib/libc/x86/sys/__vdso_gettc.c, line 154
- lib/libcuse/cuse_lib.c, line 282
- lib/libgeom/geom_stats.c, line 56
- lib/libkvm/kvm.c, line 303
- lib/libkvm/kvm_powerpc.c, 2 times
- lib/libkvm/kvm_powerpc64.c, 2 times
- lib/libpmc/pmu-events/json.c, line 78
- lib/libthr/thread/thr_pshared.c, 3 times
- lib/libthr/thread/thr_stack.c, line 284
- lib/libvgl/main.c, 2 times
- libexec/rtld-elf/map_object.c, 6 times
- libexec/rtld-elf/powerpc64/reloc.c, line 329
- libexec/rtld-elf/rtld.c, 2 times
- libexec/rtld-elf/rtld_malloc.c, line 353
- sbin/ldconfig/ldconfig.c, line 570
- sys/amd64/amd64/bpf_jit_machdep.c, line 647
- sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.c, line 163
- sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c, line 84
- sys/contrib/libsodium/src/libsodium/sodium/utils.c, line 482
- sys/contrib/octeon-sdk/cvmx-app-init-linux.c, 2 times
- sys/contrib/octeon-sdk/cvmx-malloc/malloc.c, line 465
- sys/contrib/octeon-sdk/cvmx-shmem.c, 2 times
- sys/contrib/zlib/test/minigzip.c, line 420
- sys/contrib/zstd/zlibWrapper/examples/minigzip.c, line 425
- sys/i386/i386/bpf_jit_machdep.c, line 677
- sys/net/bpf_jitter.c, line 110
- sys/net/netmap_user.h, line 970
- tests/sys/audit/file-close.c, 2 times
- tests/sys/cddl/zfs/bin/readmmap.c, line 109
- tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c, line 586
- tests/sys/kern/kcov.c, 3 times
- tests/sys/netmap/ctrl-api-test.c, line 1070
- tests/sys/posixshm/posixshm_test.c, 5 times
- tests/sys/vm/mmap_test.c, 7 times
- tools/bus_space/bus.c, line 222
- tools/bus_space/busdma.c, line 278
- tools/regression/fsx/fsx.c, 3 times
- tools/regression/geom/ConfCmp/ConfCmp.c, line 199
- tools/regression/geom/MdLoad/MdLoad.c, line 225
- tools/regression/security/cap_test/cap_test_capabilities.c, 2 times
- tools/regression/security/open_to_operation/open_to_operation.c, 4 times
- tools/test/upsdl/upsdl.c, line 90
- tools/tools/netmap/nmreplay.c, line 261
- tools/tools/pciroms/pciroms.c, line 335
- tools/tools/pirtool/pirtool.c, line 114
- tools/tools/syscall_timing/syscall_timing.c, line 669
- usr.bin/ar/write.c, line 231
- usr.bin/cmp/regular.c, 6 times
- usr.bin/dtc/input_buffer.cc, line 129
- usr.bin/grep/file.c, line 239
- usr.bin/ldd/sods.c, 3 times
- usr.bin/locate/locate/locate.c, line 325
- usr.bin/mkimg/image.c, line 341
- usr.bin/patch/inp.c, 3 times
- usr.bin/sort/file.c, line 804
- usr.bin/tail/forward.c, line 234
- usr.bin/tail/misc.c, line 103
- usr.bin/tail/reverse.c, line 171
- usr.bin/xinstall/xinstall.c, 4 times
- usr.sbin/acpi/acpidb/acpidb.c, 4 times
- usr.sbin/bhyvectl/bhyvectl.c, line 516
- usr.sbin/btxld/btxld.c, line 395
- usr.sbin/config/main.c, 2 times
- usr.sbin/cpucontrol/cpucontrol.c, line 397
- usr.sbin/cxgbetool/cxgbetool.c, 4 times
- usr.sbin/makefs/msdos/msdosfs_vnops.c, 2 times
- usr.sbin/mlx5tool/mlx5tool.c, line 186
- usr.sbin/mpsutil/mps_flash.c, 8 times
- usr.sbin/pciconf/pciconf.c, line 1163
- usr.sbin/pmcstat/pmcpl_gprof.c, line 234