Home
last modified time | relevance | path

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

/xnu-12377.61.12/tests/
H A Dfile_leases.c203 err = fcntl(fd, F_SETLEASE, F_UNLCK);
399 err = fcntl(dir_fd, F_SETLEASE, F_UNLCK);
476 lreq.l_type = F_UNLCK;
680 err = fcntl(fd, F_SETLEASE, F_UNLCK);
685 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile);
774 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile);
777 err = fcntl(fd, F_SETLEASE, F_UNLCK);
804 err = fcntl(fd, F_SETLEASE, F_UNLCK);
836 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile);
867 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile);
[all …]
H A Dlockf_EOF_77264182.c48 fl.l_type = F_UNLCK;
H A Dlockf_basic.c93 .l_type = F_UNLCK, in posix_unlock()
106 .l_type = F_UNLCK, in ofd_unlock()
119 } else if (flags == UNLOCK && fl->l_type == F_UNLCK) { in flequal()
/xnu-12377.61.12/bsd/kern/
H A Dkern_lockf.c221 fl->l_type = F_UNLCK; in lf_advlock()
343 case F_UNLCK: in lf_advlock()
713 lock->lf_type = F_UNLCK; in lf_setlock()
999 if (unlock->lf_type != F_UNLCK) { in lf_clearlock()
1182 fl->l_type = F_UNLCK; in lf_getlock()
1544 lock->lf_type == F_UNLCK ? "unlock" : "unknown", in lf_print()
1550 lock->lf_type == F_UNLCK ? "unlock" : "unknown", in lf_print()
1598 lf->lf_type == F_UNLCK ? "unlock" : in lf_printlist()
1614 blk->lf_type == F_UNLCK ? "unlock" : in lf_printlist()
H A Dkern_descrip.c274 .l_type = F_UNLCK, in fg_drop()
279 (void)VNOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_POSIX, &context, NULL); in fg_drop()
3117 case F_UNLCK: in sys_fcntl_nocancel()
3119 F_UNLCK, &fl, F_OFD_LOCK, &context, in sys_fcntl_nocancel()
3164 case F_UNLCK: in sys_fcntl_nocancel()
3166 F_UNLCK, &fl, F_POSIX, &context, timeout); in sys_fcntl_nocancel()
3210 case F_UNLCK: in sys_fcntl_nocancel()
5135 case F_UNLCK: in sys_fcntl_nocancel()
5819 lf.l_type = F_UNLCK; in sys_flock()
5820 error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_UNLCK, &lf, F_FLOCK, ctx, NULL); in sys_flock()
/xnu-12377.61.12/bsd/sys/
H A Dfcntl.h409 #define F_UNLCK 2 /* unlock */ macro
/xnu-12377.61.12/bsd/vfs/
H A Dvfs_vnops.c1875 .l_type = F_UNLCK in vn_closefile()
1880 F_UNLCK, &lf, F_FLOCK, ctx, NULL); in vn_closefile()
1885 F_UNLCK, &lf, F_OFD_LOCK, ctx, NULL); in vn_closefile()
1891 (void)vnode_setlease(vp, fg, F_UNLCK, 0, ctx); in vn_closefile()
H A Dvfs_xattr.c2384 .l_type = F_UNLCK, in close_xattrfile()
2386 (void)VNOP_ADVLOCK(xvp, (caddr_t)xfg, F_UNLCK, &lf, F_FLOCK, in close_xattrfile()
H A Dvfs_subr.c12946 modify_file_lease(vp, fl, F_UNLCK, NULL); in release_file_lease()
12981 error = (fl_type == F_UNLCK) ? release_file_lease(vp, fg) : in vnode_setlease()
12999 int fl_type = F_UNLCK; in vnode_getlease()
H A Dkpi_vfs.c5782 if (op == F_UNLCK && in VNOP_ADVLOCK()
H A Dvfs_syscalls.c5179 .l_type = F_UNLCK, in open1()
5183 vp, (caddr_t)fp->fp_glob, F_UNLCK, &lf, F_FLOCK, ctx, NULL); in open1()