/Linux-v5.4/fs/ |
D | locks.c | 417 new->fl_end = fl->fl_end; in locks_copy_conflock() 499 fl->fl_end = OFFSET_MAX; in flock_make_lock() 545 fl->fl_end = fl->fl_start + l->l_len - 1; in flock64_to_posix_lock() 550 fl->fl_end = fl->fl_start - 1; in flock64_to_posix_lock() 553 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock() 626 fl->fl_end = OFFSET_MAX; in lease_init() 653 return ((fl1->fl_end >= fl2->fl_start) && in locks_overlap() 654 (fl2->fl_end >= fl1->fl_start)); in locks_overlap() 1133 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() [all …]
|
/Linux-v5.4/fs/lockd/ |
D | svclock.c | 153 (long long)lock->fl.fl_end, lock->fl.fl_type); in nlmsvc_lookup_block() 159 (long long)fl->fl_end, fl->fl_type, in nlmsvc_lookup_block() 499 (long long)lock->fl.fl_end, in nlmsvc_lock() 606 (long long)lock->fl.fl_end); in nlmsvc_testlock() 633 (long long)lock->fl.fl_end); in nlmsvc_testlock() 640 conflock->fl.fl_end = lock->fl.fl_end; in nlmsvc_testlock() 669 (long long)lock->fl.fl_end); in nlmsvc_unlock() 698 (long long)lock->fl.fl_end); in nlmsvc_cancel_blocked() 813 loff_t fl_start, fl_end; in nlmsvc_grant_blocked() local 836 fl_end = lock->fl.fl_end; in nlmsvc_grant_blocked() [all …]
|
D | xdr4.c | 130 fl->fl_end = OFFSET_MAX; in nlm4_decode_lock() 132 fl->fl_end = s64_to_loff_t(end); in nlm4_decode_lock() 160 if (fl->fl_end == OFFSET_MAX) in nlm4_encode_testres() 163 len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_encode_testres() 169 (long long)fl->fl_start, (long long)fl->fl_end); in nlm4_encode_testres()
|
D | xdr.c | 138 fl->fl_end = OFFSET_MAX; in nlm_decode_lock() 140 fl->fl_end = s32_to_loff_t(end); in nlm_decode_lock() 167 if (fl->fl_end == OFFSET_MAX) in nlm_encode_testres() 170 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_encode_testres()
|
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()
|
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() 292 fl->fl_end = OFFSET_MAX; in decode_nlm4_holder() 294 fl->fl_end = (loff_t)end; in decode_nlm4_holder()
|
D | clntlock.c | 181 if (fl_blocked->fl_end != fl->fl_end) in nlmclnt_grant()
|
D | clntproc.c | 141 lock->fl.fl_end = fl->fl_end; in nlmclnt_setlockargs() 445 fl->fl_end = req->a_res.lock.fl.fl_end; in nlmclnt_test()
|
D | svcsubs.c | 190 lock.fl_end = OFFSET_MAX; in nlm_traverse_locks()
|
/Linux-v5.4/include/trace/events/ |
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)
|
D | afs.h | 1154 __entry->len = fl->fl_end - fl->fl_start + 1;
|
/Linux-v5.4/fs/9p/ |
D | vfs_file.c | 169 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock() 172 flock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_do_lock() 262 if (fl->fl_end == OFFSET_MAX) in v9fs_file_getlock() 265 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 287 fl->fl_end = OFFSET_MAX; in v9fs_file_getlock() 289 fl->fl_end = glock.start + glock.length - 1; in v9fs_file_getlock()
|
/Linux-v5.4/fs/ceph/ |
D | locks.c | 94 if (LLONG_MAX == fl->fl_end) in ceph_lock_message() 97 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 131 fl->fl_end = length -1; in ceph_lock_message() 133 fl->fl_end = 0; in ceph_lock_message() 361 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
|
/Linux-v5.4/fs/dlm/ |
D | plock.c | 127 op->info.end = fl->fl_end; in dlm_posix_lock() 277 op->info.end = fl->fl_end; in dlm_posix_unlock() 338 op->info.end = fl->fl_end; in dlm_posix_get() 369 fl->fl_end = op->info.end; in dlm_posix_get()
|
/Linux-v5.4/include/linux/lockd/ |
D | lockd.h | 370 && fl1->fl_end == fl2->fl_end in nlm_compare_locks()
|
/Linux-v5.4/fs/afs/ |
D | flock.c | 478 fl->fl_start, fl->fl_end, fl->fl_type, mode); in afs_do_setlk() 484 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk() 761 fl->fl_end = OFFSET_MAX; in afs_do_getlk() 784 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock()
|
/Linux-v5.4/fs/nfs/ |
D | proc.c | 665 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds() 666 end = (__s32)fl->fl_end; in nfs_lock_check_bounds() 667 if ((loff_t)end != fl->fl_end) in nfs_lock_check_bounds()
|
D | file.c | 774 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock()
|
D | nfs4trace.h | 828 __entry->end = request->fl_end; 900 __entry->end = request->fl_end;
|
D | write.c | 1302 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
|
/Linux-v5.4/fs/cifs/ |
D | smb2file.c | 126 __u64 length = 1 + flock->fl_end - flock->fl_start; in smb2_unlock_range()
|
D | file.c | 1018 flock->fl_end = conf_lock->offset + conf_lock->length - 1; in cifs_lock_test() 1295 length = 1 + flock->fl_end - flock->fl_start; in cifs_push_posix_locks() 1411 __u64 length = 1 + flock->fl_end - flock->fl_start; in cifs_getlk() 1509 __u64 length = 1 + flock->fl_end - flock->fl_start; in cifs_unlock_range() 1613 __u64 length = 1 + flock->fl_end - flock->fl_start; in cifs_setlk() 1717 flock->fl_start, flock->fl_end); in cifs_lock()
|
/Linux-v5.4/fs/nfsd/ |
D | nfs4layouts.c | 197 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
|
D | nfs4state.c | 4790 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease() 6083 if (lock->fl_end < 0) in nfs4_transform_lock_offset() 6084 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset() 6156 if (fl->fl_end != NFS4_MAX_UINT64) in nfs4_set_lock_denied() 6157 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied() 6537 file_lock->fl_end = last_byte_offset(lock->lk_offset, lock->lk_length); in nfsd4_lock() 6692 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt() 6756 file_lock->fl_end = last_byte_offset(locku->lu_offset, in nfsd4_locku()
|
/Linux-v5.4/fs/fuse/ |
D | file.c | 2315 fl->fl_end = ffl->end; in convert_fuse_file_lock() 2345 inarg->lk.end = fl->fl_end; in fuse_lk_fill()
|