Defined in 4 files as a prototype:
Defined in 1 files as a function:
Referenced in 172 files:
- bin/cp/utils.c, line 213
- 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 577
- contrib/apr/memory/unix/apr_pools.c, 3 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/elftoolchain/libelf/elf_end.c, line 83
- contrib/elftoolchain/libelf/elf_update.c, line 1107
- contrib/elftoolchain/libelf/libelf_open.c, line 232
- contrib/elftoolchain/libelftc/elftc_copyfile.c, line 104
- contrib/expat/xmlwf/unixfilemap.c, line 100
- contrib/file/src/apprentice.c, line 576
- contrib/file/src/der.c, line 444
- contrib/file/src/seccomp.c, line 205
- 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 4868
- contrib/libpcap/pcap-usb-linux.c, line 1359
- contrib/libucl/src/ucl_util.c, line 149
- contrib/libucl/tests/test_speed.c, line 148
- contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp, line 46
- contrib/llvm-project/compiler-rt/lib/profile/GCDAProfiling.c, line 320
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingFile.c, 3 times
- contrib/llvm-project/compiler-rt/lib/safestack/safestack_platform.h, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 184
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 133
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_netbsd.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_openbsd.cpp, line 49
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.cpp, line 82
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_libdispatch.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp, 4 times
- contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp, line 359
- contrib/mandoc/dbm_map.c, line 130
- contrib/mandoc/mandocdb.c, 2 times
- contrib/mandoc/read.c, line 596
- 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 1149
- 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 34051
- contrib/telnet/telnetd/telnetd.c, line 929
- contrib/unbound/compat/getentropy_linux.c, line 457
- contrib/unbound/compat/getentropy_osx.c, line 353
- 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 116
- lib/libc/gen/nlist.c, 2 times
- lib/libc/gen/sem_new.c, 2 times
- lib/libc/iconv/citrus_mmap.c, line 94
- lib/libc/locale/collate.c, 5 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 305
- lib/libkvm/kvm_powerpc.c, 2 times
- lib/libkvm/kvm_powerpc64.c, 2 times
- lib/libnetmap/nmport.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, 7 times
- libexec/rtld-elf/powerpc64/reloc.c, line 352
- libexec/rtld-elf/rtld.c, 2 times
- libexec/rtld-elf/rtld_malloc.c, line 263
- sbin/fsck_msdosfs/fat.c, line 792
- sbin/ldconfig/ldconfig.c, line 571
- 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/openzfs/cmd/ztest/ztest.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/mmapwrite.c, line 128
- sys/contrib/openzfs/tests/zfs-tests/cmd/readmmap/readmmap.c, line 107
- 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 111
- sys/net/netmap_user.h, line 963
- 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/fs/fusefs/interrupt.cc, line 184
- tests/sys/fs/fusefs/io.cc, 2 times
- tests/sys/fs/fusefs/read.cc, 2 times
- tests/sys/fs/fusefs/utils.cc, line 623
- tests/sys/fs/fusefs/write.cc, 2 times
- tests/sys/kern/kcov.c, 3 times
- tests/sys/netmap/ctrl-api-test.c, line 1070
- tests/sys/posixshm/memfd_test.c, 6 times
- tests/sys/posixshm/posixshm_test.c, 21 times
- tests/sys/vm/mmap_test.c, 8 times
- tests/sys/vm/page_fault_signal.c, 5 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 326
- 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 237
- usr.bin/tail/misc.c, line 106
- usr.bin/tail/reverse.c, line 174
- usr.bin/xinstall/xinstall.c, 4 times
- usr.sbin/acpi/acpidb/acpidb.c, 4 times
- usr.sbin/bhyve/snapshot.c, line 217
- usr.sbin/bhyvectl/bhyvectl.c, line 530
- usr.sbin/btxld/btxld.c, line 395
- usr.sbin/config/main.c, 2 times
- usr.sbin/cpucontrol/cpucontrol.c, line 398
- 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 1206
- usr.sbin/pmcstat/pmcpl_gprof.c, line 234