Home
last modified time | relevance | path

Searched refs:F_UNLCK (Results 1 – 25 of 40) sorted by relevance

12

/netbsd-src/sys/kern/
H A Dvfs_lockf.c146 lock->lf_type == F_UNLCK ? "unlock" : in lf_print()
169 lf->lf_type == F_UNLCK ? "unlock" : in lf_printlist()
180 blk->lf_type == F_UNLCK ? "unlock" : in lf_printlist()
422 if (unlock->lf_type != F_UNLCK) in lf_clearlock()
592 lock->lf_type = F_UNLCK; in lf_setlock()
786 fl->l_type = F_UNLCK;
854 case F_UNLCK: in lf_advlock()
856 * XXX For F_UNLCK case, we can re-use the lock. in lf_advlock()
883 case F_UNLCK: in lf_advlock()
908 fl->l_type = F_UNLCK; in lf_advlock()
[all...]
H A Dsys_descrip.c290 case F_UNLCK: in do_fcntl_lock()
291 error = (*fo_advlock)(fp, p, F_UNLCK, fl, F_POSIX); in do_fcntl_lock()
303 fl->l_type != F_UNLCK) { in do_fcntl_lock()
640 lf.l_type = F_UNLCK; in sys_flock()
642 error = (*fo_advlock)(fp, fp, F_UNLCK, &lf, F_FLOCK); in sys_flock()
H A Dkern_descrip.c729 lf.l_type = F_UNLCK; in fd_close()
731 (void)(*fp->f_ops->fo_advlock)(fp, p, F_UNLCK, &lf, F_POSIX); in fd_close()
855 lf.l_type = F_UNLCK; in closef()
856 (void)(*fp->f_ops->fo_advlock)(fp, fp, F_UNLCK, &lf, F_FLOCK); in closef()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dfcntl.d152 enum F_UNLCK = 2; in version() local
416 enum F_UNLCK = 2; in version() local
464 enum F_UNLCK = 2;
523 enum F_UNLCK = 2;
592 enum F_UNLCK = 2;
685 enum F_UNLCK = 2;
740 enum F_UNLCK = 3;
/netbsd-src/lib/libc/gen/
H A Dlockf.c60 fl.l_type = F_UNLCK; in __weak_alias()
74 if (fl.l_type == F_UNLCK || fl.l_pid == getpid()) in __weak_alias()
/netbsd-src/sys/fs/nfs/nlm/
H A Dnlm_advlock.c229 if (op == F_SETLK || op == F_UNLCK) in nlm_advlock_internal()
312 fl->l_type = F_UNLCK; in nlm_advlock_internal()
314 retries, vp, F_UNLCK, fl, flags, in nlm_advlock_internal()
354 case F_UNLCK: in nlm_advlock_internal()
461 newfl.l_type = F_UNLCK; in nlm_reclaim_free_lock()
466 error = nlm_advlock_internal(vp, NULL, F_UNLCK, &newfl, F_REMOTE, in nlm_reclaim_free_lock()
1109 fl->l_type = F_UNLCK; in nlm_getlock()
H A Dnlm_prot_impl.c1919 if (fl.l_type == F_UNLCK) { in nlm_do_test()
2284 fl.l_type = F_UNLCK; in nlm_do_unlock()
2285 error = VOP_ADVLOCK(vs.vs_vp, NULL, F_UNLCK, &fl, F_REMOTE); in nlm_do_unlock()
2382 af->af_fl.l_type = F_UNLCK; in nlm_do_granted_res()
2383 error = VOP_ADVLOCK(af->af_vp, NULL, F_UNLCK, &af->af_fl, F_REMOTE); in nlm_do_granted_res()
/netbsd-src/tools/compat/
H A Dflock.c59 fl.l_type = F_UNLCK; in flock()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dmyflock.c129 F_UNLCK, F_RDLCK, F_WRLCK in myflock()
/netbsd-src/sys/fs/nfs/common/
H A Dnfs_lock.c307 if (fl->l_type == F_UNLCK) in nfs_dolock()
343 fl->l_type = F_UNLCK; in nfs_dolock()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dlockf.c105 file_lock.l_type = F_UNLCK; in lutil_unlockf()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dflock.c63 arg.l_type = F_UNLCK; in rk_flock()
/netbsd-src/external/gpl2/lvm2/dist/lib/misc/
H A Dlvm-file.c261 .l_type = F_UNLCK, in fcntl_unlock_file()
/netbsd-src/sys/sys/
H A Dfcntl.h212 #define F_UNLCK 2 /* unlock */ macro
/netbsd-src/tests/kernel/
H A Dt_lockf.c97 fl.l_type = F_UNLCK; in trylocks()
/netbsd-src/sys/compat/ultrix/
H A Dultrix_misc.c706 fl->l_type = F_UNLCK; in ultrix_to_bsd_flock()
733 case F_UNLCK: in bsd_to_ultrix_flock()
/netbsd-src/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) in close_share()
1895 f.l_type = F_UNLCK; in close_share()
/netbsd-src/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) in close_share()
1895 f.l_type = F_UNLCK; in close_share()
/netbsd-src/sys/compat/sunos/
H A Dsunos_ioctl.c960 case F_UNLCK: in bsd_to_sunos_flock()
990 oflp->l_type = F_UNLCK; in sunos_to_bsd_flock()
/netbsd-src/tests/fs/vfs/
H A Dt_vnops.c817 l.l_type = F_UNLCK; in fcntl_lock()
862 if (l.l_type == F_UNLCK) in fcntl_getlocks()
/netbsd-src/usr.bin/at/
H A Dat.c271 lock.l_type = F_UNLCK; in writefile()
/netbsd-src/sys/compat/sunos32/
H A Dsunos32_ioctl.c986 case F_UNLCK: in bsd_to_sunos_flock()
1016 oflp->l_type = F_UNLCK; in sunos_to_bsd_flock()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ps/
H A Dtcsps.c98 fl.l_type = F_UNLCK; in put_file()
/netbsd-src/libexec/ftpd/
H A Dconf.c950 fl.l_type = F_UNLCK; in count_users()
/netbsd-src/usr.bin/xinstall/
H A Dxinstall.c1296 metalog_lock.l_type = F_UNLCK; in xbasename()

12