Searched refs:F_UNLCK (Results 1 - 25 of 38) sorted by relevance

12

/netbsd-current/lib/libc/gen/
H A Dlockf.c60 fl.l_type = F_UNLCK;
74 if (fl.l_type == F_UNLCK || fl.l_pid == getpid())
/netbsd-current/tools/compat/
H A Dflock.c59 fl.l_type = F_UNLCK;
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dmyflock.c129 F_UNLCK, F_RDLCK, F_WRLCK
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dlockf.c105 file_lock.l_type = F_UNLCK;
/netbsd-current/sys/kern/
H A Dvfs_lockf.c143 lock->lf_type == F_UNLCK ? "unlock" :
166 lf->lf_type == F_UNLCK ? "unlock" :
177 blk->lf_type == F_UNLCK ? "unlock" :
418 if (unlock->lf_type != F_UNLCK)
588 lock->lf_type = F_UNLCK;
779 fl->l_type = F_UNLCK;
847 case F_UNLCK:
849 * XXX For F_UNLCK case, we can re-use the lock.
876 case F_UNLCK:
901 fl->l_type = F_UNLCK;
[all...]
H A Dsys_descrip.c290 case F_UNLCK:
291 error = (*fo_advlock)(fp, p, F_UNLCK, fl, F_POSIX);
303 fl->l_type != F_UNLCK) {
640 lf.l_type = F_UNLCK;
642 error = (*fo_advlock)(fp, fp, F_UNLCK, &lf, F_FLOCK);
H A Dkern_descrip.c729 lf.l_type = F_UNLCK;
731 (void)(*fp->f_ops->fo_advlock)(fp, p, F_UNLCK, &lf, F_POSIX);
857 lf.l_type = F_UNLCK;
858 (void)(*fp->f_ops->fo_advlock)(fp, fp, F_UNLCK, &lf, F_FLOCK);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dflock.c63 arg.l_type = F_UNLCK;
/netbsd-current/external/gpl2/lvm2/dist/lib/misc/
H A Dlvm-file.c261 .l_type = F_UNLCK,
/netbsd-current/sys/fs/nfs/common/
H A Dnfs_lock.c307 if (fl->l_type == F_UNLCK)
343 fl->l_type = F_UNLCK;
/netbsd-current/sys/fs/nfs/nlm/
H A Dnlm_advlock.c229 if (op == F_SETLK || op == F_UNLCK)
312 fl->l_type = F_UNLCK;
314 retries, vp, F_UNLCK, fl, flags,
354 case F_UNLCK:
461 newfl.l_type = F_UNLCK;
466 error = nlm_advlock_internal(vp, NULL, F_UNLCK, &newfl, F_REMOTE,
1109 fl->l_type = F_UNLCK;
H A Dnlm_prot_impl.c1919 if (fl.l_type == F_UNLCK) {
2284 fl.l_type = F_UNLCK;
2285 error = VOP_ADVLOCK(vs.vs_vp, NULL, F_UNLCK, &fl, F_REMOTE);
2382 af->af_fl.l_type = F_UNLCK;
2383 error = VOP_ADVLOCK(af->af_vp, NULL, F_UNLCK, &af->af_fl, F_REMOTE);
/netbsd-current/tests/kernel/
H A Dt_lockf.c97 fl.l_type = F_UNLCK;
/netbsd-current/sys/sys/
H A Dfcntl.h212 #define F_UNLCK 2 /* unlock */ macro
/netbsd-current/sys/compat/ultrix/
H A Dultrix_misc.c706 fl->l_type = F_UNLCK;
733 case F_UNLCK:
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dunix.c1497 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK)
1881 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK)
1895 f.l_type = F_UNLCK;
/netbsd-current/external/gpl3/gcc/dist/libgfortran/io/
H A Dunix.c1497 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK)
1881 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK)
1895 f.l_type = F_UNLCK;
/netbsd-current/usr.bin/at/
H A Dat.c271 lock.l_type = F_UNLCK;
/netbsd-current/sys/compat/sunos/
H A Dsunos_ioctl.c960 case F_UNLCK:
990 oflp->l_type = F_UNLCK;
/netbsd-current/sys/compat/sunos32/
H A Dsunos32_ioctl.c986 case F_UNLCK:
1016 oflp->l_type = F_UNLCK;
/netbsd-current/tests/fs/vfs/
H A Dt_vnops.c817 l.l_type = F_UNLCK;
862 if (l.l_type == F_UNLCK)
/netbsd-current/crypto/external/cpl/trousers/dist/src/tcs/ps/
H A Dtcsps.c98 fl.l_type = F_UNLCK;
/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/ps/
H A Dtspps.c231 fl.l_type = F_UNLCK;
/netbsd-current/external/bsd/ppp/usr.sbin/pppd/
H A Dtdb.c105 fl.l_type = set==LOCK_SET?rw_type:F_UNLCK;
/netbsd-current/lib/libukfs/
H A Dukfs.c413 flarg.l_type = F_UNLCK;

Completed in 243 milliseconds

12