Symbol: lockf
include/unistd.h
508
int lockf(int, int, off_t);
lib/libc/gen/utmpx.c
305
if (lockf(fileno(fp), F_LOCK, (off_t)0) == -1)
lib/libc/gen/utmpx.c
328
if (lockf(fileno(fp), F_ULOCK, (off_t)0) == -1)
sys/kern/kern_lockf.c
195
lf_advlock(struct vop_advlock_args *ap, struct lockf *lock, u_quad_t size)
sys/kern/kern_lockf.c
297
lf_setlock(struct lockf *lock, struct proc *owner, int type, int flags,
sys/kern/kern_lockf.c
68
static void _lf_print_lock(const struct lockf *);
sys/kern/kern_lockf.c
770
lf_getlock(struct flock *fl, struct lockf *lock, struct proc *owner,
sys/kern/kern_lockf.c
80
static void lf_wakeup(struct lockf *, off_t, off_t);
sys/kern/kern_lockf.c
806
lf_wakeup(struct lockf *lock, off_t start, off_t end)
sys/kern/kern_lockf.c
89
static int lf_setlock(struct lockf *, struct proc *, int, int,
sys/kern/kern_lockf.c
91
static int lf_getlock(struct flock *, struct lockf *, struct proc *,
sys/kern/kern_lockf.c
914
_lf_print_lock(const struct lockf *lock)
sys/kern/kern_lockf.c
950
SYSINIT(lockf, SI_BOOT2_MACHDEP, SI_ORDER_ANY, lf_init, NULL);
sys/sys/lockf.h
77
int lf_advlock(struct vop_advlock_args *, struct lockf *, u_quad_t);
sys/vfs/dirfs/dirfs.h
151
struct lockf dn_advlock;
sys/vfs/fuse/fuse.h
114
struct lockf advlock;
sys/vfs/hammer/hammer.h
354
struct lockf advlock;
sys/vfs/hammer2/hammer2.h
703
struct lockf advlock;
sys/vfs/isofs/cd9660/cd9660_node.h
73
struct lockf i_lockf; /* head of byte-level lock list */
sys/vfs/nfs/nfsnode.h
120
struct lockf n_lockf; /* Locking record of file */
sys/vfs/smbfs/smbfs_node.h
71
struct lockf n_lockf; /* Locking records of file */
sys/vfs/tmpfs/tmpfs.h
201
struct lockf tn_advlock;
sys/vfs/ufs/inode.h
89
struct lockf i_lockf;/* Head of byte-level lock list. */
test/debug/vnodeinfo.c
367
struct lockf lockf;
test/debug/vnodeinfo.c
369
kkread(kd, (u_long)&ip->i_lockf, &lockf, sizeof(lockf));
test/debug/vnodeinfo.c
370
dumplocks(kd, &lockf);
test/debug/vnodeinfo.c
417
dumplocks(kvm_t *kd, struct lockf *lockf)
test/debug/vnodeinfo.c
422
if ((scan = TAILQ_FIRST(&lockf->lf_range)) != NULL) {
test/debug/vnodeinfo.c
430
if ((scan = TAILQ_FIRST(&lockf->lf_blocked)) != NULL) {
test/debug/vnodeinfo.c
84
static void dumplocks(kvm_t *kd, struct lockf *lockf);
test/stress/stress2/testcases/lockf/lockf.c
50
if (lockf(fd, F_LOCK, 0) == -1)
test/stress/stress2/testcases/lockf/lockf.c
56
if (lockf(fd, F_ULOCK, 0) == -1)
test/stress/stress2/testcases/lockf/lockf.c
64
if (lockf(fd, F_LOCK, 0) == -1)
test/stress/stress2/testcases/lockf/lockf.c
75
if (lockf(fd, F_ULOCK, 0) == -1)
test/stress/stress2/testcases/lockf2/lockf2.c
91
if (lockf(fd, F_LOCK, size) == -1)
test/stress/stress2/testcases/lockf2/lockf2.c
94
if (lockf(fd, F_ULOCK, size) == -1)
usr.sbin/cron/lib/compat.c
187
i = lockf (fd, F_LOCK, 0);
usr.sbin/cron/lib/compat.c
192
i = lockf (fd, F_TLOCK, 0);
usr.sbin/cron/lib/compat.c
199
i = lockf (fd, F_ULOCK, 0);