Defined in 3 files as a macro:
Referenced in 338 files:
- bin/csh/csh.c, line 407
- bin/ksh/exec.c, line 1033
- bin/ksh/misc.c, line 1322
- bin/pax/ar_io.c, line 878
- bin/pax/ar_subs.c, line 145
- bin/sh/error.c, line 312
- bin/sh/exec.c, 2 times
- crypto/dist/ipsec-tools/src/racoon/privsep.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/hdb/db3.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/kadm5/get_s.c, line 135
- crypto/external/bsd/heimdal/dist/lib/krb5/acl.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/krb5/cache.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/context.c, line 674
- crypto/external/bsd/heimdal/dist/lib/krb5/fcache.c, line 93
- crypto/external/bsd/heimdal/dist/lib/krb5/kuserok.c, 23 times
- crypto/external/bsd/heimdal/dist/lib/krb5/test_acl.c, 5 times
- crypto/external/bsd/heimdal/dist/lib/roken/flock.c, line 139
- crypto/external/bsd/heimdal/dist/lib/roken/rename.c, line 44
- crypto/external/bsd/openssh/dist/sftp-server.c, line 197
- crypto/external/bsd/openssl/dist/apps/apps.c, line 2164
- crypto/external/bsd/openssl/dist/e_os.h, line 163
- external/bsd/am-utils/dist/amd/amq_subr.c, line 194
- external/bsd/am-utils/dist/amd/info_exec.c, 4 times
- external/bsd/am-utils/dist/amd/nfs_subr.c, 2 times
- external/bsd/am-utils/dist/amd/ops_nfs.c, 3 times
- external/bsd/am-utils/dist/conf/mtab/mtab_file.c, 2 times
- external/bsd/am-utils/dist/conf/mtab/mtab_mach3.c, 2 times
- external/bsd/am-utils/dist/conf/nfs_prot/nfs_prot_nextstep.h, line 295
- external/bsd/atf/dist/atf-c++/detail/fs.cpp, line 495
- external/bsd/atf/dist/atf-c/detail/fs.c, line 750
- external/bsd/atf/dist/atf-c/detail/fs_test.c, 34 times
- external/bsd/atf/dist/tools/fs.cpp, 2 times
- external/bsd/atf/dist/tools/fs_test.cpp, line 623
- external/bsd/fetch/dist/libfetch/common.c, line 122
- external/bsd/file/dist/src/magic.c, line 458
- external/bsd/file/dist/src/seccomp.c, 2 times
- external/bsd/ipf/dist/ip_htable.c, line 574
- external/bsd/ipf/dist/ip_pool.c, line 531
- external/bsd/kyua-cli/dist/utils/fs/operations_test.cpp, line 273
- external/bsd/kyua-testers/dist/run.c, 2 times
- external/bsd/kyua-testers/dist/run_test.c, 2 times
- external/bsd/libarchive/dist/cpio/cpio_windows.c, 11 times
- external/bsd/libarchive/dist/libarchive/archive_windows.c, 15 times
- external/bsd/libarchive/dist/libarchive/archive_write_disk_windows.c, line 1710
- external/bsd/libarchive/dist/tar/bsdtar_windows.c, 11 times
- external/bsd/libc++/dist/libcxx/test/diagnostics/errno/cerrno.pass.cpp, 4 times
- external/bsd/libc++/dist/libcxx/test/diagnostics/syserr/errc.pass.cpp, line 85
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/errno/cerrno.pass.cpp, 4 times
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/syserr/errc.pass.cpp, line 85
- external/bsd/libpcap/dist/pcap-bpf.c, 4 times
- external/bsd/libpcap/dist/pcap-dlpi.c, 4 times
- external/bsd/libpcap/dist/pcap-libdlpi.c, 2 times
- external/bsd/libpcap/dist/pcap-linux.c, 3 times
- external/bsd/libpcap/dist/pcap-pf.c, 2 times
- external/bsd/libpcap/dist/pcap-snit.c, 2 times
- external/bsd/libpcap/dist/pcap-usb-linux.c, 2 times
- external/bsd/nsd/dist/netio.c, line 201
- external/bsd/ntp/dist/lib/isc/unix/errno2result.c, line 51
- external/bsd/ntp/dist/lib/isc/unix/socket.c, 4 times
- external/bsd/ntp/dist/lib/isc/win32/errno2result.c, line 52
- external/bsd/ntp/dist/lib/isc/win32/file.c, line 191
- external/bsd/ntp/dist/ports/winnt/ntpd/nt_ppsimpl.c, line 498
- external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/src/timepps.h, line 464
- external/bsd/nvi/dist/common/exf.c, line 1524
- external/bsd/openldap/dist/libraries/libldap/tls_m.c, line 290
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, 10 times
- external/bsd/openldap/dist/libraries/liblutil/utils.c, 2 times
- external/bsd/openldap/dist/servers/slapd/alock.c, line 177
- external/bsd/smbfs/dist/smbutil/login.c, 2 times
- external/bsd/tmux/dist/tmux.c, line 142
- external/bsd/top/dist/commands.c, 2 times
- external/bsd/top/dist/machine/m_decosf1.c, line 983
- external/bsd/unbound/dist/services/listen_dnsport.c, line 604
- external/bsd/unbound/dist/smallapp/unbound-checkconf.c, 2 times
- external/bsd/unbound/dist/util/netevent.c, line 321
- external/bsd/wpa/dist/src/drivers/driver_nl80211.c, line 5815
- external/bsd/wpa/dist/src/radius/radius_client.c, line 340
- external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c, line 1197
- external/cddl/osnet/dist/lib/libdtrace/common/dt_work.c, line 217
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_pool.c, line 3185
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c, line 319
- external/cddl/osnet/dist/uts/common/dtrace/dtrace.c, 3 times
- external/cddl/osnet/dist/uts/common/fs/zfs/arc.c, line 5864
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c, 7 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ctldir.c, 4 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c, 7 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c, 3 times
- external/cddl/osnet/sys/kern/policy.c, line 393
- external/gpl2/grep/dist/src/grep.c, line 937
- external/gpl2/grep/dist/src/system.h, 2 times
- external/gpl2/lvm2/dist/lib/filters/filter-persistent.c, line 241
- external/gpl2/lvm2/dist/lib/misc/lvm-file.c, line 241
- external/gpl2/lvm2/dist/libdm/libdm-common.c, line 1094
- external/gpl2/rcs/dist/src/co.c, line 371
- external/gpl2/rcs/dist/src/rcsedit.c, line 1452
- external/gpl2/rcs/dist/src/rcsfnms.c, line 1030
- external/gpl2/xcvs/dist/src/filesubr.c, 2 times
- external/gpl2/xcvs/dist/src/rcs.c, line 4572
- external/gpl2/xcvs/dist/src/server.c, line 392
- external/gpl3/binutils/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libcpp/files.c, 2 times
- external/gpl3/gcc/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/config/os/djgpp/error_constants.h, line 138
- external/gpl3/gcc/dist/libstdc++-v3/config/os/generic/error_constants.h, line 138
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32-w64/error_constants.h, line 131
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32/error_constants.h, line 115
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/system_error.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/dir.cc, 3 times
- external/gpl3/gdb/dist/gdb/common/fileio.c, line 42
- external/gpl3/gdb/dist/gdb/gdb_bfd.c, line 240
- external/gpl3/gdb/dist/gdb/gnulib/import/fcntl.c, line 108
- external/gpl3/gdb/dist/gdb/gnulib/import/open.c, 2 times
- external/gpl3/gdb/dist/gdb/gnulib/import/openat-priv.h, line 55
- external/gpl3/gdb/dist/gdb/gnulib/import/opendir.c, line 127
- external/gpl3/gdb/dist/gdb/gnulib/import/rename.c, line 203
- external/gpl3/gdb/dist/gdb/inf-ptrace.c, line 578
- external/gpl3/gdb/dist/gdb/nat/linux-btrace.c, line 421
- external/gpl3/gdb/dist/gdb/remote-fileio.c, 2 times
- external/gpl3/gdb/dist/gdb/remote.c, line 12336
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/fileio.c, 2 times
- external/gpl3/gdb/dist/libiberty/strerror.c, 2 times
- external/gpl3/gdb/dist/sim/bfin/linux-targ-map.h, 2 times
- external/gpl3/gdb/dist/sim/cris/traps.c, 2 times
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/access1.c, line 13
- external/ibm-public/postfix/dist/src/local/maildir.c, line 235
- external/ibm-public/postfix/dist/src/pickup/pickup.c, 2 times
- external/ibm-public/postfix/dist/src/postqueue/postqueue.c, line 370
- external/ibm-public/postfix/dist/src/util/myflock.c, line 150
- external/ibm-public/postfix/dist/src/virtual/maildir.c, line 231
- external/mpl/bind/dist/contrib/dlz/modules/filesystem/dir.c, line 66
- external/mpl/bind/dist/lib/isc/tests/errno_test.c, line 44
- external/mpl/bind/dist/lib/isc/unix/errno2result.c, line 50
- external/mpl/bind/dist/lib/isc/unix/socket.c, 4 times
- external/mpl/bind/dist/lib/isc/win32/errno2result.c, line 50
- external/mpl/bind/dist/lib/isc/win32/file.c, line 232
- external/mpl/dhcp/dist/omapip/connection.c, line 182
- external/mpl/dhcp/dist/omapip/toisc.c, line 72
- external/public-domain/sqlite/dist/sqlite3.c, 3 times
- games/hack/hack.unix.c, line 286
- lib/libc/gen/execvp.c, 2 times
- lib/libc/gen/nice.c, line 65
- lib/libpam/modules/pam_unix/pam_unix.c, line 290
- lib/libpuffs/creds.c, 2 times
- lib/libpuffs/null.c, line 105
- lib/libquota/quota_nfs.c, line 218
- lib/libquota/quota_oldfiles.c, line 367
- lib/librumpuser/rumpuser_errtrans.c, 2 times
- lib/libutil/ttymsg.c, line 112
- libexec/httpd/bozohttpd.c, line 1844
- libexec/httpd/cgi-bozo.c, line 619
- libexec/rpc.rquotad/rquotad.c, line 270
- libexec/tftpd/tftpd.c, line 867
- regress/sys/kern/getcwd/getcwd.c, line 250
- sbin/mount_nfs/getnfsargs.c, line 153
- sbin/mount_portal/pt_file.c, line 157
- sbin/nvmectl/devlist.c, line 95
- share/examples/refuse/dbfs/dbfs.c, line 128
- share/examples/refuse/ian/ian/ian.c, line 203
- share/examples/refuse/ian/libfetch/common.c, line 107
- sys/arch/aarch64/aarch64/fault.c, line 230
- sys/arch/alpha/alpha/trap.c, 2 times
- sys/arch/amd64/amd64/trap.c, line 610
- sys/arch/amiga/amiga/trap.c, line 483
- sys/arch/arm/arm32/fault.c, line 504
- sys/arch/atari/atari/trap.c, 2 times
- sys/arch/bebox/stand/boot/siop.c, line 937
- sys/arch/cesfic/cesfic/trap.c, 2 times
- sys/arch/hp300/hp300/trap.c, 2 times
- sys/arch/hppa/hppa/trap.c, 2 times
- sys/arch/i386/i386/trap.c, line 720
- sys/arch/ia64/ia64/trap.c, line 600
- sys/arch/luna68k/dev/lcd.c, line 219
- sys/arch/luna68k/luna68k/trap.c, 2 times
- sys/arch/mac68k/mac68k/trap.c, line 587
- sys/arch/mvme68k/mvme68k/trap.c, 2 times
- sys/arch/news68k/news68k/trap.c, 2 times
- sys/arch/next68k/next68k/trap.c, 2 times
- sys/arch/powerpc/booke/trap.c, 2 times
- sys/arch/powerpc/ibm4xx/trap.c, line 280
- sys/arch/powerpc/powerpc/trap.c, 2 times
- sys/arch/prep/stand/boot/siop.c, line 899
- sys/arch/sh3/sh3/exception.c, 2 times
- sys/arch/sparc/sparc/trap.c, 9 times
- sys/arch/sparc64/sparc64/trap.c, 5 times
- sys/arch/sun2/sun2/pmap.c, line 2539
- sys/arch/sun2/sun2/trap.c, 2 times
- sys/arch/sun3/sun3/pmap.c, line 2558
- sys/arch/sun3/sun3/trap.c, 2 times
- sys/arch/usermode/modules/syscallemu/syscallemu.c, line 98
- sys/arch/usermode/usermode/thunk.c, line 130
- sys/arch/usermode/usermode/trap.c, line 481
- sys/arch/vax/vax/trap.c, line 256
- sys/arch/x68k/x68k/trap.c, 2 times
- sys/arch/x86/x86/sys_machdep.c, 4 times
- sys/arch/xen/xen/privcmd.c, line 151
- sys/coda/coda_vnops.c, 8 times
- sys/dev/audio/audio.c, line 3441
- sys/dev/flash/flash.c, 7 times
- sys/dev/ic/apple_smc.c, 2 times
- sys/dev/isa/wt.c, 2 times
- sys/dev/marvell/gtidmac.c, 4 times
- sys/dev/nvmm/nvmm.c, line 1102
- sys/dev/pci/azalia.c, 2 times
- sys/dev/pci/ixgbe/ixgbe.c, 2 times
- sys/dev/pci/ixgbe/ixv.c, 2 times
- sys/dev/ppbus/ppbus_msq.c, line 293
- sys/dev/scsipi/scsipi_base.c, 2 times
- sys/dev/usb/uaudio.c, 2 times
- sys/dev/usb/urio.c, line 296
- sys/dev/wscons/wsbell.c, 3 times
- sys/dev/wscons/wskbd.c, 6 times
- sys/dev/wscons/wsmouse.c, line 745
- sys/dev/wscons/wsmux.c, line 547
- sys/dist/pf/net/pf_ioctl.c, 3 times
- sys/external/bsd/acpica/dist/os_specific/service_layers/oslinuxtbl.c, line 194
- sys/external/bsd/drm/dist/bsd-core/drm_bufs.c, 4 times
- sys/external/bsd/drm/dist/bsd-core/drm_drv.c, line 1054
- sys/external/bsd/drm/dist/bsd-core/drm_vm.c, line 74
- sys/external/bsd/drm/dist/shared-core/mach64_state.c, line 530
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gem.c, line 260
- sys/external/bsd/drm2/dist/drm/drm_bufs.c, 4 times
- sys/external/bsd/drm2/dist/drm/drm_gem.c, line 1019
- sys/external/bsd/drm2/dist/drm/drm_ioctl.c, 5 times
- sys/external/bsd/drm2/dist/drm/drm_vm.c, line 557
- sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c, line 1213
- sys/external/bsd/drm2/dist/drm/i915/i915_gem_execbuffer.c, line 1277
- sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/nouveau_dispnv04_crtc.c, line 1057
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_abi16.c, line 372
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_connector.c, line 272
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c, 3 times
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fbcon.c, line 199
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_gem.c, 3 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/dma/nouveau_nvkm_engine_dma_user.c, 4 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_gem.c, line 326
- sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_vm.c, line 373
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_drv.c, line 1082
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_surface.c, line 928
- sys/external/bsd/drm2/dist/include/drm/drm_vma_manager.h, line 246
- sys/external/bsd/drm2/drm/drm_gem_vm.c, line 124
- sys/external/bsd/drm2/drm/drm_lock.c, 2 times
- sys/external/bsd/drm2/drm/drm_vma_manager.c, line 317
- sys/external/bsd/ipf/netinet/ip_htable.c, line 555
- sys/external/bsd/ipf/netinet/ip_nat.c, 3 times
- sys/external/bsd/ipf/netinet/ip_pool.c, line 531
- sys/external/bsd/ipf/netinet/ip_state.c, 2 times
- sys/external/mit/xen-include-public/dist/xen/include/public/errno.h, line 75
- sys/external/mit/xen-include-public/dist/xen/include/public/io/xs_wire.h, line 80
- sys/fs/nfs/client/nfs_clrpcops.c, line 193
- sys/fs/nfs/client/nfs_clstate.c, 7 times
- sys/fs/nfs/client/nfs_clvnops.c, 3 times
- sys/fs/nfs/common/nfs_commonkrpc.c, 2 times
- sys/fs/nfs/nlm/nlm_advlock.c, line 1144
- sys/fs/nfs/server/nfs_nfsdport.c, 2 times
- sys/fs/nfs/server/nfs_nfsdsubs.c, 5 times
- sys/fs/smbfs/smbfs_vnops.c, 2 times
- sys/fs/union/union_vnops.c, line 716
- sys/fs/unionfs/unionfs_vnops.c, 4 times
- sys/kern/exec_elf.c, 2 times
- sys/kern/exec_script.c, line 222
- sys/kern/exec_subr.c, line 170
- sys/kern/kern_acct.c, line 327
- sys/kern/kern_auth.c, line 1130
- sys/kern/kern_core.c, line 237
- sys/kern/kern_crashme.c, line 173
- sys/kern/kern_descrip.c, line 1682
- sys/kern/kern_event.c, line 537
- sys/kern/kern_exec.c, 3 times
- sys/kern/kern_ktrace_vfs.c, line 124
- sys/kern/kern_pax.c, line 465
- sys/kern/kern_proc.c, line 927
- sys/kern/kern_resource.c, 2 times
- sys/kern/subr_kcov.c, line 313
- sys/kern/sys_mqueue.c, 3 times
- sys/kern/sys_ptrace_common.c, line 1001
- sys/kern/sysv_ipc.c, line 340
- sys/kern/tty.c, line 1254
- sys/kern/uipc_sem.c, line 311
- sys/kern/vfs_vnops.c, 3 times
- sys/lib/libsa/strerror.c, line 56
- sys/miscfs/fdesc/fdesc_vnops.c, line 515
- sys/miscfs/genfs/genfs_vnops.c, 3 times
- sys/net/rtsock_shared.c, line 673
- sys/netinet/in_pcb.c, 2 times
- sys/netinet/ip_output.c, line 560
- sys/netinet/sctp_pcb.c, line 1749
- sys/netinet6/in6_pcb.c, line 313
- sys/netinet6/in6_src.c, line 868
- sys/netinet6/ip6_mroute.c, 2 times
- sys/netinet6/ip6_output.c, line 2334
- sys/netipsec/ipsec_input.c, line 496
- sys/netipsec/xform_ah.c, 5 times
- sys/netipsec/xform_esp.c, 3 times
- sys/netsmb/smb_conn.c, 2 times
- sys/netsmb/smb_smb.c, line 385
- sys/netsmb/smb_subr.c, 3 times
- sys/nfs/nfs_clntsocket.c, 3 times
- sys/nfs/nfs_export.c, 2 times
- sys/nfs/nfs_iod.c, line 356
- sys/nfs/nfs_serv.c, 4 times
- sys/nfs/nfs_srvsubs.c, 2 times
- sys/nfs/nfs_vnops.c, 3 times
- sys/rump/include/rump/rumperrno2host.h, 2 times
- sys/rump/librump/rumpvfs/rumpblk.c, line 405
- sys/ufs/ffs/ffs_snapshot.c, line 444
- sys/ufs/lfs/ulfs_quota1.c, line 340
- sys/ufs/ufs/ufs_quota1.c, line 346
- sys/uvm/uvm_map.c, 3 times
- sys/uvm/uvm_mmap.c, line 389
- tests/fs/nfs/t_mountd.c, 2 times
- tests/fs/psshfs/h_have_puffs.c, line 48
- tests/fs/puffs/h_dtfs/dtfs_vnops.c, line 307
- tests/fs/vfs/t_ro.c, line 104
- tests/fs/vfs/t_unpriv.c, 3 times
- tests/include/t_errno.c, line 63
- tests/include/t_paths.c, line 157
- tests/lib/libc/c063/t_o_search.c, 2 times
- tests/lib/libc/stdio/t_fopen.c, 2 times
- tests/lib/libc/sys/t_access.c, line 73
- tests/lib/libc/sys/t_connect.c, line 84
- tests/lib/libc/sys/t_link.c, 2 times
- tests/lib/libc/sys/t_listen.c, line 121
- tests/lib/libc/sys/t_mkdir.c, line 93
- tests/lib/libc/sys/t_mkfifo.c, line 220
- tests/lib/libc/sys/t_mprotect.c, line 107
- tests/lib/libc/sys/t_msgsnd.c, line 305
- tests/lib/libc/sys/t_revoke.c, line 156
- tests/lib/libc/sys/t_truncate.c, line 167
- tests/lib/libc/sys/t_unlink.c, 2 times
- usr.bin/chpass/chpass.c, line 297
- usr.bin/ftp/ftp.c, 3 times
- usr.bin/passwd/local_passwd.c, 3 times
- usr.bin/passwd/yp_passwd.c, 2 times
- usr.sbin/apmd/apmd.c, line 246
- usr.sbin/bootp/bootptest/bootptest.c, line 291
- usr.sbin/lpr/common_source/rmjob.c, line 154
- usr.sbin/mountd/mountd.c, line 580
- usr.sbin/puffs/mount_sysctlfs/sysctlfs.c, line 762
- usr.sbin/pwd_mkdb/pwd_mkdb.c, line 743