Defined in 2 files as a struct:
Defined in 6 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 113 files:
- bin/cat/cat.c, line 78
- bin/ksh/history.c, 5 times
- crypto/external/bsd/heimdal/dist/lib/base/db.c, line 1244
- crypto/external/bsd/heimdal/dist/lib/hdb/db.c, line 281
- crypto/external/bsd/heimdal/dist/lib/hdb/db3.c, line 347
- crypto/external/bsd/heimdal/dist/lib/hdb/hdb.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/kadm5/ipropd_master.c, 14 times
- crypto/external/bsd/heimdal/dist/lib/kadm5/log.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/fcache.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/roken/flock.c, line 49
- crypto/external/bsd/openssh/dist/sshkey-xmss.c, line 479
- crypto/external/cpl/trousers/dist/src/tcs/ps/tcsps.c, line 55
- crypto/external/cpl/trousers/dist/src/tspi/ps/tspps.c, line 57
- dist/pf/usr.sbin/authpf/authpf.c, line 210
- external/bsd/am-utils/dist/conf/checkmount/checkmount_default.c, line 74
- external/bsd/am-utils/dist/conf/mtab/mtab_file.c, 2 times
- external/bsd/am-utils/dist/conf/mtab/mtab_isc3.c, line 67
- external/bsd/am-utils/dist/conf/mtab/mtab_linux.c, 8 times
- external/bsd/am-utils/dist/conf/mtab/mtab_mach3.c, 2 times
- external/bsd/am-utils/dist/conf/mtab/mtab_svr4.c, line 84
- external/bsd/cron/dist/misc.c, line 331
- external/bsd/dhcpcd/dist/src/auth.c, 3 times
- external/bsd/libbind/dist/bsd/ftruncate.c, line 52
- external/bsd/llvm/dist/clang/test/Sema/warn-type-safety.c, 2 times
- external/bsd/nvi/dist/common/exf.c, 2 times
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, 3 times
- external/bsd/openldap/dist/libraries/liblutil/lockf.c, 4 times
- external/bsd/openldap/dist/servers/slapd/alock.c, 8 times
- external/bsd/ppp/usr.sbin/pppd/tdb.c, line 99
- external/bsd/tmux/dist/client.c, 2 times
- external/cddl/osnet/lib/libzfs/fsshare.c, 4 times
- external/gpl2/lvm2/dist/daemons/dmeventd/dmeventd.c, line 1551
- external/gpl2/lvm2/dist/daemons/dmeventd/libdevmapper-event.c, 2 times
- external/gpl2/lvm2/dist/lib/locking/file_locking.c, 3 times
- external/gpl2/lvm2/dist/lib/misc/lvm-file.c, 3 times
- external/gpl2/xcvs/dist/lib/ftruncate.c, line 35
- external/gpl3/binutils/dist/gold/ftruncate.c, line 52
- external/gpl3/gcc/dist/gcc/gcov-io.c, line 133
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1078
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 1152
- external/ibm-public/postfix/dist/src/util/myflock.c, 2 times
- external/mpl/bind/dist/bin/named/unix/os.c, line 772
- external/public-domain/sqlite/dist/sqlite3.c, 14 times
- games/atc/log.c, 2 times
- games/dm/dm.c, 2 times
- games/fortune/fortune/fortune.c, 2 times
- games/rogue/machdep.c, 2 times
- games/sail/misc.c, 2 times
- games/sail/sync.c, 2 times
- games/tetris/scores.c, 2 times
- lib/libc/gen/lockf.c, line 50
- lib/libc/yp/yplib.c, 2 times
- lib/libperfuse/ops.c, line 2959
- lib/libperfuse/perfuse_priv.h, line 254
- lib/libpuffs/puffs.h, 2 times
- lib/librefuse/fuse.h, line 147
- lib/libskey/skeylogin.c, line 282
- lib/libukfs/ukfs.c, 2 times
- libexec/ftpd/conf.c, line 894
- sbin/dump/itime.c, 2 times
- sbin/dump/rcache.c, 2 times
- sys/arch/atari/stand/xxboot/ahdi-sdb00t/sdb00t.ahdi.S, 2 times
- sys/arch/atari/stand/xxboot/sdboot/sdboot.S, 2 times
- sys/compat/linux/common/linux_fcntl.h, 4 times
- sys/compat/linux/common/linux_file.c, 3 times
- sys/compat/linux32/common/linux32_fcntl.c, 3 times
- sys/compat/sunos/sunos_ioctl.c, 5 times
- sys/compat/sunos32/sunos32_ioctl.c, 5 times
- sys/compat/ultrix/ultrix_misc.c, 5 times
- sys/external/bsd/compiler_rt/dist/lib/profile/GCDAProfiling.c, 2 times
- sys/fs/nfs/client/nfs_clrpcops.c, 2 times
- sys/fs/nfs/client/nfs_clstate.c, 2 times
- sys/fs/nfs/common/nfs_lock.c, line 243
- sys/fs/nfs/common/nfs_lock.h, line 70
- sys/fs/nfs/common/nfs_var.h, 4 times
- sys/fs/nfs/nlm/nlm_advlock.c, 15 times
- sys/fs/nfs/nlm/nlm_prot_impl.c, 5 times
- sys/fs/nfs/server/nfs_nfsdport.c, line 3006
- sys/fs/puffs/puffs_msgif.h, line 601
- sys/fs/smbfs/smbfs_vnops.c, line 1031
- sys/kern/kern_descrip.c, 2 times
- sys/kern/sys_descrip.c, 3 times
- sys/kern/vfs_lockf.c, 2 times
- sys/kern/vfs_syscalls.c, line 225
- sys/kern/vnode_if.c, line 1502
- sys/miscfs/specfs/specdev.h, line 107
- sys/rump/include/rump/rumpvnode_if.h, 2 times
- sys/rump/librump/rumpkern/rump_syscalls.c, line 1753
- sys/rump/librump/rumpvfs/rumpvnode_if.c, line 609
- sys/sys/filedesc.h, 2 times
- sys/sys/vnode_if.h, 2 times
- sys/ufs/lfs/ulfs_extern.h, line 45
- sys/ufs/ufs/ufs_extern.h, line 45
- tests/fs/vfs/t_vnops.c, 9 times
- tests/kernel/t_lockf.c, line 85
- tools/compat/flock.c, line 47
- usr.bin/at/at.c, line 184
- usr.bin/flock/flock.c, line 290
- usr.bin/mail/quit.c, line 313
- usr.bin/skeyinit/skeyinit.c, line 357
- usr.bin/tip/hunt.c, line 84
- usr.bin/xinstall/xinstall.c, line 1173
- usr.sbin/lpr/common_source/displayq.c, 2 times
- usr.sbin/lpr/lpc/cmds.c, 5 times
- usr.sbin/lpr/lpd/lpd.c, line 247
- usr.sbin/lpr/lpd/printjob.c, 2 times
- usr.sbin/lpr/lpr/lpr.c, line 703
- usr.sbin/rpc.lockd/lockd_lock.c, 2 times
- usr.sbin/rpcbind/rpcbind.c, line 180
- usr.sbin/sup/source/supcmeat.c, 3 times
- usr.sbin/sup/source/supfilesrv.c, line 1080
- usr.sbin/user/user.c, 6 times
- usr.sbin/ypbind/ypbind.c, line 157