Lines Matching refs:F_UNLCK

87 		return F_UNLCK;
180 if (likely(ctx) || type == F_UNLCK)
423 return F_UNLCK;
446 case F_UNLCK:
872 * path so checks for additional GETLK-specific things like F_UNLCK.
877 /* F_UNLCK checks any locks on the same fd. */
878 if (caller_fl->fl_type == F_UNLCK) {
912 fl->fl_type = F_UNLCK;
934 fl->fl_type = F_UNLCK;
1033 if (request->fl_type != F_UNLCK)
1038 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) {
1059 if (request->fl_type == F_UNLCK) {
1111 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM;
1120 (request->fl_type != F_UNLCK ||
1134 if (request->fl_type != F_UNLCK) {
1232 if (request->fl_type == F_UNLCK)
1283 if (request->fl_type == F_UNLCK) {
1380 case F_UNLCK:
1397 if (arg == F_UNLCK) {
1433 lease_modify(fl, F_UNLCK, dispose);
1633 * %F_UNLCK to indicate no lease is held.
1640 * %F_UNLCK to indicate the lease needs to be removed.
1650 int type = F_UNLCK;
1731 /* Note that arg is never F_UNLCK here */
1852 error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose);
1886 case F_UNLCK:
1919 if (arg != F_UNLCK)
1944 * used for F_UNLCK requests and may be NULL. For commands that set or alter
2001 if (arg == F_UNLCK)
2002 return vfs_setlease(filp, F_UNLCK, NULL, (void **)&filp);
2097 if (type != F_UNLCK && !(f.file->f_mode & (FMODE_READ | FMODE_WRITE)))
2130 * setting conf->fl_type to something other than F_UNLCK.
2240 if (fl->fl_type != F_UNLCK) {
2388 if (!error && file_lock->fl_type != F_UNLCK &&
2400 file_lock->fl_type = F_UNLCK;
2448 if (fl->fl_type != F_UNLCK)
2511 if (!error && file_lock->fl_type != F_UNLCK &&
2523 file_lock->fl_type = F_UNLCK;
2557 lock.fl_type = F_UNLCK;
2585 flock_make_lock(filp, &fl, F_UNLCK);
2611 lease_modify(fl, F_UNLCK, &dispose);