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()
445 case F_UNLCK: in assign_type()
896 fl->fl_type = F_UNLCK; in posix_test_lock()
918 fl->fl_type = F_UNLCK; in posix_test_lock()
1017 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1022 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1043 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1095 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; in posix_lock_inode()
1104 (request->fl_type != F_UNLCK || in posix_lock_inode()
1118 if (request->fl_type != F_UNLCK) { in posix_lock_inode()
1216 if (request->fl_type == F_UNLCK) in posix_lock_inode()
1267 if (request->fl_type == F_UNLCK) { in posix_lock_inode()
1364 case F_UNLCK: in lease_clear_pending()
1381 if (arg == F_UNLCK) { in lease_modify()
1417 lease_modify(fl, F_UNLCK, dispose); in time_out_leases()
1634 int type = F_UNLCK; in fcntl_getlease()
1843 error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); in generic_delete_lease()
1876 case F_UNLCK: in generic_setlease()
1910 if (arg != F_UNLCK) in setlease_notifier()
2016 if (arg == F_UNLCK) in fcntl_setlease()
2017 return vfs_setlease(filp, F_UNLCK, NULL, (void **)&filp); in fcntl_setlease()
2112 if (type != F_UNLCK && !(f.file->f_mode & (FMODE_READ | FMODE_WRITE))) in SYSCALL_DEFINE2()
2253 if (fl->fl_type != F_UNLCK) { in fcntl_getlk()
2400 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk()
2412 file_lock->fl_type = F_UNLCK; in fcntl_setlk()
2460 if (fl->fl_type != F_UNLCK) in fcntl_getlk64()
2523 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk64()
2535 file_lock->fl_type = F_UNLCK; in fcntl_setlk64()
2569 lock.fl_type = F_UNLCK; in locks_remove_posix()
2597 flock_make_lock(filp, &fl, F_UNLCK); in locks_remove_flock()
2623 lease_modify(fl, F_UNLCK, &dispose); in locks_remove_lease()