| /xnu-10063.141.1/tests/ |
| H A D | file_leases.c | 202 err = fcntl(fd, F_SETLEASE, F_UNLCK); 398 err = fcntl(dir_fd, F_SETLEASE, F_UNLCK); 475 lreq.l_type = F_UNLCK; 679 err = fcntl(fd, F_SETLEASE, F_UNLCK); 684 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile); 773 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile); 776 err = fcntl(fd, F_SETLEASE, F_UNLCK); 803 err = fcntl(fd, F_SETLEASE, F_UNLCK); 835 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile); 866 T_ASSERT_EQ(err, F_UNLCK, "Retrieve lease: %s", g_testfile); [all …]
|
| H A D | lockf_EOF_77264182.c | 48 fl.l_type = F_UNLCK;
|
| H A D | lockf_basic.c | 93 .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-10063.141.1/bsd/kern/ |
| H A D | kern_lockf.c | 221 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 D | kern_descrip.c | 250 .l_type = F_UNLCK, in fg_drop() 255 (void)VNOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_POSIX, &context, NULL); in fg_drop() 3079 case F_UNLCK: in sys_fcntl_nocancel() 3081 F_UNLCK, &fl, F_OFD_LOCK, &context, in sys_fcntl_nocancel() 3126 case F_UNLCK: in sys_fcntl_nocancel() 3128 F_UNLCK, &fl, F_POSIX, &context, timeout); in sys_fcntl_nocancel() 3172 case F_UNLCK: in sys_fcntl_nocancel() 5064 case F_UNLCK: in sys_fcntl_nocancel() 5747 lf.l_type = F_UNLCK; in sys_flock() 5748 error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_UNLCK, &lf, F_FLOCK, ctx, NULL); in sys_flock()
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | fcntl.h | 447 #define F_UNLCK 2 /* unlock */ macro
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | vfs_vnops.c | 1817 .l_type = F_UNLCK in vn_closefile() 1822 F_UNLCK, &lf, F_FLOCK, ctx, NULL); in vn_closefile() 1827 F_UNLCK, &lf, F_OFD_LOCK, ctx, NULL); in vn_closefile() 1833 (void)vnode_setlease(vp, fg, F_UNLCK, 0, ctx); in vn_closefile()
|
| H A D | vfs_xattr.c | 3442 lf.l_type = F_UNLCK; in unlock_xattrfile() 3444 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_UNLCK, &lf, F_FLOCK, context, NULL); in unlock_xattrfile()
|
| H A D | vfs_subr.c | 12694 modify_file_lease(vp, fl, F_UNLCK, NULL); in release_file_lease() 12729 error = (fl_type == F_UNLCK) ? release_file_lease(vp, fg) : in vnode_setlease() 12747 int fl_type = F_UNLCK; in vnode_getlease()
|
| H A D | kpi_vfs.c | 5664 if (op == F_UNLCK && in VNOP_ADVLOCK()
|
| H A D | vfs_syscalls.c | 4870 .l_type = F_UNLCK, in open1() 4874 vp, (caddr_t)fp->fp_glob, F_UNLCK, &lf, F_FLOCK, ctx, NULL); in open1()
|