Defined in 6 files as a macro:
Referenced in 163 files:
- bin/pax/ftree.c, line 487
- bin/pax/tar.c, 4 times
- contrib/apr/file_io/unix/filestat.c, line 32
- contrib/atf/atf-c/detail/fs.c, line 563
- contrib/capsicum-test/capability-fd.cc, 3 times
- contrib/dialog/editbox.c, line 68
- contrib/diff/lib/file-type.h, 3 times
- contrib/elftoolchain/ar/write.c, line 146
- contrib/expat/xmlwf/readfilemap.c, 2 times
- contrib/file/src/fsmagic.c, 3 times
- contrib/gdb/gdb/gdb_stat.h, 2 times
- contrib/gdb/gdb/remote-fileio.c, 2 times
- contrib/kyua/utils/fs/operations_test.cpp, 2 times
- contrib/less/filename.c, line 42
- contrib/lib9p/utils.c, line 465
- contrib/libarchive/libarchive/archive_read_support_format_mtree.c, line 1263
- contrib/libarchive/libarchive/test/test_acl_nfs4.c, line 159
- contrib/libarchive/libarchive/test/test_acl_pax.c, 2 times
- contrib/libarchive/libarchive/test/test_acl_posix1e.c, line 108
- contrib/libarchive/libarchive/test/test_empty_write.c, 3 times
- contrib/libarchive/libarchive/test/test_entry.c, 2 times
- contrib/libarchive/libarchive/test/test_open_fd.c, 4 times
- contrib/libarchive/libarchive/test/test_open_file.c, 4 times
- contrib/libarchive/libarchive/test/test_open_filename.c, 8 times
- contrib/libarchive/libarchive/test/test_read_data_large.c, line 66
- contrib/libarchive/libarchive/test/test_read_extract.c, 3 times
- contrib/libarchive/libarchive/test/test_read_large.c, line 56
- contrib/libarchive/libarchive/test/test_read_pax_truncated.c, line 50
- contrib/libarchive/libarchive/test/test_read_position.c, line 88
- contrib/libarchive/libarchive/test/test_read_truncated.c, line 49
- contrib/libarchive/libarchive/test/test_tar_filenames.c, 2 times
- contrib/libarchive/libarchive/test/test_tar_large.c, 2 times
- contrib/libarchive/libarchive/test/test_ustar_filenames.c, 2 times
- contrib/libarchive/libarchive/test/test_write_disk.c, 10 times
- contrib/libarchive/libarchive/test/test_write_disk_failures.c, line 55
- contrib/libarchive/libarchive/test/test_write_disk_hardlink.c, 8 times
- contrib/libarchive/libarchive/test/test_write_disk_perms.c, 14 times
- contrib/libarchive/libarchive/test/test_write_disk_secure.c, 8 times
- contrib/libarchive/libarchive/test/test_write_disk_secure744.c, line 72
- contrib/libarchive/libarchive/test/test_write_disk_times.c, 8 times
- contrib/libarchive/libarchive/test/test_write_filter_program.c, 2 times
- contrib/libarchive/libarchive/test/test_write_format_7zip_empty.c, line 103
- contrib/libarchive/libarchive/test/test_write_format_ar.c, 3 times
- contrib/libarchive/libarchive/test/test_write_format_cpio.c, 5 times
- contrib/libarchive/libarchive/test/test_write_format_cpio_newc.c, line 76
- contrib/libarchive/libarchive/test/test_write_format_cpio_odc.c, 2 times
- contrib/libarchive/libarchive/test/test_write_format_gnutar.c, 7 times
- contrib/libarchive/libarchive/test/test_write_format_gnutar_filenames.c, line 56
- contrib/libarchive/libarchive/test/test_write_format_iso9660.c, line 144
- contrib/libarchive/libarchive/test/test_write_format_iso9660_boot.c, 4 times
- contrib/libarchive/libarchive/test/test_write_format_iso9660_filename.c, 3 times
- contrib/libarchive/libarchive/test/test_write_format_iso9660_zisofs.c, 24 times
- contrib/libarchive/libarchive/test/test_write_format_mtree.c, 16 times
- contrib/libarchive/libarchive/test/test_write_format_mtree_classic.c, 8 times
- contrib/libarchive/libarchive/test/test_write_format_mtree_classic_indent.c, 8 times
- contrib/libarchive/libarchive/test/test_write_format_pax.c, 8 times
- contrib/libarchive/libarchive/test/test_write_format_tar.c, 2 times
- contrib/libarchive/libarchive/test/test_write_format_tar_sparse.c, 4 times
- contrib/libarchive/libarchive/test/test_write_format_tar_ustar.c, 5 times
- contrib/libarchive/libarchive/test/test_write_format_tar_v7tar.c, 4 times
- contrib/libarchive/libarchive/test/test_write_format_zip_compression_store.c, line 86
- contrib/libarchive/libarchive/test/test_write_format_zip_large.c, 2 times
- contrib/libarchive/libarchive/test/test_write_open_memory.c, line 41
- contrib/libevent/sample/event-read-fifo.c, line 110
- contrib/llvm-project/llvm/tools/llvm-objdump/MachODump.cpp, 2 times
- contrib/mandoc/mandocdb.c, line 803
- contrib/mtree/misc.c, 2 times
- contrib/ncurses/ncurses/curses.priv.h, line 240
- contrib/ncurses/progs/tic.c, 2 times
- contrib/netbsd-tests/fs/vfs/t_vnops.c, 3 times
- contrib/netbsd-tests/lib/libc/sys/t_mknod.c, line 179
- contrib/ntp/lib/isc/unix/file.c, line 487
- contrib/ntp/lib/isc/unix/fsaccess.c, line 48
- contrib/ntp/lib/isc/win32/file.c, line 558
- contrib/ntp/lib/isc/win32/fsaccess.c, line 309
- contrib/ntp/lib/isc/win32/include/isc/stat.h, 2 times
- contrib/ntp/ntpd/ntp_filegen.c, 2 times
- contrib/ntp/sntp/libopts/compat/windows-config.h, 2 times
- contrib/ntp/sntp/libopts/save.c, 3 times
- contrib/opie/opieftpd.c, 3 times
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/include/sm/conf.h, line 2707
- contrib/sendmail/libsm/fseek.c, line 201
- contrib/sendmail/libsm/makebuf.c, line 149
- contrib/sendmail/src/queue.c, line 2692
- contrib/sqlite3/shell.c, 4 times
- contrib/tcsh/tc.os.h, 2 times
- crypto/openssh/openbsd-compat/strmode.c, line 56
- crypto/openssh/scp.c, line 1090
- crypto/openssl/crypto/rand/randfile.c, line 49
- gnu/usr.bin/grep/system.h, 2 times
- lib/libc/stdio/fseek.c, line 178
- lib/libc/stdio/makebuf.c, line 116
- lib/libc/string/strmode.c, line 56
- lib/libprocstat/common_kvm.c, line 160
- lib/libprocstat/libprocstat.c, 2 times
- lib/libprocstat/msdosfs.c, line 126
- libexec/rbootd/parseconf.c, line 344
- libexec/tftpd/tftpd.c, 2 times
- sbin/bsdlabel/bsdlabel.c, line 446
- sbin/dump/traverse.c, line 542
- stand/efi/libefi/efihttp.c, line 755
- stand/libsa/cd9660.c, line 619
- stand/libsa/dosfs.c, line 396
- stand/libsa/nfs.c, line 743
- stand/libsa/pkgfs.c, line 397
- stand/libsa/tftp.c, line 607
- sys/compat/linux/linux_misc.c, 4 times
- sys/contrib/openzfs/lib/libzfs/libzfs_diff.c, line 166
- sys/contrib/openzfs/module/os/linux/zfs/zfs_znode.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zpl_xattr.c, line 446
- sys/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/mkbusy.c, line 140
- sys/contrib/zstd/programs/util.c, 3 times
- sys/fs/cd9660/cd9660_node.c, line 130
- sys/fs/smbfs/smbfs_vfsops.c, line 204
- sys/kern/sys_procdesc.c, 3 times
- sys/kern/uipc_sem.c, 2 times
- sys/kern/uipc_shm.c, 2 times
- sys/kern/vfs_default.c, line 1530
- sys/kern/vfs_subr.c, line 160
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c, 2 times
- tests/sys/fs/fusefs/access.cc, 4 times
- tests/sys/fs/fusefs/allow_other.cc, 4 times
- tests/sys/fs/fusefs/bmap.cc, line 73
- tests/sys/fs/fusefs/cache.cc, 2 times
- tests/sys/fs/fusefs/create.cc, 13 times
- tests/sys/fs/fusefs/default_permissions.cc, 59 times
- tests/sys/fs/fusefs/default_permissions_privileged.cc, 2 times
- tests/sys/fs/fusefs/destroy.cc, 2 times
- tests/sys/fs/fusefs/dev_fuse_poll.cc, 4 times
- tests/sys/fs/fusefs/flush.cc, line 63
- tests/sys/fs/fusefs/forget.cc, 2 times
- tests/sys/fs/fusefs/fsync.cc, line 76
- tests/sys/fs/fusefs/getattr.cc, 13 times
- tests/sys/fs/fusefs/interrupt.cc, line 94
- tests/sys/fs/fusefs/io.cc, 2 times
- tests/sys/fs/fusefs/link.cc, 5 times
- tests/sys/fs/fusefs/locks.cc, line 52
- tests/sys/fs/fusefs/lookup.cc, 10 times
- tests/sys/fs/fusefs/mknod.cc, line 116
- tests/sys/fs/fusefs/notify.cc, 3 times
- tests/sys/fs/fusefs/open.cc, 4 times
- tests/sys/fs/fusefs/read.cc, 4 times
- tests/sys/fs/fusefs/release.cc, line 48
- tests/sys/fs/fusefs/rename.cc, 7 times
- tests/sys/fs/fusefs/setattr.cc, 30 times
- tests/sys/fs/fusefs/unlink.cc, line 51
- tests/sys/fs/fusefs/utils.cc, line 270
- tests/sys/fs/fusefs/write.cc, 7 times
- tests/sys/fs/fusefs/xattr.cc, 27 times
- usr.bin/ar/write.c, line 186
- usr.bin/fetch/fetch.c, 2 times
- usr.bin/find/function.c, line 1621
- usr.bin/ldd/sods.c, line 181
- usr.bin/stat/stat.c, 2 times
- usr.bin/uudecode/uudecode.c, line 268
- usr.bin/whereis/whereis.c, line 455
- usr.sbin/fmtree/compare.c, line 341
- usr.sbin/makefs/cd9660.c, 2 times
- usr.sbin/makefs/ffs.c, line 639
- usr.sbin/makefs/makefs.c, 2 times
- usr.sbin/makefs/mtree.c, 4 times
- usr.sbin/setfmac/setfmac.c, line 374