Defined in 1 files as a struct:
Defined in 6 files as a prototype:
Defined in 1 files as a macro:
Defined in 3 files as a function:
Referenced in 81 files:
- bin/cat/cat.c, line 117
- bin/pkill/pkill.c, line 822
- cddl/compat/opensolaris/misc/fsshare.c
- contrib/apr/file_io/unix/flock.c
- contrib/apr/locks/unix/proc_mutex.c
- contrib/capsicum-test/capability-fd.cc
- contrib/capsicum-test/fcntl.cc
- contrib/dma/spool.c, line 89
- contrib/dma/util.c, line 297
- contrib/hyperv/tools/hv_kvp_daemon.c
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingUtil.c
- contrib/llvm-project/lldb/source/Host/posix/LockFilePosix.cpp, line 23
- contrib/netbsd-tests/fs/vfs/t_vnops.c
- contrib/netbsd-tests/kernel/t_lockf.c, line 85
- contrib/nvi/common/exf.c, line 1470
- contrib/openbsm/bin/auditd/auditd.c, line 460
- contrib/openbsm/compat/flopen.h, line 68
- contrib/pf/authpf/authpf.c, line 247
- contrib/sendmail/libsmdb/smdb.c
- contrib/sendmail/libsmutil/lockfile.c
- contrib/sendmail/mail.local/mail.local.c
- contrib/sendmail/src/conf.c
- contrib/sqlite3/sqlite3.c
- crypto/heimdal/lib/hdb/hdb.c
- crypto/heimdal/lib/kadm5/log.c
- crypto/heimdal/lib/krb5/fcache.c
- crypto/heimdal/lib/roken/flock.c, line 47
- crypto/openssh/openbsd-compat/bsd-flock.c, line 49
- crypto/openssh/sshkey-xmss.c, line 481
- lib/libc/gen/lockf.c, line 46
- lib/libc/gen/sem_new.c, line 224
- lib/libc/include/un-namespace.h, line 49
- lib/libutil/flopen.c, line 77
- libexec/atrun/atrun.c
- sbin/dump/itime.c
- sbin/hastd/metadata.c, line 73
- sys/compat/linux/linux_file.c
- sys/compat/linuxkpi/common/include/linux/fs.h, line 169
- sys/contrib/openzfs/cmd/zed/zed_file.c
- sys/contrib/openzfs/contrib/pam_zfs_key/pam_zfs_key.c, line 504
- sys/contrib/openzfs/include/os/freebsd/spl/sys/vnode.h, line 36
- sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_vnops.h, line 47
- sys/contrib/openzfs/include/os/linux/spl/sys/fcntl.h, line 31
- sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c
- sys/contrib/openzfs/lib/libshare/os/linux/nfs.c
- sys/fs/fuse/fuse_vnops.c, line 381
- sys/fs/nfs/nfs_var.h
- sys/fs/nfsclient/nfs_clrpcops.c
- sys/fs/nfsclient/nfs_clstate.c
- sys/fs/nfsserver/nfs_nfsdport.c, line 3491
- sys/fs/smbfs/smbfs_vnops.c, line 1019
- sys/kern/kern_descrip.c
- sys/kern/kern_lockf.c
- sys/kern/kern_sig.c, line 3727
- sys/kern/vfs_vnops.c
- sys/nfs/nfs_lock.h, line 70
- sys/nlm/nlm_advlock.c
- sys/nlm/nlm_prot_impl.c
- sys/sys/lockf.h
- tests/sys/audit/file-attribute-modify.c
- tests/sys/cddl/zfs/bin/randfree_file.c, line 55
- tests/sys/file/flock_helper.c
- tests/sys/fs/fusefs/flush.cc, line 204
- tests/sys/fs/fusefs/locks.cc
- tests/sys/fs/fusefs/release.cc, line 200
- tests/sys/kern/ptrace_test.c
- tools/build/cross-build/include/linux/fcntl.h
- tools/regression/security/open_to_operation/open_to_operation.c, line 366
- usr.bin/at/at.c, line 222
- usr.bin/fortune/fortune/fortune.c
- usr.bin/lockf/lockf.c, line 195
- usr.bin/mail/quit.c, line 108
- usr.bin/tip/tip/log.c
- usr.bin/xinstall/xinstall.c, line 1426
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_printer_tbl.c, line 160
- usr.sbin/lpr/lpc/cmds.c
- usr.sbin/lpr/lpr/lpr.c, line 856
- usr.sbin/pwd_mkdb/pwd_mkdb.c, line 192
- usr.sbin/rpc.lockd/lockd_lock.c, line 1110
- usr.sbin/rpcbind/rpcbind.c, line 149
- usr.sbin/ypbind/ypbind.c