Defined in 1 files as a struct:
Defined in 5 files as a member:
Defined in 13 files as a macro:
- contrib/amd/include/am_defs.h, line 207 (as a macro)
- contrib/dialog/fselect.c, line 34 (as a macro)
- contrib/diff/src/system.h, line 144 (as a macro)
- contrib/gdb/gdb/gdb_dirent.h, line 29 (as a macro)
- contrib/libarchive/tar/bsdtar_platform.h, line 89 (as a macro)
- contrib/libarchive/test_utils/test_common.h, line 57 (as a macro)
- contrib/libreadline/posixdir.h, line 44 (as a macro)
- contrib/opie/opie_cfg.h, line 79 (as a macro)
- contrib/tcsh/sh.h, line 396 (as a macro)
- contrib/tnftp/tnftp.h, line 58 (as a macro)
- crypto/openssh/openbsd-compat/bsd-closefrom.c, line 37 (as a macro)
- crypto/openssh/openbsd-compat/bsd-nextstep.h, line 37 (as a macro)
- gnu/usr.bin/grep/savedir.c, line 37 (as a macro)
Referenced in 284 files:
- bin/rcp/rcp.c, line 442
- bin/sh/expand.c, line 1080
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, line 2248
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1348
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c, 3 times
- cddl/usr.sbin/zfsd/case_file.cc, 2 times
- cddl/usr.sbin/zfsd/case_file.h, line 243
- contrib/amd/amd/info_union.c, line 106
- contrib/amd/hlfsd/hlfsd.c, line 151
- contrib/amd/include/am_defs.h, 4 times
- contrib/apr-util/test/testldap.c, 6 times
- contrib/apr/file_io/unix/dir.c, line 160
- contrib/apr/include/arch/unix/apr_arch_file_io.h, line 158
- contrib/atf/atf-c++/detail/fs.cpp, line 423
- contrib/bmake/dir.c, line 1626
- contrib/bmake/util.c, line 272
- contrib/compiler-rt/include/sanitizer/linux_syscall_hooks.h, 12 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc, 3 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h, line 309
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc, 5 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h, line 808
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cc, 4 times
- contrib/dialog/fselect.c, 6 times
- contrib/diff/src/dir.c, line 58
- contrib/diff/src/system.h, 4 times
- contrib/dma/spool.c, line 284
- contrib/dtc/fstree.c, line 29
- contrib/file/src/apprentice.c, line 1336
- contrib/gcc/sys-protos.h, 2 times
- contrib/gcc/sys-types.h, line 21
- contrib/gcclibs/libcpp/files.c, line 267
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gdb/gdb/gdb_dirent.h, 4 times
- contrib/gdb/gdb/nto-procfs.c, line 260
- contrib/gdb/gdb/procfs.c, line 3222
- contrib/libarchive/libarchive/archive_read_disk_posix.c, 8 times
- contrib/libarchive/tar/bsdtar_platform.h, 6 times
- contrib/libarchive/tar/test/test_copy.c, line 246
- contrib/libc++/src/experimental/filesystem/directory_iterator.cpp, line 46
- contrib/libpcap/pcap-bpf.c, line 2561
- contrib/libpcap/pcap-linux.c, line 2325
- contrib/libpcap/pcap-new.c, line 200
- contrib/libpcap/pcap-usb-linux.c, line 284
- contrib/libreadline/complete.c, 2 times
- contrib/libreadline/posixdir.h, line 43
- contrib/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp, line 125
- contrib/mdocml/compat_fts.c, line 358
- contrib/mdocml/test-dirent-namlen.c, line 7
- contrib/ncurses/progs/progs.priv.h, 6 times
- contrib/netbsd-tests/fs/hfs/t_pathconvert.c, 8 times
- contrib/netbsd-tests/fs/kernfs/t_basic.c, line 46
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_subr.c, 8 times
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_vnops.c, line 237
- contrib/netbsd-tests/fs/vfs/t_union.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_dir.c, line 55
- contrib/netbsd-tests/lib/libc/gen/t_glob.c, 2 times
- contrib/netbsd-tests/usr.bin/xlint/lint1/d_cvt_in_ternary.c, 3 times
- contrib/ntp/lib/isc/unix/dir.c, line 107
- contrib/ntp/sntp/libopts/compat/compat.h, 5 times
- contrib/ntp/sntp/libopts/compat/pathfind.c, 2 times
- contrib/nvi/common/exf.c, line 1024
- contrib/nvi/common/recover.c, 2 times
- contrib/nvi/ex/ex_argv.c, line 558
- contrib/ofed/infiniband-diags/src/rdma-ndd.c, line 162
- contrib/ofed/libibumad/sysfs.c, 10 times
- contrib/ofed/libibumad/sysfs.h, 5 times
- contrib/ofed/libibumad/umad.c, 4 times
- contrib/ofed/opensm/libvendor/osm_vendor_mlx_hca_pfs.c, line 87
- contrib/ofed/opensm/libvendor/osm_vendor_mlx_hca_sim.c, line 125
- contrib/openbsm/bin/auditdistd/trail.c, 3 times
- contrib/openbsm/libauditd/auditd_lib.c, 19 times
- contrib/opie/glob.c, line 364
- contrib/opie/opieftpd.c, line 1413
- contrib/sendmail/src/mci.c, line 1161
- contrib/sendmail/src/queue.c, 2 times
- contrib/subversion/subversion/include/svn_client.h, 3 times
- contrib/subversion/subversion/include/svn_dirent_uri.h, 11 times
- contrib/subversion/subversion/include/svn_path.h, line 261
- contrib/subversion/subversion/include/svn_ra.h, line 1664
- contrib/subversion/subversion/include/svn_repos.h, line 1699
- contrib/subversion/subversion/include/svn_types.h, line 678
- contrib/subversion/subversion/libsvn_client/add.c, 4 times
- contrib/subversion/subversion/libsvn_client/deprecated.c, 8 times
- contrib/subversion/subversion/libsvn_client/import.c, 20 times
- contrib/subversion/subversion/libsvn_client/info.c, 6 times
- contrib/subversion/subversion/libsvn_client/list.c, 5 times
- contrib/subversion/subversion/libsvn_client/patch.c, 5 times
- contrib/subversion/subversion/libsvn_client/repos_diff.c, 3 times
- contrib/subversion/subversion/libsvn_fs_base/dag.c, 14 times
- contrib/subversion/subversion/libsvn_fs_base/revs-txns.c, 3 times
- contrib/subversion/subversion/libsvn_fs_base/tree.c, 5 times
- contrib/subversion/subversion/libsvn_fs_fs/cached_data.c, 13 times
- contrib/subversion/subversion/libsvn_fs_fs/cached_data.h, line 145
- contrib/subversion/subversion/libsvn_fs_fs/dag.c, 10 times
- contrib/subversion/subversion/libsvn_fs_fs/dag.h, line 288
- contrib/subversion/subversion/libsvn_fs_fs/stats.c, 3 times
- contrib/subversion/subversion/libsvn_fs_fs/transaction.c, 11 times
- contrib/subversion/subversion/libsvn_fs_fs/tree.c, 7 times
- contrib/subversion/subversion/libsvn_fs_x/cached_data.c, 13 times
- contrib/subversion/subversion/libsvn_fs_x/cached_data.h, line 153
- contrib/subversion/subversion/libsvn_fs_x/dag.c, 8 times
- contrib/subversion/subversion/libsvn_fs_x/transaction.c, 11 times
- contrib/subversion/subversion/libsvn_fs_x/tree.c, 7 times
- contrib/subversion/subversion/libsvn_ra/ra_loader.c, 15 times
- contrib/subversion/subversion/libsvn_ra/ra_loader.h, line 219
- contrib/subversion/subversion/libsvn_ra_local/ra_plugin.c, 2 times
- contrib/subversion/subversion/libsvn_ra_serf/ra_serf.h, line 1213
- contrib/subversion/subversion/libsvn_ra_serf/stat.c, 3 times
- contrib/subversion/subversion/libsvn_ra_svn/client.c, 13 times
- contrib/subversion/subversion/libsvn_repos/authz.c, 7 times
- contrib/subversion/subversion/libsvn_repos/config_pool.c, 5 times
- contrib/subversion/subversion/libsvn_repos/dump.c, 3 times
- contrib/subversion/subversion/libsvn_repos/repos.c, 3 times
- contrib/subversion/subversion/libsvn_subr/config_auth.c, 2 times
- contrib/subversion/subversion/libsvn_subr/dirent_uri.c, 112 times
- contrib/subversion/subversion/libsvn_subr/io.c, 22 times
- contrib/subversion/subversion/libsvn_subr/types.c, 3 times
- contrib/subversion/subversion/libsvn_wc/copy.c, 12 times
- contrib/subversion/subversion/libsvn_wc/diff_editor.c, 6 times
- contrib/subversion/subversion/libsvn_wc/questions.c, 8 times
- contrib/subversion/subversion/libsvn_wc/status.c, 57 times
- contrib/subversion/subversion/libsvn_wc/update_editor.c, 3 times
- contrib/subversion/subversion/libsvn_wc/wc_db.c, 9 times
- contrib/subversion/subversion/libsvn_wc/workqueue.c, 4 times
- contrib/subversion/subversion/svn/list-cmd.c, 21 times
- contrib/subversion/subversion/svnadmin/svnadmin.c, 2 times
- contrib/subversion/subversion/svnbench/null-list-cmd.c, 3 times
- contrib/subversion/subversion/svnserve/serve.c, 10 times
- contrib/tcsh/glob.c, line 567
- contrib/tcsh/glob.h, line 55
- contrib/tcsh/sh.exec.c, line 644
- contrib/tcsh/sh.file.c, line 481
- contrib/tcsh/tc.os.c, line 1305
- contrib/tcsh/tw.init.c, 2 times
- contrib/tnftp/src/complete.c, line 175
- contrib/wpa/hostapd/hostapd_cli.c, 2 times
- contrib/wpa/src/common/wpa_ctrl.c, 2 times
- contrib/wpa/wpa_supplicant/wpa_cli.c, line 4205
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 2213
- crypto/heimdal/appl/ftp/ftpd/ls.c, line 765
- crypto/heimdal/appl/rcp/rcp.c, line 364
- crypto/heimdal/lib/hx509/ks_dir.c, line 134
- crypto/heimdal/lib/krb5/kuserok.c, line 116
- crypto/heimdal/lib/krb5/plugin.c, 2 times
- crypto/heimdal/lib/roken/glob.c, 3 times
- crypto/openssh/openbsd-compat/bsd-closefrom.c, 5 times
- crypto/openssh/openbsd-compat/getcwd.c, line 54
- crypto/openssh/openbsd-compat/glob.c, 3 times
- crypto/openssh/openbsd-compat/glob.h, line 71
- crypto/openssh/scp.c, line 873
- crypto/openssh/sftp-client.c, line 1785
- crypto/openssh/sftp-glob.c, 5 times
- crypto/openssh/sftp-server.c, line 1038
- crypto/openssl/crypto/LPdir_unix.c, line 68
- gnu/usr.bin/grep/savedir.c, 5 times
- gnu/usr.bin/rcs/rcsclean/rcsclean.c, line 296
- include/dirent.h, 13 times
- include/glob.h, line 63
- lib/libc/gen/fts-compat.c, line 629
- lib/libc/gen/fts.c, line 627
- lib/libc/gen/getcwd.c, line 60
- lib/libc/gen/glob.c, 3 times
- lib/libc/gen/opendir.c, 8 times
- lib/libc/gen/readdir.c, 8 times
- lib/libc/gen/scandir.c, 25 times
- lib/libc/gen/telldir.c, line 122
- lib/libc/gen/telldir.h, line 102
- lib/libc/iconv/citrus_module.c, line 195
- lib/libc/tests/gen/dir2_test.c, 2 times
- lib/libedit/TEST/tc1.c, line 92
- lib/libedit/TEST/wtc1.c, line 66
- lib/libedit/filecomplete.c, line 149
- lib/libfetch/file.c, line 123
- libexec/atrun/atrun.c, 9 times
- libexec/ftpd/ftpd.c, line 3183
- libexec/rbootd/parseconf.c, line 314
- libexec/rtld-aout/shlib.c, line 259
- libexec/rtld-elf/libmap.c, line 150
- release/picobsd/tinyware/aps/main.c, line 44
- release/picobsd/tinyware/msh/sh4.c, 3 times
- sbin/atm/atmconfig/main.c, line 110
- sbin/badsect/badsect.c, line 93
- sbin/devd/devd.cc, line 456
- sbin/fsck_msdosfs/dir.c, 79 times
- sbin/ldconfig/elfhints.c, line 110
- sbin/ldconfig/ldconfig.c, line 290
- sbin/restore/interactive.c, 3 times
- stand/common/ls.c, line 63
- stand/ficl/loader.c, 5 times
- stand/libsa/cd9660.c, 3 times
- stand/libsa/dosfs.c, 2 times
- stand/libsa/ext2fs.c, 2 times
- stand/libsa/nandfs.c, 25 times
- stand/libsa/nfs.c, 2 times
- stand/libsa/nullfs.c, line 102
- stand/libsa/pkgfs.c, 2 times
- stand/libsa/readdir.c, 2 times
- stand/libsa/stand.h, 3 times
- stand/libsa/ufs.c, 2 times
- stand/userboot/test/test.c, line 191
- stand/userboot/userboot/host.c, line 101
- stand/zfs/zfs.c, 2 times
- sys/amd64/linux/linux_proto.h, line 692
- sys/amd64/linux/linux_systrace_args.c, line 1545
- sys/amd64/linux32/linux32_proto.h, line 684
- sys/amd64/linux32/linux32_systrace_args.c, line 1532
- sys/cddl/compat/opensolaris/sys/dirent.h, 5 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c, 3 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, 5 times
- sys/compat/cloudabi/cloudabi_file.c, 4 times
- sys/compat/linux/linux_file.c, 9 times
- sys/compat/svr4/svr4_misc.c, 6 times
- sys/fs/autofs/autofs_vnops.c, 11 times
- sys/fs/cd9660/cd9660_vnops.c, 6 times
- sys/fs/devfs/devfs.h, line 140
- sys/fs/devfs/devfs_devs.c, 2 times
- sys/fs/devfs/devfs_vnops.c, line 1289
- sys/fs/ext2fs/ext2_lookup.c, line 141
- sys/fs/fdescfs/fdesc_vnops.c, 2 times
- sys/fs/fuse/fuse_internal.c, 3 times
- sys/fs/fuse/fuse_vnops.c, line 1261
- sys/fs/msdosfs/direntry.h, 2 times
- sys/fs/msdosfs/msdosfs_conv.c, 2 times
- sys/fs/msdosfs/msdosfs_vnops.c, line 1483
- sys/fs/nandfs/nandfs_dir.c, 32 times
- sys/fs/nandfs/nandfs_vnops.c, 14 times
- sys/fs/nfsclient/nfs_clrpcops.c, 11 times
- sys/fs/nfsclient/nfs_clvnops.c, line 211
- sys/fs/nfsserver/nfs_nfsdport.c, 8 times
- sys/fs/pseudofs/pseudofs_vnops.c, line 749
- sys/fs/smbfs/smbfs_io.c, 2 times
- sys/fs/tmpfs/tmpfs_subr.c, 3 times
- sys/fs/udf/udf_vnops.c, 5 times
- sys/fs/unionfs/union_subr.c, 5 times
- sys/i386/ibcs2/ibcs2_misc.c, line 328
- sys/i386/linux/linux_proto.h, line 685
- sys/i386/linux/linux_systrace_args.c, line 1575
- sys/kern/uipc_mqueue.c, line 1380
- sys/kern/vfs_default.c, 7 times
- sys/kern/vfs_subr.c, line 5076
- sys/kern/vfs_syscalls.c, 4 times
- sys/sys/dir.h, line 48
- sys/sys/dirent.h, line 93
- sys/sys/vnode.h, 2 times
- sys/ufs/ufs/ufs_extattr.c, 4 times
- sys/ufs/ufs/ufs_vnops.c, line 2167
- usr.bin/at/at.c, 13 times
- usr.bin/catman/catman.c, 3 times
- usr.bin/diff/diffdir.c, 6 times
- usr.bin/find/function.c, line 561
- usr.bin/fortune/fortune/fortune.c, 6 times
- usr.bin/locale/locale.c, line 401
- usr.bin/makewhatis/makewhatis.c, 11 times
- usr.bin/msgs/msgs.c, line 274
- usr.bin/patch/backupfile.c, line 97
- usr.bin/ruptime/ruptime.c, line 178
- usr.bin/rwho/rwho.c, line 90
- usr.bin/whereis/whereis.c, line 263
- usr.sbin/bhyveload/bhyveload.c, line 238
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, line 294
- usr.sbin/config/main.c, line 609
- usr.sbin/cpucontrol/cpucontrol.c, line 372
- usr.sbin/cron/cron/externs.h, line 25
- usr.sbin/ctm/mkCTM/mkctm.c, 7 times
- usr.sbin/gssd/gssd.c, line 1017
- usr.sbin/kbdmap/kbdmap.c, line 587
- usr.sbin/lpr/common_source/common.c, line 120
- usr.sbin/lpr/common_source/lp.h, 2 times
- usr.sbin/lpr/common_source/rmjob.c, 2 times
- usr.sbin/lpr/lpc/cmds.c, 8 times
- usr.sbin/lpr/lpd/lpd.c, line 629
- usr.sbin/lpr/lpq/lpq.c, line 172
- usr.sbin/makefs/walk.c, line 80
- usr.sbin/newsyslog/newsyslog.c, 3 times
- usr.sbin/pkg/config.c, line 382
- usr.sbin/pkg/pkg.c, line 367
- usr.sbin/pw/cpdir.c, line 51
- usr.sbin/pw/pw_user.c, line 690
- usr.sbin/pw/rm_r.c, line 48
- usr.sbin/rarpd/rarpd.c, line 595
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, line 253
- usr.sbin/syslogd/syslogd.c, 2 times
- usr.sbin/ypbind/ypbind.c, line 396
- usr.sbin/ypserv/yp_server.c, line 686