Defined in 5 files as a macro:
Referenced in 237 files:
- bin/cp/utils.c, line 189
- cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/badioctl.c, line 69
- cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c, 3 times
- cddl/contrib/opensolaris/lib/libctf/common/ctf_subr.c, 2 times
- cddl/contrib/opensolaris/tools/ctf/dump/dump.c, line 918
- contrib/apr/locks/unix/proc_mutex.c, line 596
- contrib/apr/memory/unix/apr_pools.c, 2 times
- contrib/apr/mmap/unix/mmap.c, line 130
- contrib/apr/shmem/unix/shm.c, 5 times
- contrib/binutils/bfd/bfdwin.c, 4 times
- contrib/binutils/binutils/objdump.c, line 971
- contrib/bmake/parse.c, line 476
- contrib/capsicum-test/capability-fd.cc, 9 times
- contrib/capsicum-test/capmode.cc, 2 times
- contrib/capsicum-test/linux.cc, 3 times
- contrib/elftoolchain/libelf/elf_update.c, line 1141
- contrib/elftoolchain/libelf/libelf_open.c, line 194
- contrib/elftoolchain/libelftc/elftc_copyfile.c, line 72
- contrib/expat/xmlwf/unixfilemap.c, line 92
- contrib/file/src/apprentice.c, 2 times
- contrib/file/src/der.c, line 440
- contrib/googletest/googletest/src/gtest-death-test.cc, line 1291
- contrib/ipfilter/l4check/l4check.c, line 475
- contrib/jemalloc/src/pages.c, line 25
- contrib/libevent/buffer.c, line 3051
- contrib/libpcap/pcap-bpf.c, 2 times
- contrib/libpcap/pcap-linux.c, line 4814
- contrib/libpcap/pcap-usb-linux.c, line 470
- contrib/libucl/src/ucl_util.c, 4 times
- contrib/libucl/tests/test_speed.c, line 86
- contrib/llvm-project/compiler-rt/lib/builtins/enable_execute_stack.c, line 65
- contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp, line 53
- contrib/llvm-project/compiler-rt/lib/profile/GCDAProfiling.c, line 279
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingFile.c, 3 times
- contrib/llvm-project/compiler-rt/lib/profile/WindowsMMap.c, 2 times
- contrib/llvm-project/compiler-rt/lib/safestack/safestack.cpp, line 93
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 481
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp, 7 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp, line 312
- contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.cpp, line 56
- contrib/llvm-project/compiler-rt/lib/tsan/go/test.c, line 67
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp, line 54
- contrib/llvm-project/compiler-rt/lib/xray/xray_allocator.h, 2 times
- contrib/llvm-project/compiler-rt/lib/xray/xray_interface.cpp, 2 times
- contrib/llvm-project/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp, line 74
- contrib/llvm-project/lldb/tools/compact-unwind/compact-unwind-dumper.c, line 1446
- contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp, line 346
- contrib/mandoc/dbm_map.c, line 78
- contrib/mandoc/mandocdb.c, 2 times
- contrib/mandoc/read.c, line 452
- contrib/netbsd-tests/kernel/t_sysv.c, line 874
- 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_minherit.c, line 51
- contrib/netbsd-tests/lib/libc/sys/t_mlock.c, line 288
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, 13 times
- contrib/netbsd-tests/lib/libc/sys/t_mprotect.c, 8 times
- contrib/netbsd-tests/lib/libc/sys/t_msync.c, 2 times
- contrib/netbsd-tests/lib/libcurses/director/director.c, line 215
- contrib/netbsd-tests/net/bpf/t_bpf.c, line 132
- contrib/ntp/ntpd/refclock_oncore.c, line 1060
- contrib/ntp/ntpd/refclock_tt560.c, line 97
- contrib/ntp/sntp/libevent/buffer.c, line 3043
- contrib/ntp/sntp/libopts/autoopts.h, line 357
- contrib/ntp/sntp/libopts/configfile.c, 2 times
- contrib/ntp/sntp/libopts/text_mmap.c, 2 times
- contrib/nvi/ex/ex_tag.c, line 1042
- contrib/ofed/libcxgb4/dev.c, line 137
- contrib/ofed/libcxgb4/verbs.c, 3 times
- contrib/ofed/libmlx4/buf.c, line 46
- contrib/ofed/libmlx4/mlx4.c, line 128
- contrib/ofed/libmlx5/buf.c, line 508
- contrib/ofed/libmlx5/mlx5.c, line 596
- contrib/ofed/librdmacm/examples/rcopy.c, line 439
- contrib/ofed/librdmacm/preload.c, line 1162
- contrib/processor-trace/libipt/src/posix/pt_section_posix.c, line 134
- contrib/sqlite3/sqlite3.c, 3 times
- contrib/telnet/telnetd/telnetd.c, line 926
- contrib/unbound/compat/arc4random.c, 2 times
- contrib/unbound/compat/getentropy_linux.c, line 423
- contrib/unbound/compat/getentropy_osx.c, line 323
- contrib/unbound/compat/getentropy_solaris.c, line 345
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 619
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1384
- crypto/heimdal/lib/asn1/check-common.c, line 104
- crypto/heimdal/lib/roken/parse_reply-test.c, line 109
- crypto/heimdal/lib/roken/test-mem.c, line 134
- crypto/openssl/crypto/mem_sec.c, 2 times
- gnu/usr.bin/grep/grep.c, line 429
- lib/lib80211/lib80211_regdomain.c, line 645
- lib/libc/db/recno/rec_open.c, line 171
- lib/libc/gen/arc4random.h, line 110
- lib/libc/gen/dlfcn.c, line 260
- lib/libc/gen/nlist.c, 2 times
- lib/libc/gen/sem_new.c, line 225
- lib/libc/gmon/gmon.c, line 93
- lib/libc/iconv/citrus_mmap.c, line 76
- lib/libc/locale/collate.c, line 150
- lib/libc/locale/rune.c, line 95
- lib/libc/nls/msgcat.c, line 429
- lib/libc/tests/gen/arc4random_test.c, line 61
- lib/libc/tests/string/stpncpy_test.c, line 45
- lib/libc/tests/string/wcsnlen_test.c, line 46
- lib/libc/tests/sys/sendfile_test.c, 3 times
- lib/libc/x86/sys/__vdso_gettc.c, 2 times
- lib/libcuse/cuse_lib.c, line 216
- lib/libgeom/geom_stats.c, 2 times
- lib/libkvm/kvm_powerpc.c, 2 times
- lib/libkvm/kvm_powerpc64.c, 2 times
- lib/libkvm/kvm_private.c, 2 times
- lib/libnetmap/nmport.c, 2 times
- lib/libpmc/pmu-events/json.c, line 67
- lib/libthr/thread/thr_kern.c, line 161
- lib/libthr/thread/thr_pshared.c, line 228
- lib/libvgl/main.c, 2 times
- lib/libvmmapi/vmmapi.c, 2 times
- libexec/rtld-elf/map_object.c, 4 times
- libexec/rtld-elf/powerpc64/reloc.c, line 331
- libexec/rtld-elf/rtld.c, 3 times
- libexec/rtld-elf/rtld_malloc.c, line 275
- sbin/dump/cache.c, line 70
- sbin/fsck_msdosfs/fat.c, line 717
- sbin/ldconfig/elfhints.c, line 212
- sbin/ldconfig/ldconfig.c, 2 times
- sys/amd64/amd64/bpf_jit_machdep.c, 2 times
- sys/amd64/vmm/vmm_dev.c, line 757
- sys/amd64/vmm/vmm_instruction_emul.c, 8 times
- sys/compat/cloudabi/cloudabi_mem.c, line 58
- sys/compat/freebsd32/freebsd32_misc.c, 3 times
- sys/compat/linux/linux_mmap.c, 2 times
- sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.c, line 96
- sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c, line 45
- sys/contrib/libsodium/src/libsodium/sodium/utils.c, 4 times
- sys/contrib/octeon-sdk/cvmx-app-hotplug.c, line 550
- sys/contrib/octeon-sdk/cvmx-app-init-linux.c, 3 times
- sys/contrib/octeon-sdk/cvmx-shmem.c, line 495
- sys/contrib/openzfs/cmd/raidz_test/raidz_test.c, line 768
- sys/contrib/openzfs/cmd/ztest/ztest.c, 3 times
- sys/contrib/openzfs/module/zfs/arc.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/mmap_libaio/mmap_libaio.c, line 71
- sys/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/mmapwrite.c, line 118
- sys/contrib/openzfs/tests/zfs-tests/cmd/readmmap/readmmap.c, line 89
- sys/contrib/zlib/test/minigzip.c, line 412
- sys/contrib/zstd/zlibWrapper/examples/minigzip.c, line 417
- sys/dev/ksyms/ksyms.c, line 489
- sys/dev/sound/pcm/dsp.c, line 2250
- sys/dev/spibus/spigen.c, 2 times
- sys/i386/i386/bpf_jit_machdep.c, 2 times
- sys/kern/kern_kcov.c, 3 times
- sys/kern/kern_procctl.c, 2 times
- sys/net/netmap_user.h, line 988
- sys/sys/mman.h, line 59
- sys/vm/device_pager.c, line 296
- sys/vm/vm_mmap.c, 8 times
- tests/sys/audit/file-close.c, line 65
- tests/sys/cddl/zfs/bin/mmapwrite.c, 2 times
- tests/sys/cddl/zfs/bin/readmmap.c, line 91
- tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c, line 529
- tests/sys/file/closefrom_test.c, line 210
- tests/sys/fs/fusefs/interrupt.cc, line 159
- tests/sys/fs/fusefs/io.cc, 2 times
- tests/sys/fs/fusefs/read.cc, 2 times
- tests/sys/fs/fusefs/utils.cc, line 567
- tests/sys/fs/fusefs/write.cc, 2 times
- tests/sys/kern/coredump_phnum_helper.c, line 53
- tests/sys/kern/kcov.c, 9 times
- tests/sys/netmap/ctrl-api-test.c, line 1029
- tests/sys/posixshm/memfd_test.c, 9 times
- tests/sys/posixshm/posixshm_test.c, 39 times
- tests/sys/vm/mlock_test.c, 3 times
- tests/sys/vm/mmap_test.c, 23 times
- tests/sys/vm/page_fault_signal.c, 4 times
- tools/bus_space/bus.c, line 126
- tools/bus_space/busdma.c, line 425
- tools/regression/fsx/fsx.c, 3 times
- tools/regression/geom/ConfCmp/ConfCmp.c, line 195
- tools/regression/geom/MdLoad/MdLoad.c, line 221
- tools/regression/mlock/mlock.c, line 67
- tools/regression/nfsmmap/test1/test1.c, line 36
- tools/regression/nfsmmap/test2/test2.c, line 34
- tools/regression/p1003_1b/fifo.c, line 114
- tools/regression/p1003_1b/sched.c, line 230
- tools/regression/p1003_1b/yield.c, line 94
- tools/regression/posixsem2/semtest.c, line 28
- tools/regression/security/cap_test/cap_test_capabilities.c, 4 times
- tools/regression/security/open_to_operation/open_to_operation.c, 2 times
- tools/test/upsdl/upsdl.c, 3 times
- tools/test/vm86/vm86_test.c, 2 times
- tools/tools/ath/athdecode/main.c, line 75
- tools/tools/crypto/cryptotest.c, line 483
- tools/tools/ncpus/acpi.c, line 199
- tools/tools/netmap/nmreplay.c, line 334
- tools/tools/netrate/http/http.c, line 281
- tools/tools/netrate/httpd/httpd.c, line 225
- tools/tools/pciroms/pciroms.c, line 316
- tools/tools/pirtool/pirtool.c, line 96
- tools/tools/syscall_timing/syscall_timing.c, line 625
- usr.bin/ar/write.c, line 202
- usr.bin/cmp/regular.c, line 170
- usr.bin/dtc/input_buffer.cc, line 116
- usr.bin/elfdump/elfdump.c, line 598
- usr.bin/gprof/elf.c, line 83
- usr.bin/grep/file.c, line 195
- usr.bin/ktrdump/ktrdump.c, line 218
- usr.bin/ldd/sods.c, line 193
- usr.bin/locate/locate/locate.c, line 307
- usr.bin/look/look.c, line 158
- usr.bin/mkimg/image.c, line 326
- usr.bin/patch/inp.c, line 190
- usr.bin/sdiotool/sdiotool.c, line 438
- usr.bin/sort/file.c, line 652
- usr.bin/tail/misc.c, line 115
- usr.bin/truss/syscalls.c, line 764
- usr.bin/xinstall/xinstall.c, 3 times
- usr.sbin/acpi/acpidb/acpidb.c, line 402
- usr.sbin/acpi/acpidump/acpi_user.c, 2 times
- usr.sbin/bhyve/bootrom.c, line 163
- usr.sbin/bhyve/gdb.c, line 280
- usr.sbin/bhyve/inout.c, line 146
- usr.sbin/bhyve/pci_fbuf.c, line 418
- usr.sbin/bhyve/pci_passthru.c, line 492
- usr.sbin/bhyve/snapshot.c, line 287
- usr.sbin/bhyve/task_switch.c, 3 times
- usr.sbin/bhyve/vmgenc.c, line 61
- usr.sbin/bhyvectl/bhyvectl.c, 2 times
- usr.sbin/btxld/btxld.c, line 342
- usr.sbin/config/main.c, 2 times
- usr.sbin/cpucontrol/cpucontrol.c, line 380
- usr.sbin/cxgbetool/cxgbetool.c, 4 times
- usr.sbin/makefs/msdos/msdosfs_vnops.c, line 474
- usr.sbin/mlx5tool/mlx5tool.c, line 172
- usr.sbin/mpsutil/mps_flash.c, line 164
- usr.sbin/mptable/mptable.c, line 737
- usr.sbin/pmcstat/pmcpl_gprof.c, line 217
- usr.sbin/rpc.statd/file.c, line 193
- usr.sbin/uathload/uathload.c, line 166