Lines Matching refs:F_UNLCK
191 return F_UNLCK; in target_leasetype()
255 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
472 return F_UNLCK; in flock_translate_cmd()
509 case F_UNLCK: in assign_type()
960 fl->fl_type = F_UNLCK; in posix_test_lock()
971 fl->fl_type = F_UNLCK; in posix_test_lock()
1070 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1075 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1096 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1146 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; in posix_lock_inode()
1155 (request->fl_type != F_UNLCK || in posix_lock_inode()
1168 if (request->fl_type != F_UNLCK) { in posix_lock_inode()
1255 if (request->fl_type == F_UNLCK) in posix_lock_inode()
1306 if (request->fl_type == F_UNLCK) { in posix_lock_inode()
1500 case F_UNLCK: in lease_clear_pending()
1517 if (arg == F_UNLCK) { in lease_modify()
1553 lease_modify(fl, F_UNLCK, dispose); in time_out_leases()
1770 int type = F_UNLCK; in fcntl_getlease()
1976 error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); in generic_delete_lease()
2009 case F_UNLCK: in generic_setlease()
2043 if (arg != F_UNLCK) in setlease_notifier()
2149 if (arg == F_UNLCK) in fcntl_setlease()
2150 return vfs_setlease(filp, F_UNLCK, NULL, (void **)&filp); in fcntl_setlease()
2382 if (fl->fl_type != F_UNLCK) { in fcntl_getlk()
2537 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk()
2548 file_lock->fl_type = F_UNLCK; in fcntl_setlk()
2596 if (fl->fl_type != F_UNLCK) in fcntl_getlk64()
2668 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk64()
2679 file_lock->fl_type = F_UNLCK; in fcntl_setlk64()
2713 lock.fl_type = F_UNLCK; in locks_remove_posix()
2767 lease_modify(fl, F_UNLCK, &dispose); in locks_remove_lease()