Lines Matching refs:fl_end
370 new->fl_end = fl->fl_end; in locks_copy_conflock()
438 fl->fl_end = OFFSET_MAX; in flock_make_lock()
482 fl->fl_end = fl->fl_start + (l->l_len - 1); in flock64_to_posix_lock()
487 fl->fl_end = fl->fl_start - 1; in flock64_to_posix_lock()
490 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock()
563 fl->fl_end = OFFSET_MAX; in lease_init()
590 return ((fl1->fl_end >= fl2->fl_start) && in locks_overlap()
591 (fl2->fl_end >= fl1->fl_start)); in locks_overlap()
1121 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in posix_lock_inode()
1197 if (fl->fl_end < request->fl_start - 1) in posix_lock_inode()
1202 if (fl->fl_start - 1 > request->fl_end) in posix_lock_inode()
1214 if (fl->fl_end < request->fl_end) in posix_lock_inode()
1215 fl->fl_end = request->fl_end; in posix_lock_inode()
1217 request->fl_end = fl->fl_end; in posix_lock_inode()
1228 if (fl->fl_end < request->fl_start) in posix_lock_inode()
1230 if (fl->fl_start > request->fl_end) in posix_lock_inode()
1239 if (fl->fl_end > request->fl_end) { in posix_lock_inode()
1309 right->fl_start = request->fl_end + 1; in posix_lock_inode()
1313 left->fl_end = request->fl_start - 1; in posix_lock_inode()
2183 if (fl->fl_end != OFFSET_MAX && fl->fl_end > OFFT_OFFSET_MAX) in posix_lock_to_flock()
2187 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()
2188 fl->fl_end - fl->fl_start + 1; in posix_lock_to_flock()
2199 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()
2200 fl->fl_end - fl->fl_start + 1; in posix_lock_to_flock64()
2558 lock.fl_end = OFFSET_MAX; in locks_remove_posix()
2754 if (fl->fl_end == OFFSET_MAX) in lock_get_status()
2757 seq_printf(f, "%Ld %Ld\n", fl->fl_start, fl->fl_end); in lock_get_status()