Defined in 2 files as a variable:
Defined in 4 files as a member:
Referenced in 239 files:
- bin/csh/exec.c, 5 times
- bin/csh/file.c, 3 times
- bin/ksh/eval.c, 5 times
- bin/rcp/rcp.c, 6 times
- bin/sh/expand.c, 4 times
- crypto/dist/ipsec-tools/src/racoon/eaytest.c, 5 times
- crypto/external/bsd/heimdal/dist/lib/roken/glob.c, 5 times
- crypto/external/bsd/openssh/dist/scp.c, 6 times
- crypto/external/bsd/openssh/dist/sftp-client.c, 4 times
- crypto/external/bsd/openssh/dist/sftp-server.c, 14 times
- distrib/utils/libhack/opendir.c, 13 times
- distrib/utils/ssh/ssh.c, 5 times
- external/bsd/am-utils/dist/amd/info_union.c, 4 times
- external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c, 4 times
- external/bsd/iscsi/dist/src/initiator/virtdir.c, 26 times
- external/bsd/kyua-cli/dist/utils/fs/lua_module.cpp, 9 times
- external/bsd/kyua-cli/dist/utils/fs/operations.cpp, 5 times
- external/bsd/kyua-cli/dist/utils/fs/operations_test.cpp, 4 times
- external/bsd/kyua-testers/dist/fs.c, 4 times
- external/bsd/kyua-testers/dist/fs_test.c, 4 times
- external/bsd/mdocml/dist/compat_fts.c, 8 times
- external/bsd/nvi/dist/common/exf.c, 6 times
- external/bsd/nvi/dist/common/recover.c, 8 times
- external/bsd/nvi/dist/ex/ex_argv.c, 4 times
- external/bsd/nvi/dist/ex/ex_cscope.c, 2 times
- external/bsd/nvi/dist/ex/ex_tag.c, 3 times
- external/bsd/pkg_install/dist/admin/check.c, 5 times
- external/bsd/pkg_install/dist/admin/main.c, 7 times
- external/bsd/pkg_install/dist/lib/file.c, 7 times
- external/bsd/pkg_install/dist/lib/iterate.c, 13 times
- external/bsd/top/dist/machine/m_irixsgi.c, 4 times
- external/bsd/tre/dist/src/agrep.c, 4 times
- external/cddl/osnet/dist/cmd/zpool/zpool_main.c, 5 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_cc.c, 12 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c, 4 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c, 9 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_pragma.c, 6 times
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c, 5 times
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_mount.c, 5 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/backupfile.c, 5 times
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, 5 times
- external/gpl2/gettext/dist/gnulib-local/lib/backupfile.c, 5 times
- external/gpl2/gmake/dist/vmsdir.h, 2 times
- external/gpl2/grep/dist/lib/savedir.c, 7 times
- external/gpl2/groff/dist/src/preproc/pic/object.cpp, 31 times
- external/gpl2/groff/dist/src/preproc/pic/object.h, line 214
- external/gpl2/xcvs/dist/lib/getcwd.c, 12 times
- external/gpl2/xcvs/dist/src/client.c, 9 times
- external/gpl2/xcvs/dist/src/filesubr.c, 7 times
- external/gpl2/xcvs/dist/src/find_names.c, 5 times
- external/gpl2/xcvs/dist/src/ignore.c, 5 times
- external/gpl2/xcvs/dist/src/import.c, 4 times
- external/gpl2/xcvs/dist/src/lock.c, 4 times
- external/gpl2/xcvs/dist/src/update.c, 7 times
- external/gpl3/binutils/dist/gprofng/libcollector/iotrace.c, 4 times
- external/gpl3/gcc.old/dist/gcc/config/darwin-c.c, 3 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, 4 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux.h, line 46
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.h, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.h, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_openbsd.h, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h, 4 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_solaris.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_interceptors.cc, 8 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/fs_dir.cc, 8 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/dir-common.h, 10 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/dir.cc, 6 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/std-dir.cc, 6 times
- external/gpl3/gcc/dist/gcc/config/darwin-c.c, 3 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, 4 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.h, line 46
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.h, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.h, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_openbsd.h, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h, 4 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_solaris.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc, 8 times
- external/gpl3/gcc/dist/libstdc++-v3/src/c++17/fs_dir.cc, 8 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/dir-common.h, 10 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/dir.cc, 6 times
- external/gpl3/gdb.old/dist/gdb/nat/linux-osdata.c, 20 times
- external/gpl3/gdb.old/dist/gdb/nto-procfs.c, 6 times
- external/gpl3/gdb.old/dist/gdb/procfs.c, 4 times
- external/gpl3/gdb.old/dist/gnulib/import/closedir.c, 6 times
- external/gpl3/gdb.old/dist/gnulib/import/dirent.in.h, 9 times
- external/gpl3/gdb.old/dist/gnulib/import/dirfd.c, 4 times
- external/gpl3/gdb.old/dist/gnulib/import/fdopendir.c, 8 times
- external/gpl3/gdb.old/dist/gnulib/import/getcwd.c, 12 times
- external/gpl3/gdb.old/dist/gnulib/import/opendir.c, 15 times
- external/gpl3/gdb.old/dist/gnulib/import/readdir.c, 11 times
- external/gpl3/gdb.old/dist/gnulib/import/rewinddir.c, 10 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/dist/gdb/nat/linux-osdata.c, 20 times
- external/gpl3/gdb/dist/gdb/nto-procfs.c, 6 times
- external/gpl3/gdb/dist/gdb/procfs.c, 4 times
- external/gpl3/gdb/dist/gnulib/import/closedir.c, 6 times
- external/gpl3/gdb/dist/gnulib/import/dirent.in.h, 9 times
- external/gpl3/gdb/dist/gnulib/import/dirfd.c, 4 times
- external/gpl3/gdb/dist/gnulib/import/fdopendir.c, 8 times
- external/gpl3/gdb/dist/gnulib/import/getcwd.c, 12 times
- external/gpl3/gdb/dist/gnulib/import/opendir.c, 15 times
- external/gpl3/gdb/dist/gnulib/import/readdir.c, 11 times
- external/gpl3/gdb/dist/gnulib/import/rewinddir.c, 10 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/dirent.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/dirent.h, 9 times
- external/lgpl3/mpfr/dist/tune/tuneup.c, 2 times
- external/mpl/bind/dist/fuzz/main.c, 5 times
- external/mpl/bind/dist/lib/isc/log.c, 7 times
- external/public-domain/sqlite/dist/shell.c, 42 times
- include/dirent.h, 2 times
- lib/libc/compat/gen/compat__readdir_unlocked30.c, 2 times
- lib/libc/compat/gen/compat_readdir.c, 4 times
- lib/libc/gen/closedir.c, 10 times
- lib/libc/gen/fts.c, 8 times
- lib/libc/gen/glob.c, 5 times
- lib/libc/gen/initdir.c, 23 times
- lib/libc/gen/opendir.c, 19 times
- lib/libc/gen/readdir.c, 30 times
- lib/libc/gen/rewinddir.c, 7 times
- lib/libc/gen/scandir.c, 7 times
- lib/libc/gen/seekdir.c, 5 times
- lib/libc/gen/telldir.c, 23 times
- lib/libpuffs/null.c, 5 times
- libexec/ftpd/cmds.c, 9 times
- libexec/ftpd/ftpd.c, 7 times
- libexec/httpd/bozohttpd.c, 4 times
- libexec/tftpd/tftpd.c, 22 times
- sbin/badsect/badsect.c, 4 times
- sbin/cgdconfig/cgdconfig.c, 4 times
- sbin/fsck_ext2fs/dir.c, 25 times
- sbin/fsck_ext2fs/inode.c, 7 times
- sbin/fsck_ext2fs/pass2.c, 76 times
- sbin/fsck_ffs/dir.c, 27 times
- sbin/fsck_ffs/inode.c, 14 times
- sbin/fsck_ffs/pass2.c, 83 times
- sbin/fsck_lfs/dir.c, 39 times
- sbin/fsck_lfs/inode.c, 7 times
- sbin/fsck_lfs/pass2.c, 90 times
- sbin/fsdb/fsdb.c, 16 times
- sbin/mount_nfs/getnfsargs.c, 2 times
- sbin/mount_qemufwcfg/fwcfg.c, 5 times
- sbin/mount_qemufwcfg/virtdir.c, 27 times
- sbin/restore/dirs.c, 14 times
- sbin/restore/interactive.c, 11 times
- sbin/umount/umount.c, 2 times
- share/examples/refuse/dmesgfs/dmesgfs.c, 5 times
- share/examples/refuse/fanoutfs/fanoutfs.c, 4 times
- share/examples/refuse/ian/ian/ian.c, 4 times
- share/examples/refuse/icfs/icfs.c, 8 times
- share/examples/refuse/id3fs/id3fs.c, 4 times
- share/examples/refuse/pcifs/pcifs.c, 4 times
- share/examples/refuse/virtdir/virtdir.c, 26 times
- sys/arch/rs6000/stand/boot/boot.c, 3 times
- sys/coda/coda_vnops.c, 16 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.cc, 4 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.h, line 49
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_netbsd.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.h, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_solaris.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interceptors.cc, 8 times
- sys/fs/cd9660/cd9660_vnops.c, 4 times
- sys/fs/msdosfs/msdosfs_vnops.c, 3 times
- sys/fs/nfs/server/nfs_nfsdserv.c, 89 times
- sys/nfs/nfs_serv.c, 85 times
- sys/ufs/lfs/lfs_vnops.c, 14 times
- sys/ufs/lfs/ulfs_dirhash.c, 13 times
- sys/ufs/lfs/ulfs_lookup.c, 6 times
- sys/ufs/ufs/ufs_dirhash.c, 13 times
- sys/ufs/ufs/ufs_lookup.c, 30 times
- tools/compat/compat_defs.h, 6 times
- usr.bin/cvslatest/cvslatest.c, 4 times
- usr.bin/locale/locale.c, 5 times
- usr.bin/msgs/msgs.c, 6 times
- usr.bin/patch/backupfile.c, 5 times
- usr.bin/rdist/expand.c, 7 times
- usr.bin/ruptime/ruptime.c, 3 times
- usr.bin/rwho/rwho.c, 3 times
- usr.sbin/catman/catman.c, 6 times
- usr.sbin/lpr/common_source/common.c, 12 times
- usr.sbin/lpr/lpc/cmds.c, 4 times
- usr.sbin/makefs/msdos/msdosfs_vnops.c, 3 times
- usr.sbin/makefs/walk.c, 4 times
- usr.sbin/makemandb/makemandb.c, 4 times
- usr.sbin/mountd/mountd.c, 27 times
- usr.sbin/user/user.c, 4 times
- usr.sbin/ypbind/ypbind.c, 5 times
- usr.sbin/ypserv/ypserv/ypserv_proc.c, 6 times