Lines Matching refs:F_UNLCK

87 		return F_UNLCK;  in target_leasetype()
180 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
423 return F_UNLCK; in flock_translate_cmd()
446 case F_UNLCK: in assign_type()
878 if (caller_fl->fl_type == F_UNLCK) { in posix_test_locks_conflict()
912 fl->fl_type = F_UNLCK; in posix_test_lock()
934 fl->fl_type = F_UNLCK; in posix_test_lock()
1033 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1038 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1059 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1111 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; in posix_lock_inode()
1120 (request->fl_type != F_UNLCK || in posix_lock_inode()
1134 if (request->fl_type != F_UNLCK) { in posix_lock_inode()
1232 if (request->fl_type == F_UNLCK) in posix_lock_inode()
1283 if (request->fl_type == F_UNLCK) { in posix_lock_inode()
1380 case F_UNLCK: in lease_clear_pending()
1397 if (arg == F_UNLCK) { in lease_modify()
1433 lease_modify(fl, F_UNLCK, dispose); in time_out_leases()
1650 int type = F_UNLCK; in fcntl_getlease()
1852 error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); in generic_delete_lease()
1886 case F_UNLCK: in generic_setlease()
1919 if (arg != F_UNLCK) in setlease_notifier()
2001 if (arg == F_UNLCK) in fcntl_setlease()
2002 return vfs_setlease(filp, F_UNLCK, NULL, (void **)&filp); in fcntl_setlease()
2097 if (type != F_UNLCK && !(f.file->f_mode & (FMODE_READ | FMODE_WRITE))) in SYSCALL_DEFINE2()
2240 if (fl->fl_type != F_UNLCK) { in fcntl_getlk()
2388 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk()
2400 file_lock->fl_type = F_UNLCK; in fcntl_setlk()
2448 if (fl->fl_type != F_UNLCK) in fcntl_getlk64()
2511 if (!error && file_lock->fl_type != F_UNLCK && in fcntl_setlk64()
2523 file_lock->fl_type = F_UNLCK; in fcntl_setlk64()
2557 lock.fl_type = F_UNLCK; in locks_remove_posix()
2585 flock_make_lock(filp, &fl, F_UNLCK); in locks_remove_flock()
2611 lease_modify(fl, F_UNLCK, &dispose); in locks_remove_lease()