Searched refs:F_FLOCK (Results 1 - 9 of 9) sorted by path

/freebsd-11-stable/sys/fs/fifofs/
H A Dfifo_vnops.c356 return (ap->a_flags & F_FLOCK ? EOPNOTSUPP : EINVAL);
/freebsd-11-stable/sys/kern/
H A Dkern_lockf.c304 } else if (flags & F_FLOCK) {
518 } else if (flags & F_FLOCK) {
1417 if ((lock->lf_flags & F_FLOCK) &&
2486 } else if (lo->lo_flags & F_FLOCK) {
H A Dkern_descrip.c2912 error = VOP_ADVLOCK(vp, (caddr_t)fp, F_UNLCK, &lf, F_FLOCK);
2925 (uap->how & LOCK_NB) ? F_FLOCK : F_FLOCK | F_WAIT);
H A Dkern_sig.c3648 locked = (VOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &lf, F_FLOCK) == 0);
3670 VOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_FLOCK);
H A Dvfs_vnops.c372 type = F_FLOCK;
1592 (void) VOP_ADVLOCK(vp, fp, F_UNLCK, &lf, F_FLOCK);
/freebsd-11-stable/sys/nlm/
H A Dnlm_advlock.c57 * We need to keep track of the svid values used for F_FLOCK locks.
268 if (flags & F_FLOCK) {
271 ("F_FLOCK lock requests must be whole-file locks"));
293 if ((flags & (F_FLOCK|F_WAIT)) == (F_FLOCK|F_WAIT)
341 * F_FLOCK only supports whole-file
412 * If this was originally a F_FLOCK-style lock, we
1046 KASSERT(!(flags & F_FLOCK), ("unexpected F_FLOCK for F_GETLK"));
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clport.c661 } else if ((flags & F_FLOCK) != 0) {
665 printf("nfscl_filllockowner: not F_POSIX or F_FLOCK\n");
H A Dnfs_clvnops.c3014 if (NFS_ISV4(vp) && (ap->a_flags & (F_POSIX | F_FLOCK)) != 0) {
/freebsd-11-stable/sys/sys/
H A Dfcntl.h263 #define F_FLOCK 0x020 /* Use flock(2) semantics for lock */ macro

Completed in 323 milliseconds