Defined in 5 files as a prototype:
Defined in 2 files as a member:
Defined in 2 files as a macro:
Referenced in 111 files:
- bin/dd/dd.c, 2 times
- bin/pax/ar_io.c, 2 times
- cddl/compat/opensolaris/include/unistd.h, line 36
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c, line 2212
- contrib/apr/file_io/unix/seek.c, line 132
- contrib/capsicum-test/capability-fd.cc, line 569
- contrib/capsicum-test/linux.cc, line 1433
- contrib/dma/local.c, line 250
- contrib/elftoolchain/libelf/elf_update.c, line 1098
- contrib/elftoolchain/libpe/pe_update.c, line 80
- contrib/lib9p/backend/fs.c, line 2572
- contrib/libarchive/libarchive/archive_write_disk_posix.c, line 1693
- contrib/libarchive/libarchive/test/test_sparse_basic.c, line 296
- contrib/libedit/readline.c, line 1340
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingPort.h, line 31
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 229
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 353
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp, 2 times
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, line 443
- contrib/netbsd-tests/dev/cgd/t_cgd_3des.c, line 704
- contrib/netbsd-tests/dev/cgd/t_cgd_aes.c, line 3105
- contrib/netbsd-tests/dev/cgd/t_cgd_blowfish.c, line 1940
- contrib/netbsd-tests/fs/common/fstest_zfs.c, line 69
- contrib/netbsd-tests/kernel/t_lockf.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, 8 times
- contrib/netbsd-tests/lib/libc/sys/t_truncate.c, 3 times
- contrib/netbsd-tests/lib/librumphijack/h_netget.c, line 80
- contrib/ofed/librdmacm/examples/rcopy.c, line 314
- contrib/ofed/opensm/opensm/osm_log.c, line 89
- contrib/openbsm/bin/auditd/auditd.c, line 468
- contrib/openbsm/compat/flopen.h, line 93
- contrib/openbsm/compat/pidfile.h, line 207
- contrib/opie/libopie/logwtmp.c, 2 times
- contrib/pf/authpf/authpf.c, line 330
- contrib/pf/pflogd/pflogd.c, 3 times
- contrib/pjdfstest/pjdfstest.c, line 1021
- contrib/sendmail/libsmutil/safefile.c, line 758
- contrib/sendmail/mail.local/mail.local.c, line 1362
- contrib/sendmail/src/bf.c, line 808
- contrib/sendmail/src/deliver.c, line 5870
- contrib/sendmail/src/map.c, 2 times
- contrib/sendmail/src/mci.c, line 1121
- contrib/sendmail/src/milter.c, line 3729
- contrib/sqlite3/sqlite3.c, line 33965
- crypto/heimdal/appl/rcp/rcp.c, line 605
- crypto/heimdal/lib/krb5/store_fd.c, line 64
- crypto/openssh/loginrec.c, 2 times
- crypto/openssh/openbsd-compat/bsd-misc.c, line 129
- crypto/openssh/scp.c, line 1490
- crypto/openssh/sftp-client.c, line 1406
- crypto/openssh/sftp-server.c, line 960
- lib/libc/db/recno/rec_close.c, line 180
- lib/libc/gen/pututxline.c, line 253
- lib/libc/stdio/freopen.c, line 119
- lib/libc/tests/sys/sendfile_test.c, line 414
- lib/libutil/flopen.c, line 102
- lib/libutil/pidfile.c, line 243
- sbin/dhclient/dhclient.c, line 1956
- sbin/dump/itime.c, line 212
- sbin/newfs_msdos/mkfs_msdos.c, line 283
- sbin/recoverdisk/recoverdisk.c, line 521
- stand/ficl/fileaccess.c, line 391
- sys/compat/freebsd32/freebsd32_sysent.c, line 195
- sys/contrib/octeon-sdk/cvmx-app-init-linux.c, line 218
- sys/contrib/openzfs/cmd/ztest/ztest.c, 4 times
- sys/contrib/openzfs/contrib/pam_zfs_key/pam_zfs_key.c, line 525
- sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h, line 220
- sys/contrib/openzfs/tests/zfs-tests/cmd/mmap_libaio/mmap_libaio.c, line 68
- sys/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/mmapwrite.c, line 104
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/truncate/truncate_test.c, line 55
- sys/kern/init_sysent.c, 2 times
- tests/sys/aio/aio_test.c, line 1104
- tests/sys/audit/file-write.c, 2 times
- tests/sys/cddl/zfs/bin/file_trunc.c, line 230
- tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c, line 443
- tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c, line 508
- tests/sys/file/dup_test.c, line 74
- tests/sys/file/flock_helper.c, 2 times
- tests/sys/file/ftruncate_test.c, 7 times
- tests/sys/file/newfileops_on_fork_test.c, line 90
- tests/sys/fs/fusefs/default_permissions.cc, line 1029
- tests/sys/fs/fusefs/io.cc, 3 times
- tests/sys/fs/fusefs/setattr.cc, 4 times
- tests/sys/posixshm/memfd_test.c, 5 times
- tests/sys/posixshm/posixshm_test.c, 11 times
- tests/sys/vm/mlock_test.c, 5 times
- tests/sys/vm/mmap_test.c, line 120
- tests/sys/vm/page_fault_signal.c, line 158
- tools/regression/fsx/fsx.c, 6 times
- tools/regression/security/cap_test/cap_test_capabilities.c, 2 times
- tools/regression/security/open_to_operation/open_to_operation.c, 3 times
- tools/regression/sockets/sendfile/sendfile.c, line 348
- tools/tools/syscall_timing/syscall_timing.c, line 1124
- usr.bin/csplit/csplit.c, line 310
- usr.bin/mail/def.h, line 275
- usr.bin/mkimg/image.c, 2 times
- usr.bin/posixshmcontrol/posixshmcontrol.c, line 476
- usr.bin/truncate/truncate.c, line 169
- usr.sbin/btxld/btxld.c, line 280
- usr.sbin/cron/crontab/crontab.c, line 540
- usr.sbin/edquota/edquota.c, 2 times
- usr.sbin/fifolog/lib/fifolog_create.c, line 101
- usr.sbin/lpr/lpc/cmds.c, line 389
- usr.sbin/lpr/lpd/lpd.c, line 294
- usr.sbin/lpr/lpd/printjob.c, 3 times
- usr.sbin/makefs/ffs.c, line 512
- usr.sbin/nfsd/nfsd.c, line 1129
- usr.sbin/rtsold/dump.c, line 71
- usr.sbin/rwhod/rwhod.c, line 446
- usr.sbin/sa/main.c, line 252
- usr.sbin/uhsoctl/uhsoctl.c, 2 times