Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 120 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
- bin/sh/input.c, line 367
- 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/gdb/gdb/remote-fileio.c, line 236
- contrib/lib9p/backend/fs.c, 8 times
- contrib/lib9p/request.c, line 527
- contrib/libarchive/libarchive/archive_util.c, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 2 times
- contrib/llvm-project/libcxx/include/errno.h, line 385
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, line 385
- 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 270
- 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 2430
- contrib/smbfs/mount_smbfs/mount_smbfs.c, line 233
- contrib/tcsh/sh.dir.c, line 632
- contrib/tcsh/tw.parse.c, line 1961
- 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 256
- lib/libc/gen/glob-compat11.c, line 709
- lib/libc/gen/glob.c, line 741
- lib/libc/gen/opendir.c, line 350
- lib/libc/posix1e/mac.c, line 443
- lib/libc/stdio/mktemp.c, line 171
- lib/libc/stdlib/realpath.c, line 197
- lib/libsysdecode/errno.c, line 99
- sbin/gbde/gbde.c, line 359
- sbin/mount/getmntopts.c, line 136
- sbin/sysctl/sysctl.c, line 532
- stand/common/ls.c, line 199
- stand/libsa/cd9660.c, line 401
- stand/libsa/dosfs.c, line 570
- stand/libsa/ext2fs.c, line 442
- stand/libsa/nfs.c, line 554
- stand/libsa/strerror.c, line 52
- stand/libsa/ufs.c, line 568
- stand/libsa/zfs/zfs.c, line 232
- stand/libsa/zfs/zfsimpl.c, line 3714
- sys/compat/cloudabi/cloudabi_errno.c, line 94
- sys/compat/cloudabi/cloudabi_file.c, 2 times
- sys/compat/linux/linux_file.c, line 312
- sys/compat/linux/linux_sysctl.c, 6 times
- sys/contrib/openzfs/lib/libzfs/os/freebsd/libzfs_compat.c, line 133
- sys/contrib/openzfs/module/os/freebsd/spl/spl_vfs.c, line 147
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c, 4 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_vnops.c, 4 times
- sys/contrib/openzfs/module/zfs/zcp_global.c, line 50
- sys/dev/ice/ice_strings.c, line 365
- sys/fs/deadfs/dead_vnops.c, line 102
- sys/fs/devfs/devfs_vnops.c, 3 times
- sys/fs/ext2fs/ext2_acl.c, line 384
- sys/fs/ext2fs/ext2_lookup.c, 3 times
- sys/fs/ext2fs/ext2_vnops.c, line 987
- sys/fs/fdescfs/fdesc_vnops.c, line 307
- sys/fs/fuse/fuse_vnops.c, line 1011
- sys/fs/msdosfs/msdosfs_lookup.c, 4 times
- sys/fs/msdosfs/msdosfs_vnops.c, 2 times
- sys/fs/nfsclient/nfs_clrpcops.c, line 1397
- sys/fs/nfsclient/nfs_clvnops.c, line 1185
- 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 1191
- sys/fs/tmpfs/tmpfs_vnops.c, 3 times
- sys/fs/unionfs/union_vnops.c, 2 times
- sys/geom/bde/g_bde.c, line 224
- sys/geom/bde/g_bde_lock.c, line 419
- sys/kern/kern_jail.c, line 965
- sys/kern/kern_sysctl.c, line 2105
- sys/kern/subr_prof.c, line 336
- sys/kern/uipc_mqueue.c, 5 times
- sys/kern/vfs_cache.c, 3 times
- sys/kern/vfs_default.c, line 246
- sys/kern/vfs_lookup.c, 5 times
- sys/kern/vfs_mount.c, line 943
- sys/kern/vfs_mountroot.c, 2 times
- sys/kern/vfs_syscalls.c, 3 times
- sys/kern/vfs_vnops.c, line 372
- sys/net/rtsock.c, 2 times
- sys/security/audit/bsm_errno.c, line 105
- sys/ufs/ufs/ufs_acl.c, line 521
- sys/ufs/ufs/ufs_extattr.c, line 382
- sys/ufs/ufs/ufs_lookup.c, 3 times
- sys/ufs/ufs/ufs_vnops.c, line 1519
- tests/sys/fs/fusefs/lookup.cc, line 209
- tools/regression/doat/doat.c, 16 times
- usr.bin/patch/mkpath.c, line 71
- usr.bin/xinstall/xinstall.c, line 359
- usr.sbin/jail/jail.c, line 637
- usr.sbin/kldxref/kldxref.c, line 720
- usr.sbin/mountd/mountd.c, line 1213