/linux/fs/lockd/ |
H A D | svclock.c | 155 (long long)lock->fl.fl_end, in nlmsvc_lookup_block() 163 (long long)fl->fl_end, fl->c.flc_type, in nlmsvc_lookup_block() 496 (long long)lock->fl.fl_end, in nlmsvc_lock() 623 (long long)lock->fl.fl_end); in nlmsvc_testlock() 648 (long long)lock->fl.fl_end); in nlmsvc_testlock() 655 conflock->fl.fl_end = lock->fl.fl_end; in nlmsvc_testlock() 680 (long long)lock->fl.fl_end); in nlmsvc_unlock() 717 (long long)lock->fl.fl_end); in nlmsvc_cancel_blocked() 847 loff_t fl_start, fl_end; in nlmsvc_grant_blocked() local 870 fl_end = lock->fl.fl_end; in nlmsvc_grant_blocked() [all …]
|
H A D | xdr4.c | 42 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 D | xdr.c | 96 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 D | clntxdr.c | 67 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 D | clntlock.c | 178 if (fl_blocked->fl_end != fl->fl_end) in nlmclnt_grant()
|
H A D | clntproc.c | 145 lock->fl.fl_end = fl->fl_end; in nlmclnt_setlockargs() 450 fl->fl_end = req->a_res.lock.fl.fl_end; in nlmclnt_test()
|
H A D | clnt4xdr.c | 71 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 D | svcsubs.c | 186 lock.fl_end = OFFSET_MAX; in nlm_unlock_files()
|
H A D | svc4proc.c | 59 lock->fl.fl_end = lock->lock_len ? in nlm4svc_retrieve_args()
|
/linux/fs/ |
H A D | locks.c | 404 new->fl_end = fl->fl_end; in locks_copy_conflock() 474 fl->fl_end = OFFSET_MAX; in flock_make_lock() 518 fl->fl_end = fl->fl_start + (l->l_len - 1); in flock64_to_posix_lock() 523 fl->fl_end = fl->fl_start - 1; in flock64_to_posix_lock() 526 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock() 623 return ((fl1->fl_end >= fl2->fl_start) && in locks_overlap() 624 (fl2->fl_end >= fl1->fl_start)); in locks_overlap() 1173 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in posix_lock_inode() 1249 if (fl->fl_end < request->fl_start - 1) in posix_lock_inode() 1254 if (fl->fl_start - 1 > request->fl_end) in posix_lock_inode() [all …]
|
/linux/fs/9p/ |
H A D | vfs_file.c | 150 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock() 153 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()
|
/linux/include/trace/events/ |
H A D | filelock.h | 77 __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 D | afs.h | 1195 __entry->len = fl->fl_end - fl->fl_start + 1;
|
/linux/fs/ceph/ |
H A D | locks.c | 108 if (LLONG_MAX == fl->fl_end) in ceph_lock_message() 111 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 146 fl->fl_end = length -1; in ceph_lock_message() 148 fl->fl_end = 0; in ceph_lock_message() 410 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
|
/linux/fs/dlm/ |
H A D | plock.c | 147 op->info.end = fl->fl_end; in dlm_posix_lock() 324 op->info.end = fl->fl_end; in dlm_posix_unlock() 384 info.end = fl->fl_end; in dlm_posix_cancel() 445 op->info.end = fl->fl_end; in dlm_posix_get() 469 fl->fl_end = op->info.end; in dlm_posix_get()
|
/linux/include/linux/lockd/ |
H A D | lockd.h | 382 && fl1->fl_end == fl2->fl_end in nlm_compare_locks()
|
/linux/fs/afs/ |
H A D | flock.c | 466 fl->fl_start, fl->fl_end, fl->c.flc_type, mode); in afs_do_setlk() 472 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()
|
/linux/fs/nfs/ |
H A D | proc.c | 676 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds() 677 end = (__s32)fl->fl_end; in nfs_lock_check_bounds() 678 if ((loff_t)end != fl->fl_end) in nfs_lock_check_bounds()
|
H A D | file.c | 838 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock()
|
H A D | nfs4trace.h | 734 __entry->end = request->fl_end; 806 __entry->end = request->fl_end;
|
/linux/include/linux/ |
H A D | filelock.h | 115 loff_t fl_end; member
|
/linux/fs/smb/client/ |
H A D | smb2file.c | 198 __u64 length = 1 + flock->fl_end - flock->fl_start; in smb2_unlock_range()
|
/linux/fs/smb/server/ |
H A D | smb2pdu.c | 7155 lock->end = flock->fl_end; in smb2_lock_init() 7254 flock->fl_end = flock->fl_start + lock_length; in smb2_lock() 7256 if (flock->fl_end < flock->fl_start) { in smb2_lock() 7259 flock->fl_end, flock->fl_start); in smb2_lock() 7268 cmp_lock->fl->fl_end >= flock->fl_end) { in smb2_lock() 7508 rlock->fl_end = smb_lock->end; in smb2_lock()
|
/linux/fs/nfsd/ |
H A D | nfs4state.c | 7564 if (lock->fl_end < 0) in nfs4_transform_lock_offset() 7565 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset() 7665 if (fl->fl_end != NFS4_MAX_UINT64) in nfs4_set_lock_denied() 7666 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied() 8064 file_lock->fl_end = last_byte_offset(lock->lk_offset, lock->lk_length); in nfsd4_lock() 8245 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt() 8317 file_lock->fl_end = last_byte_offset(locku->lu_offset, in nfsd4_locku()
|
/linux/fs/fuse/ |
H A D | file.c | 2617 fl->fl_end = ffl->end; in convert_fuse_file_lock() 2647 inarg->lk.end = fl->fl_end; in fuse_lk_fill()
|