Lines Matching refs:fl_flags
172 fl->fl_flags = 0; in locks_init_lock()
203 new->fl_flags = fl->fl_flags; in locks_copy_lock()
223 fl->fl_flags = FL_FLOCK; in flock_make_lock()
292 fl->fl_flags = FL_POSIX; in flock_to_posix_lock()
332 fl->fl_flags = FL_POSIX; in flock64_to_posix_lock()
362 fl->fl_flags = FL_LEASE; in lease_alloc()
568 if (!(sys_fl->fl_flags & FL_POSIX) || in posix_locks_conflict()
587 if (!(sys_fl->fl_flags & FL_FLOCK) || in flock_locks_conflict()
641 if (!(cfl->fl_flags & FL_POSIX)) in posix_test_lock()
703 if (!(fl->fl_flags & FL_POSIX)) in locks_mandatory_locked()
726 new_fl->fl_flags = FL_POSIX | FL_ACCESS; in locks_mandatory_area()
739 if (!(fl->fl_flags & FL_POSIX)) in locks_mandatory_area()
797 while (((fl = *before) != NULL) && (fl->fl_flags & FL_FLOCK)) { in flock_lock_file()
822 for (fl = inode->i_flock; (fl != NULL) && (fl->fl_flags & FL_FLOCK); in flock_lock_file()
887 if (!(fl->fl_flags & FL_POSIX)) in posix_lock_file()
916 while ((fl = *before) && (!(fl->fl_flags & FL_POSIX) || in posix_lock_file()
1083 while ((fl = *before) && (fl->fl_flags & FL_LEASE) in time_out_leases()
1123 if ((flock == NULL) || (flock->fl_flags & FL_LEASE) == 0) in __get_lease()
1126 for (fl = flock; fl && (fl->fl_flags & FL_LEASE); fl = fl->fl_next) in __get_lease()
1156 for (fl = flock; fl && (fl->fl_flags & FL_LEASE); fl = fl->fl_next) { in __get_lease()
1182 flock && (flock->fl_flags & FL_LEASE); in __get_lease()
1208 if (flock && (flock->fl_flags & FL_LEASE) && (flock->fl_type & F_WRLCK)) in lease_get_mtime()
1244 fl && (fl->fl_flags & FL_LEASE); in fcntl_getlease()
1302 ((fl = *before) != NULL) && (fl->fl_flags & FL_LEASE); in fcntl_setlease()
1745 if ((fl->fl_flags & FL_POSIX) && fl->fl_owner == owner) { in locks_remove_posix()
1779 if (fl->fl_flags & FL_FLOCK) { in locks_remove_flock()
1783 if (fl->fl_flags & FL_LEASE) { in locks_remove_flock()
1827 if (fl->fl_flags & FL_POSIX) { in lock_get_status()
1829 (fl->fl_flags & FL_ACCESS) ? "ACCESS" : "POSIX ", in lock_get_status()
1834 } else if (fl->fl_flags & FL_FLOCK) { in lock_get_status()
1841 } else if (fl->fl_flags & FL_LEASE) { in lock_get_status()
1980 if (fl->fl_flags == FL_POSIX) { in lock_may_read()
1985 } else if (fl->fl_flags == FL_FLOCK) { in lock_may_read()
2018 if (fl->fl_flags == FL_POSIX) { in lock_may_write()
2021 } else if (fl->fl_flags == FL_FLOCK) { in lock_may_write()