Lines Matching refs:F_UNLCK
151 return F_UNLCK; in target_leasetype()
212 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
367 return F_UNLCK; in flock_translate_cmd()
401 case F_UNLCK: in assign_type()
771 fl->fl_type = F_UNLCK; in posix_test_lock()
784 fl->fl_type = F_UNLCK; in posix_test_lock()
880 if (request->fl_type != F_UNLCK) in flock_lock_inode()
885 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
905 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
951 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; in __posix_lock_file()
960 (request->fl_type != F_UNLCK || in __posix_lock_file()
972 if (request->fl_type != F_UNLCK) { in __posix_lock_file()
1053 if (request->fl_type == F_UNLCK) in __posix_lock_file()
1103 if (request->fl_type == F_UNLCK) { in __posix_lock_file()
1296 case F_UNLCK: in lease_clear_pending()
1313 if (arg == F_UNLCK) { in lease_modify()
1349 lease_modify(fl, F_UNLCK, dispose); in time_out_leases()
1551 int type = F_UNLCK; in fcntl_getlease()
1739 error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); in generic_delete_lease()
1771 case F_UNLCK: in generic_setlease()
1851 if (arg == F_UNLCK) in fcntl_setlease()
1852 return vfs_setlease(filp, F_UNLCK, NULL, (void **)&filp); in fcntl_setlease()
2057 if (file_lock.fl_type != F_UNLCK) { in fcntl_getlk()
2226 if (!error && file_lock->fl_type != F_UNLCK) { in fcntl_setlk()
2236 file_lock->fl_type = F_UNLCK; in fcntl_setlk()
2283 if (file_lock.fl_type != F_UNLCK) in fcntl_getlk64()
2368 if (!error && file_lock->fl_type != F_UNLCK) { in fcntl_setlk64()
2378 file_lock->fl_type = F_UNLCK; in fcntl_setlk64()
2409 lock.fl_type = F_UNLCK; in locks_remove_posix()
2436 .fl_type = F_UNLCK, in locks_remove_flock()
2466 lease_modify(fl, F_UNLCK, &dispose); in locks_remove_lease()
2593 ? (fl->fl_type == F_UNLCK) ? "UNLCK" : "READ " in lock_get_status()