Lines Matching refs:IS_LEASE
134 #define IS_LEASE(fl) (fl->fl_flags & FL_LEASE) macro
749 if (IS_LEASE(fl)) in flock_lock_file()
781 if (IS_LEASE(fl)) in flock_lock_file()
1179 while ((fl = *before) && IS_LEASE(fl) && lease_breaking(fl)) { in time_out_leases()
1217 if ((flock == NULL) || !IS_LEASE(flock)) in __break_lease()
1223 for (fl = flock; fl && IS_LEASE(fl); fl = fl->fl_next) in __break_lease()
1234 for (fl = flock; fl && IS_LEASE(fl); fl = fl->fl_next) { in __break_lease()
1274 for (flock = inode->i_flock; flock && IS_LEASE(flock); in __break_lease()
1302 if (flock && IS_LEASE(flock) && (flock->fl_type & F_WRLCK)) in lease_get_mtime()
1340 for (fl = filp->f_path.dentry->d_inode->i_flock; fl && IS_LEASE(fl); in fcntl_getlease()
1378 ((fl = *before) != NULL) && IS_LEASE(fl); in generic_add_lease()
1423 ((fl = *before) != NULL) && IS_LEASE(fl); in generic_delete_lease()
2099 if (IS_LEASE(fl)) { in locks_remove_flock()
2180 } else if (IS_LEASE(fl)) { in lock_get_status()