Defined in 1 files as a struct:
Defined in 11 files as a member:
- contrib/libarchive/libarchive/archive_read_disk_posix.c, line 204 (as a member)
- contrib/subversion/subversion/libsvn_repos/list.c, line 143 (as a member)
- sys/amd64/linux/linux_proto.h, line 752 (as a member)
- sys/amd64/linux32/linux32_proto.h, line 697 (as a member)
- sys/arm/linux/linux_proto.h, line 584 (as a member)
- sys/arm64/linux/linux_proto.h, line 263 (as a member)
- sys/contrib/openzfs/include/os/linux/zfs/sys/zpl.h, line 124 (as a member)
- sys/fs/fuse/fuse_kernel.h, line 702 (as a member)
- sys/fs/udf/udf_vnops.c, line 609 (as a member)
- sys/i386/linux/linux_proto.h, line 694 (as a member)
- usr.sbin/fstyp/hammer2_disk.h, line 692 (as a member)
Defined in 13 files 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 60 (as a macro)
- contrib/opie/opie_cfg.h, line 79 (as a macro)
- contrib/sqlite3/shell.c, line 1393 (as a macro)
- contrib/tcsh/sh.h, line 395 (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)
- tools/build/cross-build/closefrom.c, line 41 (as a macro)
Referenced in 304 files:
- bin/sh/expand.c, line 1081
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, line 2205
- 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/apr-util/test/testldap.c, 6 times
- contrib/apr/file_io/unix/dir.c, line 169
- 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 1385
- contrib/bmake/util.c, line 238
- 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 285
- contrib/file/src/apprentice.c, line 1375
- contrib/gdb/gdb/gdb_dirent.h, 4 times
- contrib/gdb/gdb/nto-procfs.c, line 260
- contrib/gdb/gdb/procfs.c, line 3222
- contrib/kyua/utils/fs/directory.cpp, 2 times
- contrib/kyua/utils/fs/lua_module.cpp, line 178
- contrib/kyua/utils/fs/operations_test.cpp, line 87
- contrib/lib9p/backend/fs.c, 2 times
- 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/libedit/TEST/tc1.c, line 91
- contrib/libedit/TEST/wtc1.c, line 60
- contrib/libedit/filecomplete.c, line 329
- contrib/libevent/sample/http-server.c, line 226
- contrib/libpcap/pcap-bpf.c, line 2669
- contrib/libpcap/pcap-linux.c, line 2463
- contrib/libpcap/pcap-new.c, line 186
- contrib/libpcap/pcap-usb-linux.c, 2 times
- contrib/llvm-project/compiler-rt/include/sanitizer/linux_syscall_hooks.h, 12 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h, line 361
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h, line 389
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.cpp, 4 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h, line 321
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp, 5 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp, 4 times
- contrib/llvm-project/libcxx/src/filesystem/directory_iterator.cpp, line 63
- contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp, line 125
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 2 times
- contrib/mandoc/compat_fts.c, line 358
- contrib/mandoc/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 994
- contrib/nvi/common/recover.c, 2 times
- contrib/nvi/ex/ex_argv.c, line 554
- 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 1204
- contrib/sendmail/src/queue.c, 2 times
- contrib/sqlite3/shell.c, 3 times
- contrib/subversion/subversion/include/private/svn_ra_svn_private.h, line 1026
- contrib/subversion/subversion/include/svn_client.h, 3 times
- contrib/subversion/subversion/include/svn_dirent_uri.h, 13 times
- contrib/subversion/subversion/include/svn_path.h, line 261
- contrib/subversion/subversion/include/svn_ra.h, 2 times
- contrib/subversion/subversion/include/svn_repos.h, 2 times
- contrib/subversion/subversion/include/svn_types.h, line 562
- contrib/subversion/subversion/libsvn_client/add.c, 4 times
- contrib/subversion/subversion/libsvn_client/conflicts.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, 7 times
- contrib/subversion/subversion/libsvn_client/patch.c, 5 times
- contrib/subversion/subversion/libsvn_client/repos_diff.c, 3 times
- contrib/subversion/subversion/libsvn_client/shelf.c, 7 times
- contrib/subversion/subversion/libsvn_client/shelf2.c, 7 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, 16 times
- contrib/subversion/subversion/libsvn_fs_fs/cached_data.h, line 157
- 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/fs_fs.c, 3 times
- contrib/subversion/subversion/libsvn_fs_fs/stats.c, 3 times
- contrib/subversion/subversion/libsvn_fs_fs/transaction.c, 12 times
- contrib/subversion/subversion/libsvn_fs_fs/tree.c, 7 times
- contrib/subversion/subversion/libsvn_fs_x/cached_data.c, 19 times
- contrib/subversion/subversion/libsvn_fs_x/cached_data.h, line 165
- contrib/subversion/subversion/libsvn_fs_x/dag.c, 8 times
- contrib/subversion/subversion/libsvn_fs_x/recovery.c, 3 times
- contrib/subversion/subversion/libsvn_fs_x/transaction.c, 12 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 232
- contrib/subversion/subversion/libsvn_ra_local/ra_plugin.c, 4 times
- contrib/subversion/subversion/libsvn_ra_serf/list.c, 10 times
- contrib/subversion/subversion/libsvn_ra_serf/ra_serf.h, line 1232
- contrib/subversion/subversion/libsvn_ra_serf/stat.c, 3 times
- contrib/subversion/subversion/libsvn_ra_svn/client.c, 21 times
- contrib/subversion/subversion/libsvn_ra_svn/marshal.c, 7 times
- contrib/subversion/subversion/libsvn_repos/config_file.c, 5 times
- contrib/subversion/subversion/libsvn_repos/dump.c, 3 times
- contrib/subversion/subversion/libsvn_repos/list.c, 27 times
- contrib/subversion/subversion/libsvn_subr/config_auth.c, 2 times
- contrib/subversion/subversion/libsvn_subr/dirent_uri.c, 119 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, 23 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, 12 times
- contrib/tcsh/glob.c, line 568
- contrib/tcsh/glob.h, line 55
- contrib/tcsh/sh.exec.c, line 640
- contrib/tcsh/sh.file.c, line 478
- contrib/tcsh/tc.os.c, line 1301
- contrib/tcsh/tw.init.c, 2 times
- contrib/tnftp/src/complete.c, line 175
- contrib/wpa/hostapd/hostapd_cli.c, 3 times
- contrib/wpa/src/common/wpa_ctrl.c, 2 times
- contrib/wpa/wpa_supplicant/wpa_cli.c, line 4596
- 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 1172
- crypto/openssh/sftp-client.c, line 1797
- crypto/openssh/sftp-glob.c, 5 times
- crypto/openssh/sftp-server.c, line 1038
- crypto/openssl/crypto/LPdir_unix.c, line 87
- gnu/usr.bin/grep/savedir.c, 5 times
- include/dirent.h, 13 times
- include/glob.h, line 65
- lib/libc/gen/fts.c, line 624
- lib/libc/gen/gen-private.h, 3 times
- 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-compat11.c, 3 times
- lib/libc/gen/readdir.c, 8 times
- lib/libc/gen/scandir.c, 24 times
- lib/libc/gen/telldir.c, line 122
- lib/libc/gen/telldir.h, line 104
- lib/libc/iconv/citrus_module.c, line 197
- lib/libc/sys/getdirentries.c, 4 times
- lib/libc/tests/gen/dir2_test.c, 2 times
- lib/libfetch/file.c, line 125
- lib/libpmc/pmu-events/jevents.c, line 911
- lib/libsecureboot/veta.c, line 77
- libexec/atrun/atrun.c, 9 times
- libexec/flua/modules/lfs.c, line 128
- libexec/ftpd/ftpd.c, line 3193
- libexec/rbootd/parseconf.c, line 316
- libexec/rtld-aout/shlib.c, line 261
- libexec/rtld-elf/libmap.c, line 156
- sbin/devd/devd.cc, line 472
- sbin/fsck_msdosfs/dir.c, 64 times
- sbin/ldconfig/elfhints.c, line 110
- sbin/ldconfig/ldconfig.c, line 291
- sbin/nvmecontrol/comnd.c, line 292
- sbin/restore/interactive.c, 3 times
- stand/common/ls.c, line 63
- stand/efi/libefi/efihttp.c, 2 times
- stand/ficl/loader.c, 5 times
- stand/i386/zfsboot/zfsboot.c, line 544
- stand/libsa/cd9660.c, 3 times
- stand/libsa/dosfs.c, 2 times
- stand/libsa/ext2fs.c, 2 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/libsa/zfs/zfs.c, 2 times
- stand/userboot/test/test.c, line 192
- stand/userboot/userboot/host.c, line 93
- sys/amd64/linux/linux_proto.h, line 752
- sys/amd64/linux/linux_systrace_args.c, line 1639
- sys/amd64/linux32/linux32_proto.h, line 697
- sys/amd64/linux32/linux32_systrace_args.c, line 1541
- sys/arm/linux/linux_proto.h, line 584
- sys/arm/linux/linux_systrace_args.c, line 1354
- sys/arm64/linux/linux_proto.h, line 263
- sys/arm64/linux/linux_systrace_args.c, line 465
- sys/cddl/compat/opensolaris/sys/dirent.h, 3 times
- sys/compat/cloudabi/cloudabi_file.c, 4 times
- sys/compat/linux/linux_file.c, 7 times
- sys/contrib/openzfs/cmd/zed/zed_conf.c, line 346
- sys/contrib/openzfs/cmd/zfs/zfs_project.c, line 211
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, line 5133
- sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h, line 227
- sys/contrib/openzfs/include/os/freebsd/spl/sys/dirent.h, 3 times
- sys/contrib/openzfs/include/os/linux/zfs/sys/zpl.h, 4 times
- sys/contrib/openzfs/lib/libshare/os/linux/smb.c, line 85
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_device_path_os.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c, 5 times
- sys/contrib/openzfs/module/os/linux/zfs/zpl_ctldir.c, 6 times
- sys/contrib/openzfs/module/os/linux/zfs/zpl_file.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/cp_files.c, 8 times
- sys/contrib/zstd/programs/util.c, line 541
- sys/fs/autofs/autofs_vnops.c, 9 times
- sys/fs/cd9660/cd9660_vnops.c, 6 times
- sys/fs/devfs/devfs.h, line 142
- sys/fs/devfs/devfs_devs.c, 2 times
- sys/fs/devfs/devfs_vnops.c, line 1444
- sys/fs/ext2fs/ext2_lookup.c, line 159
- sys/fs/fdescfs/fdesc_vnops.c, 2 times
- sys/fs/fuse/fuse_internal.c, 3 times
- sys/fs/fuse/fuse_kernel.h, 2 times
- sys/fs/fuse/fuse_vnops.c, 2 times
- sys/fs/msdosfs/direntry.h, 2 times
- sys/fs/msdosfs/msdosfs_conv.c, 2 times
- sys/fs/msdosfs/msdosfs_vnops.c, line 1481
- sys/fs/nfsclient/nfs_clrpcops.c, 11 times
- sys/fs/nfsserver/nfs_nfsdport.c, 8 times
- sys/fs/pseudofs/pseudofs.h, line 57
- sys/fs/pseudofs/pseudofs_vnops.c, line 840
- 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/linux/linux_proto.h, line 694
- sys/i386/linux/linux_systrace_args.c, line 1580
- sys/kern/uipc_mqueue.c, line 1386
- sys/kern/vfs_default.c, 7 times
- sys/kern/vfs_subr.c, 13 times
- sys/kern/vfs_syscalls.c, 4 times
- sys/sys/dirent.h, 3 times
- sys/sys/vnode.h, 2 times
- sys/ufs/ufs/ufs_extattr.c, 4 times
- sys/ufs/ufs/ufs_vnops.c, line 2292
- tests/sys/fs/fusefs/readdir.cc, 6 times
- tests/sys/fs/fusefs/utils.cc, line 393
- tools/build/cross-build/closefrom.c, 5 times
- usr.bin/at/at.c, 13 times
- usr.bin/diff/diffdir.c, 6 times
- usr.bin/find/function.c, line 569
- usr.bin/fortune/fortune/fortune.c, 6 times
- usr.bin/locale/locale.c, line 526
- usr.bin/msgs/msgs.c, line 276
- usr.bin/patch/backupfile.c, line 97
- usr.bin/ruptime/ruptime.c, line 196
- usr.bin/rwho/rwho.c, line 93
- usr.bin/whereis/whereis.c, line 263
- usr.sbin/bhyveload/bhyveload.c, line 246
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, line 294
- usr.sbin/config/main.c, line 651
- usr.sbin/cpucontrol/cpucontrol.c, line 414
- usr.sbin/cron/cron/externs.h, line 25
- usr.sbin/gssd/gssd.c, line 968
- usr.sbin/kbdmap/kbdmap.c, line 587
- usr.sbin/lpr/common_source/common.c, line 122
- 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 631
- usr.sbin/lpr/lpq/lpq.c, line 174
- usr.sbin/makefs/walk.c, line 80
- usr.sbin/newsyslog/newsyslog.c, 3 times
- usr.sbin/pkg/config.c, line 383
- usr.sbin/pkg/pkg.c, line 366
- 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 255
- usr.sbin/syslogd/syslogd.c, 2 times
- usr.sbin/ypbind/ypbind.c, line 396
- usr.sbin/ypserv/yp_server.c, line 689