Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 118 files:
- bin/cp/cp.c, line 451
- bin/ln/ln.c, line 166
- bin/mkdir/mkdir.c, 2 times
- bin/pax/options.c, line 1005
- bin/sh/cd.c, line 128
- bin/sh/exec.c, 4 times
- contrib/amd/amd/amfs_toplvl.c, 2 times
- contrib/amd/amd/nfs_subr.c, 2 times
- contrib/amd/hlfsd/homedir.c, line 253
- contrib/apr/file_io/unix/filestat.c, 2 times
- contrib/apr/include/apr_errno.h, 2 times
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/bmake/realpath.c, line 203
- contrib/ee/ee.c, line 2254
- contrib/gcclibs/libcpp/files.c, line 231
- contrib/gcclibs/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/remote-fileio.c, line 236
- contrib/libarchive/libarchive/archive_util.c, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 2 times
- contrib/libc++/include/errno.h, line 356
- contrib/libc++/src/experimental/filesystem/operations.cpp, line 76
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_vnops.c, line 246
- contrib/netbsd-tests/fs/puffs/t_basic.c, line 100
- contrib/netbsd-tests/include/t_errno.c, line 535
- contrib/netbsd-tests/lib/libc/c063/t_o_search.c, line 262
- contrib/netbsd-tests/lib/libc/sys/t_access.c, line 156
- contrib/netbsd-tests/lib/libc/sys/t_chroot.c, line 252
- contrib/ntp/lib/isc/unix/errno2result.c, line 41
- contrib/ntp/lib/isc/win32/errno2result.c, line 39
- contrib/ntp/lib/isc/win32/file.c, line 73
- contrib/openbsm/libbsm/bsm_errno.c, line 101
- contrib/openbsm/test/bsm/generate.c, line 1017
- contrib/opie/glob.c, line 378
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, line 1919
- contrib/sendmail/src/util.c, line 2429
- contrib/smbfs/mount_smbfs/mount_smbfs.c, line 233
- contrib/tcsh/sh.dir.c, line 635
- contrib/tcsh/tw.parse.c, line 1965
- crypto/heimdal/appl/login/limits_conf.c, line 111
- crypto/heimdal/appl/rcp/rcp.c, line 539
- crypto/heimdal/appl/rcp/util.c, line 88
- crypto/heimdal/appl/rsh/limits_conf.c, line 111
- crypto/heimdal/lib/hx509/ks_dir.c, 2 times
- crypto/heimdal/lib/krb5/kuserok.c, 2 times
- crypto/openssh/scp.c, 2 times
- crypto/openssh/sftp-server.c, line 192
- crypto/openssl/apps/apps.c, 6 times
- lib/libbe/be_access.c, 2 times
- lib/libc/gen/exec.c, line 231
- lib/libc/gen/glob-compat11.c, line 709
- lib/libc/gen/glob.c, line 741
- lib/libc/gen/opendir.c, line 343
- lib/libc/posix1e/mac.c, line 443
- lib/libc/stdio/mktemp.c, line 163
- lib/libc/stdlib/realpath.c, line 192
- lib/libsysdecode/errno.c, line 100
- sbin/gbde/gbde.c, line 370
- sbin/mount/getmntopts.c, line 136
- sbin/sysctl/sysctl.c, line 516
- stand/common/ls.c, line 199
- stand/libsa/dosfs.c, line 570
- stand/libsa/ext2fs.c, line 442
- stand/libsa/nfs.c, line 553
- stand/libsa/strerror.c, line 52
- stand/libsa/ufs.c, line 562
- stand/libsa/zfs/zfs.c, line 230
- stand/libsa/zfs/zfsimpl.c, line 2464
- sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c, line 140
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_global.c, line 50
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c, line 1799
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, 4 times
- sys/compat/cloudabi/cloudabi_errno.c, line 93
- sys/compat/cloudabi/cloudabi_file.c, 2 times
- sys/compat/linux/linux_file.c, line 283
- sys/compat/linux/linux_sysctl.c, 6 times
- sys/fs/deadfs/dead_vnops.c, line 98
- sys/fs/devfs/devfs_vnops.c, 3 times
- sys/fs/ext2fs/ext2_acl.c, line 386
- sys/fs/ext2fs/ext2_lookup.c, 3 times
- sys/fs/ext2fs/ext2_vnops.c, line 974
- sys/fs/fdescfs/fdesc_vnops.c, line 307
- sys/fs/fuse/fuse_vnops.c, 2 times
- sys/fs/msdosfs/msdosfs_lookup.c, 4 times
- sys/fs/msdosfs/msdosfs_vnops.c, 2 times
- sys/fs/nandfs/nandfs_vnops.c, 7 times
- sys/fs/nfsclient/nfs_clrpcops.c, line 1321
- sys/fs/nfsclient/nfs_clvnops.c, line 1041
- sys/fs/nfsserver/nfs_nfsdport.c, 3 times
- sys/fs/nfsserver/nfs_nfsdstate.c, 5 times
- sys/fs/pseudofs/pseudofs_vnops.c, 2 times
- sys/fs/smbfs/smbfs_vnops.c, line 1193
- sys/fs/tmpfs/tmpfs_vnops.c, 3 times
- sys/fs/unionfs/union_vnops.c, 2 times
- sys/geom/bde/g_bde.c, line 219
- sys/geom/bde/g_bde_lock.c, line 419
- sys/kern/kern_jail.c, line 933
- sys/kern/kern_sysctl.c, line 1925
- sys/kern/subr_prof.c, line 336
- sys/kern/uipc_mqueue.c, 5 times
- sys/kern/vfs_default.c, line 230
- sys/kern/vfs_lookup.c, 4 times
- sys/kern/vfs_mount.c, line 868
- sys/kern/vfs_mountroot.c, 2 times
- sys/kern/vfs_syscalls.c, 3 times
- sys/kern/vfs_vnops.c, line 310
- sys/net/rtsock.c, 2 times
- sys/security/audit/bsm_errno.c, line 105
- sys/ufs/ufs/ufs_acl.c, line 518
- sys/ufs/ufs/ufs_extattr.c, line 376
- sys/ufs/ufs/ufs_lookup.c, 3 times
- sys/ufs/ufs/ufs_vnops.c, line 1396
- tools/regression/doat/doat.c, 16 times
- usr.bin/patch/mkpath.c, line 71
- usr.bin/xinstall/xinstall.c, line 348
- usr.sbin/jail/jail.c, line 623
- usr.sbin/kldxref/kldxref.c, line 680
- usr.sbin/mountd/mountd.c, line 1073