Lines Matching refs:F_UNLCK
86 return F_UNLCK; in target_leasetype()
179 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
422 return F_UNLCK; in flock_translate_cmd()
459 case F_UNLCK: in assign_type()
910 fl->fl_type = F_UNLCK; in posix_test_lock()
932 fl->fl_type = F_UNLCK; in posix_test_lock()
1031 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1036 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1057 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1109 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; in posix_lock_inode()
1118 (request->fl_type != F_UNLCK || in posix_lock_inode()
1132 if (request->fl_type != F_UNLCK) { in posix_lock_inode()
1230 if (request->fl_type == F_UNLCK) in posix_lock_inode()
1281 if (request->fl_type == F_UNLCK) { in posix_lock_inode()
1378 case F_UNLCK: in lease_clear_pending()
1395 if (arg == F_UNLCK) { in lease_modify()
1431 lease_modify(fl, F_UNLCK, dispose); in time_out_leases()
1648 int type = F_UNLCK; in fcntl_getlease()
1857 error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); in generic_delete_lease()
1890 case F_UNLCK: in generic_setlease()
1924 if (arg != F_UNLCK) in setlease_notifier()
2030 if (arg == F_UNLCK) in fcntl_setlease()
2031 return vfs_setlease(filp, F_UNLCK, NULL, (void **)&filp); in fcntl_setlease()
2273 if (fl->fl_type != F_UNLCK) { in fcntl_getlk()
2420 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk()
2432 file_lock->fl_type = F_UNLCK; in fcntl_setlk()
2480 if (fl->fl_type != F_UNLCK) in fcntl_getlk64()
2543 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk64()
2555 file_lock->fl_type = F_UNLCK; in fcntl_setlk64()
2589 lock.fl_type = F_UNLCK; in locks_remove_posix()
2643 lease_modify(fl, F_UNLCK, &dispose); in locks_remove_lease()