Home
last modified time | relevance | path

Searched refs:fl_end (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/fs/
H A Dlocks.c370 new->fl_end = fl->fl_end; in locks_copy_conflock()
438 fl->fl_end = OFFSET_MAX; in flock_make_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()
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()
1239 if (fl->fl_end > request->fl_end) { in posix_lock_inode()
2183 if (fl->fl_end != OFFSET_MAX && fl->fl_end > OFFT_OFFSET_MAX) in posix_lock_to_flock()
[all …]
/openbmc/linux/fs/lockd/
H A Dsvclock.c156 (long long)lock->fl.fl_end, lock->fl.fl_type); in nlmsvc_lookup_block()
163 (long long)fl->fl_end, fl->fl_type, in nlmsvc_lookup_block()
497 (long long)lock->fl.fl_end, in nlmsvc_lock()
610 (long long)lock->fl.fl_end); in nlmsvc_testlock()
635 (long long)lock->fl.fl_end); in nlmsvc_testlock()
642 conflock->fl.fl_end = lock->fl.fl_end; in nlmsvc_testlock()
667 (long long)lock->fl.fl_end); in nlmsvc_unlock()
704 (long long)lock->fl.fl_end); in nlmsvc_cancel_blocked()
834 loff_t fl_start, fl_end; in nlmsvc_grant_blocked() local
857 fl_end = lock->fl.fl_end; in nlmsvc_grant_blocked()
[all …]
H A Dxdr4.c42 fl->fl_end = OFFSET_MAX; in nlm4svc_set_file_lock_range()
44 fl->fl_end = end; in nlm4svc_set_file_lock_range()
112 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
115 len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in svcxdr_encode_holder()
H A Dxdr.c96 fl->fl_end = OFFSET_MAX; in svcxdr_decode_lock()
98 fl->fl_end = s32_to_loff_t(end); in svcxdr_decode_lock()
117 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
120 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in svcxdr_encode_holder()
H A Dclntxdr.c67 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()
70 *l_len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_compute_offsets()
286 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
288 fl->fl_end = (loff_t)end; in decode_nlm_holder()
H A Dclntlock.c178 if (fl_blocked->fl_end != fl->fl_end) in nlmclnt_grant()
H A Dclntproc.c144 lock->fl.fl_end = fl->fl_end; in nlmclnt_setlockargs()
448 fl->fl_end = req->a_res.lock.fl.fl_end; in nlmclnt_test()
H A Dclnt4xdr.c71 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()
74 *l_len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_compute_offsets()
H A Dsvcsubs.c186 lock.fl_end = OFFSET_MAX; in nlm_unlock_files()
H A Dsvc4proc.c59 lock->fl.fl_end = lock->lock_len ? in nlm4svc_retrieve_args()
/openbmc/linux/include/trace/events/
H A Dfilelock.h77 __field(loff_t, fl_end)
91 __entry->fl_end = fl ? fl->fl_end : 0;
100 __entry->fl_start, __entry->fl_end, __entry->ret)
H A Dafs.h1136 __entry->len = fl->fl_end - fl->fl_start + 1;
/openbmc/linux/fs/9p/
H A Dvfs_file.c151 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock()
154 flock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_do_lock()
244 if (fl->fl_end == OFFSET_MAX) in v9fs_file_getlock()
247 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock()
269 fl->fl_end = OFFSET_MAX; in v9fs_file_getlock()
271 fl->fl_end = glock.start + glock.length - 1; in v9fs_file_getlock()
/openbmc/linux/fs/ceph/
H A Dlocks.c107 if (LLONG_MAX == fl->fl_end) in ceph_lock_message()
110 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message()
144 fl->fl_end = length -1; in ceph_lock_message()
146 fl->fl_end = 0; in ceph_lock_message()
401 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
/openbmc/linux/fs/dlm/
H A Dplock.c147 op->info.end = fl->fl_end; in dlm_posix_lock()
328 op->info.end = fl->fl_end; in dlm_posix_unlock()
391 info.end = fl->fl_end; in dlm_posix_cancel()
452 op->info.end = fl->fl_end; in dlm_posix_get()
479 fl->fl_end = op->info.end; in dlm_posix_get()
/openbmc/linux/include/linux/lockd/
H A Dlockd.h382 && fl1->fl_end == fl2->fl_end in nlm_compare_locks()
/openbmc/linux/fs/afs/
H A Dflock.c467 fl->fl_start, fl->fl_end, fl->fl_type, mode); in afs_do_setlk()
473 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk()
750 fl->fl_end = OFFSET_MAX; in afs_do_getlk()
773 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock()
/openbmc/linux/fs/nfs/
H A Dproc.c675 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds()
676 end = (__s32)fl->fl_end; in nfs_lock_check_bounds()
677 if ((loff_t)end != fl->fl_end) in nfs_lock_check_bounds()
H A Dfile.c837 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock()
H A Dnfs4trace.h704 __entry->end = request->fl_end;
776 __entry->end = request->fl_end;
/openbmc/linux/include/linux/
H A Dfilelock.h106 loff_t fl_end; member
/openbmc/linux/fs/smb/client/
H A Dsmb2file.c198 __u64 length = 1 + flock->fl_end - flock->fl_start; in smb2_unlock_range()
/openbmc/linux/fs/nfsd/
H A Dnfs4layouts.c198 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
H A Dnfs4state.c5340 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease()
7122 if (lock->fl_end < 0) in nfs4_transform_lock_offset()
7123 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset()
7223 if (fl->fl_end != NFS4_MAX_UINT64) in nfs4_set_lock_denied()
7224 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied()
7617 file_lock->fl_end = last_byte_offset(lock->lk_offset, lock->lk_length); in nfsd4_lock()
7790 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt()
7854 file_lock->fl_end = last_byte_offset(locku->lu_offset, in nfsd4_locku()
/openbmc/linux/fs/smb/server/
H A Dsmb2pdu.c7156 lock->end = flock->fl_end; in smb2_lock_init()
7255 flock->fl_end = flock->fl_start + lock_length; in smb2_lock()
7257 if (flock->fl_end < flock->fl_start) { in smb2_lock()
7260 flock->fl_end, flock->fl_start); in smb2_lock()
7269 cmp_lock->fl->fl_end >= flock->fl_end) { in smb2_lock()
7509 rlock->fl_end = smb_lock->end; in smb2_lock()

12