Defined in 6 files as a macro:
Referenced in 237 files:
- bin/pax/ar_subs.c, line 146
- bin/pax/file_subs.c, line 825
- crypto/external/bsd/heimdal/dist/lib/kafs/afssys.c, 2 times
- crypto/external/bsd/openssh/dist/sftp-server.c, line 205
- crypto/external/bsd/openssl/dist/apps/ocsp.c, 2 times
- crypto/external/bsd/openssl/dist/apps/rehash.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/mem_sec.c, line 483
- crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c, 3 times
- external/bsd/dhcpcd/dist/src/auth.c, line 357
- external/bsd/dhcpcd/dist/src/dhcpcd.c, line 325
- external/bsd/dhcpcd/dist/src/duid.c, line 92
- external/bsd/dhcpcd/dist/src/if-bsd.c, line 360
- external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c, line 570
- external/bsd/libarchive/dist/libarchive/archive_string.c, line 844
- external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c, 3 times
- external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c, 2 times
- external/bsd/libarchive/dist/tar/test/test_option_acls.c, 3 times
- external/bsd/libc++/dist/libcxx/test/diagnostics/errno/cerrno.pass.cpp, 2 times
- external/bsd/libc++/dist/libcxx/test/diagnostics/syserr/errc.pass.cpp, line 40
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/errno/cerrno.pass.cpp, 2 times
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/syserr/errc.pass.cpp, line 40
- external/bsd/libevent/dist/epoll.c, 2 times
- external/bsd/libevent/dist/evutil.c, line 2571
- external/bsd/nsd/dist/server.c, 2 times
- external/bsd/nsd/dist/udb.c, line 180
- external/bsd/ntp/dist/sntp/libevent/epoll.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/evutil.c, line 2539
- external/bsd/ntp/dist/util/ntp-keygen.c, line 238
- external/bsd/ntp/dist/util/ntptime.c, 4 times
- external/bsd/tcpdump/dist/tcpdump.c, 9 times
- external/bsd/top/dist/machine/m_hpux7.c, line 850
- external/bsd/top/dist/machine/m_hpux8.c, line 788
- external/bsd/top/dist/machine/m_hpux9.c, line 811
- external/bsd/unbound/dist/compat/arc4random.c, line 184
- external/bsd/unbound/dist/compat/inet_ntop.c, line 72
- external/bsd/unbound/dist/compat/inet_pton.c, line 76
- external/bsd/unbound/dist/services/listen_dnsport.c, line 248
- external/cddl/osnet/dist/lib/libzpool/common/sys/zfs_context.h, line 237
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c, 9 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c, line 1904
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/striconv.c, line 433
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/striconv.c, line 433
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/striconv.c, line 433
- external/gpl3/binutils/dist/gold/fileread.cc, 3 times
- external/gpl3/binutils/dist/gold/mremap.c, 2 times
- external/gpl3/binutils/dist/gold/output.cc, 6 times
- external/gpl3/binutils/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libgcc/config/pa/linux-atomic.c, 2 times
- external/gpl3/gcc/dist/libgomp/config/linux/alpha/futex.h, 2 times
- external/gpl3/gcc/dist/libgomp/config/linux/futex.h, 2 times
- external/gpl3/gcc/dist/libgomp/config/linux/ia64/futex.h, 2 times
- external/gpl3/gcc/dist/libgomp/config/linux/powerpc/futex.h, 2 times
- external/gpl3/gcc/dist/libgomp/config/linux/s390/futex.h, 2 times
- external/gpl3/gcc/dist/libgomp/config/linux/sparc/futex.h, 2 times
- external/gpl3/gcc/dist/libgomp/config/linux/x86/futex.h, 4 times
- external/gpl3/gcc/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/config/os/djgpp/error_constants.h, line 68
- external/gpl3/gcc/dist/libstdc++-v3/config/os/generic/error_constants.h, line 68
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32-w64/error_constants.h, line 68
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32/error_constants.h, line 66
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/system_error.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ops.cc, line 450
- external/gpl3/gdb/dist/gdb/common/fileio.c, line 70
- external/gpl3/gdb/dist/gdb/gdb_bfd.c, line 268
- external/gpl3/gdb/dist/gdb/gdbserver/linux-low.c, line 3902
- external/gpl3/gdb/dist/gdb/gnulib/import/openat-priv.h, line 56
- external/gpl3/gdb/dist/gdb/gnulib/import/pipe-safer.c, line 52
- external/gpl3/gdb/dist/gdb/go32-nat.c, line 2161
- external/gpl3/gdb/dist/gdb/linux-nat.c, line 1794
- external/gpl3/gdb/dist/gdb/nat/linux-namespaces.c, 3 times
- external/gpl3/gdb/dist/gdb/remote.c, line 12364
- external/gpl3/gdb/dist/gdb/ser-go32.c, line 885
- external/gpl3/gdb/dist/gdb/ser-pipe.c, line 192
- external/gpl3/gdb/dist/gdb/serial.c, line 605
- external/gpl3/gdb/dist/gdb/stubs/ia64vms-stub.c, 7 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/tls.c, line 57
- external/gpl3/gdb/dist/libiberty/simple-object-elf.c, line 27
- external/gpl3/gdb/dist/libiberty/strerror.c, 2 times
- external/gpl3/gdb/dist/sim/arm/armos.c, line 806
- external/gpl3/gdb/dist/sim/bfin/interp.c, line 568
- external/gpl3/gdb/dist/sim/bfin/linux-targ-map.h, 2 times
- external/gpl3/gdb/dist/sim/common/syscall.c, 5 times
- external/gpl3/gdb/dist/sim/cris/traps.c, 5 times
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, 4 times
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/clone5.c, line 31
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/fcntl1.c, line 15
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/mprotect1.c, line 15
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink2.c, line 22
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/rtsigprocmask1.c, line 46
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/rtsigsuspend1.c, line 17
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/sig7.c, line 22
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/sigreturn1.c, line 17
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/sigreturn2.c, line 33
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/sock1.c, line 24
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/syscall1.c, line 18
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/syscall2.c, line 19
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/sysctl2.c, line 37
- lib/libperfuse/ops.c, 5 times
- lib/libpthread/pthread_barrier.c, line 138
- lib/libpthread/pthread_cond.c, line 411
- lib/libpthread/pthread_mutex.c, line 745
- lib/libpthread/pthread_rwlock.c, line 658
- lib/librefuse/refuse.c, 17 times
- lib/librumphijack/hijack.c, 2 times
- lib/librumpuser/rumpuser_errtrans.c, 2 times
- sbin/modstat/main.c, 2 times
- sys/arch/amd64/amd64/compat_13_machdep.c, line 61
- sys/arch/amd64/amd64/compat_16_machdep.c, line 61
- sys/arch/amd64/amd64/netbsd32_machdep.c, 6 times
- sys/arch/amd64/amd64/trap.c, line 358
- sys/arch/m68k/m68k/sys_machdep.c, line 192
- sys/arch/mips/mips/compat_13_machdep.c, line 61
- sys/arch/mips/mips/compat_16_machdep.c, line 246
- sys/arch/mips/mips/netbsd32_machdep.c, line 198
- sys/arch/mips/mips/sys_machdep.c, line 90
- sys/arch/powerpc/powerpc/sys_machdep.c, line 51
- sys/arch/riscv/riscv/netbsd32_machdep.c, line 176
- sys/arch/riscv/riscv/sys_machdep.c, line 47
- sys/arch/riscv/riscv/syscall.c, line 104
- sys/arch/sh3/sh3/sys_machdep.c, line 113
- sys/arch/sparc/sparc/syscall.c, line 147
- sys/arch/sparc64/sparc64/syscall.c, line 182
- sys/arch/sun2/sun2/sys_machdep.c, line 63
- sys/arch/sun3/sun3/sys_machdep.c, line 98
- sys/arch/vax/vax/vm_machdep.c, line 198
- sys/arch/x86/x86/sys_machdep.c, 2 times
- sys/arch/xen/xen/privcmd.c, line 201
- sys/compat/common/bio_30.c, line 91
- sys/compat/common/ccd_60.c, 2 times
- sys/compat/common/kern_time_30.c, line 72
- sys/compat/common/kern_time_50.c, 4 times
- sys/compat/common/uipc_syscalls_40.c, line 54
- sys/compat/common/uipc_syscalls_50.c, 2 times
- sys/compat/common/vfs_syscalls_43.c, line 370
- sys/compat/common/vfs_syscalls_50.c, line 321
- sys/compat/freebsd/freebsd_misc.c, 2 times
- sys/compat/linux/arch/arm/linux_machdep.c, line 193
- sys/compat/linux/arch/arm/linux_ptrace.c, 2 times
- sys/compat/linux/arch/i386/linux_exec_machdep.c, line 153
- sys/compat/linux/arch/i386/linux_machdep.c, 2 times
- sys/compat/linux/arch/i386/linux_ptrace.c, 2 times
- sys/compat/linux/arch/mips/linux_machdep.c, line 349
- sys/compat/linux/arch/powerpc/linux_ptrace.c, 2 times
- sys/compat/linux/common/linux_break.c, line 64
- sys/compat/linux/common/linux_cdrom.c, line 401
- sys/compat/linux/common/linux_futex.c, 5 times
- sys/compat/linux/common/linux_ioctl.c, line 134
- sys/compat/linux/common/linux_ipccall.c, line 158
- sys/compat/linux/common/linux_misc.c, line 1451
- sys/compat/linux/common/linux_socketcall.c, 2 times
- sys/compat/linux32/arch/amd64/linux32_machdep.c, line 512
- sys/compat/linux32/common/linux32_ipccall.c, 3 times
- sys/compat/linux32/common/linux32_socketcall.c, line 100
- sys/compat/linux32/common/linux32_unistd.c, line 487
- sys/compat/netbsd32/netbsd32_module.c, 2 times
- sys/compat/sunos/sunos_misc.c, line 967
- sys/compat/sunos32/sunos32_misc.c, line 1283
- sys/dev/acpi/acpi.c, 2 times
- sys/dev/bio.c, line 195
- sys/dev/clockctl.c, line 268
- sys/dev/dm/dm_target_mirror.c, line 127
- sys/dev/usb/usb.c, 2 times
- sys/dev/vnd.c, 2 times
- sys/dev/wscons/wsevent.c, line 214
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.cc, line 2097
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cgs.c, line 88
- sys/external/bsd/drm2/dist/drm/drm_mipi_dsi.c, 3 times
- sys/external/bsd/drm2/dist/drm/drm_prime.c, 3 times
- sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/unpack.h, 3 times
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bios.c, 9 times
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c, line 199
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nv50_display.c, line 127
- sys/external/bsd/drm2/dist/drm/nouveau/nvif/nouveau_nvif_object.c, line 50
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_memory.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_object.c, line 270
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_ctrl.c, line 64
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_tegra.c, line 334
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_base.c, line 108
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/nouveau_nvkm_subdev_clk_base.c, line 415
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_gddr3.c, line 98
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_gddr5.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramgk104.c, 4 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramgt215.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramnv50.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_sddr2.c, line 82
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_sddr3.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_anx9805.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/agp.h, line 18
- sys/external/bsd/drm2/dist/drm/qxl/qxl_ioctl.c, 3 times
- sys/external/bsd/drm2/dist/drm/qxl/qxl_prime.c, 5 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_gem.c, 2 times
- sys/external/bsd/drm2/dist/drm/ttm/ttm_object.c, line 642
- sys/external/bsd/drm2/dist/drm/virtio/virtgpu_ioctl.c, 3 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_cmdbuf.c, line 1210
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_drv.c, 2 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_kms.c, 4 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_ldu.c, line 449
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_overlay.c, 4 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_prime.c, 3 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_scrn.c, 3 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_stdu.c, 2 times
- sys/external/bsd/drm2/dist/include/drm/drmP.h, 2 times
- sys/external/bsd/drm2/dist/include/drm/drm_panel.h, 5 times
- sys/external/bsd/drm2/include/linux/vgaarb.h, line 45
- sys/external/bsd/drm2/linux/linux_pci.c, line 269
- sys/external/bsd/ipf/netinet/ip_fil_netbsd.c, line 1639
- sys/external/mit/xen-include-public/dist/xen/include/public/errno.h, line 94
- sys/external/mit/xen-include-public/dist/xen/include/public/io/xs_wire.h, line 88
- sys/fs/puffs/puffs_compat.c, line 229
- sys/kern/core_elf32.c, line 576
- sys/kern/core_netbsd.c, line 158
- sys/kern/kern_exec.c, line 565
- sys/kern/kern_rndq.c, 2 times
- sys/kern/kern_stub.c, 2 times
- sys/kern/subr_kobj.c, 2 times
- sys/kern/subr_kobj_vfs.c, line 195
- sys/kern/sys_module.c, 2 times
- sys/kern/sys_syscall.c, line 74
- sys/kern/uipc_socket.c, line 1864
- sys/kern/vfs_syscalls.c, line 1648
- sys/kern/vfs_wapbl.c, line 526
- sys/net/if.c, 4 times
- sys/net/if_spppsubr.c, line 5921
- sys/net/rtsock.c, line 345
- sys/nfs/nfs_syscalls.c, line 316
- sys/opencrypto/cryptodev.c, line 446
- sys/rump/include/rump/rumperrno2host.h, 2 times
- sys/rump/kern/lib/libsysproxy/sysproxy.c, line 69
- sys/uvm/uvm_swap.c, line 723
- sys/uvm/uvm_swap.h, line 60
- sys/uvm/uvm_swapstub.c, line 54
- tests/include/t_errno.c, line 517
- tests/lib/libc/c063/t_fexecve.c, line 69
- tests/lib/libc/regex/t_regex_att.c, line 287
- tests/lib/libc/stdio/t_fopen.c, line 301
- tests/modules/t_modctl.c, line 74