/Linux-v6.1/fs/ |
D | locks.c | 368 new->fl_start = fl->fl_start; in locks_copy_conflock() 459 fl->fl_start = 0; in flock64_to_posix_lock() 462 fl->fl_start = filp->f_pos; in flock64_to_posix_lock() 465 fl->fl_start = i_size_read(file_inode(filp)); in flock64_to_posix_lock() 470 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 472 fl->fl_start += l->l_start; in flock64_to_posix_lock() 473 if (fl->fl_start < 0) in flock64_to_posix_lock() 479 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 481 fl->fl_end = fl->fl_start + (l->l_len - 1); in flock64_to_posix_lock() 484 if (fl->fl_start + l->l_len < 0) in flock64_to_posix_lock() [all …]
|
/Linux-v6.1/fs/lockd/ |
D | svclock.c | 153 (long long)lock->fl.fl_start, in nlmsvc_lookup_block() 159 (long long)fl->fl_start, in nlmsvc_lookup_block() 485 (long long)lock->fl.fl_start, in nlmsvc_lock() 598 (long long)lock->fl.fl_start, in nlmsvc_testlock() 623 lock->fl.fl_type, (long long)lock->fl.fl_start, in nlmsvc_testlock() 630 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock() 655 (long long)lock->fl.fl_start, in nlmsvc_unlock() 690 (long long)lock->fl.fl_start, in nlmsvc_cancel_blocked() 820 loff_t fl_start, fl_end; in nlmsvc_grant_blocked() local 842 fl_start = lock->fl.fl_start; in nlmsvc_grant_blocked() [all …]
|
D | xdr.c | 94 fl->fl_start = s32_to_loff_t(start); in svcxdr_decode_lock() 116 start = loff_t_to_s32(fl->fl_start); in svcxdr_encode_holder() 120 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in svcxdr_encode_holder()
|
D | clntlock.c | 179 if (fl_blocked->fl_start != fl->fl_start) in nlmclnt_grant()
|
D | clnt4xdr.c | 70 *l_offset = loff_t_to_s64(fl->fl_start); in nlm4_compute_offsets() 74 *l_len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_compute_offsets() 290 fl->fl_start = (loff_t)l_offset; in decode_nlm4_holder()
|
D | clntxdr.c | 66 *l_offset = loff_t_to_s32(fl->fl_start); in nlm_compute_offsets() 70 *l_len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_compute_offsets() 284 fl->fl_start = (loff_t)l_offset; in decode_nlm_holder()
|
D | xdr4.c | 100 start = loff_t_to_s64(fl->fl_start); in svcxdr_encode_holder() 104 len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in svcxdr_encode_holder()
|
D | clntproc.c | 140 lock->fl.fl_start = fl->fl_start; in nlmclnt_setlockargs() 444 fl->fl_start = req->a_res.lock.fl.fl_start; in nlmclnt_test()
|
D | svcsubs.c | 185 lock.fl_start = 0; in nlm_unlock_files()
|
D | svc4proc.c | 57 lock->fl.fl_start = (loff_t)lock->lock_start; in nlm4svc_retrieve_args()
|
/Linux-v6.1/fs/ceph/ |
D | locks.c | 97 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 103 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, in ceph_lock_message() 110 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message() 127 fl->fl_start = le64_to_cpu(req->r_reply_info.filelock_reply->start); in ceph_lock_message() 139 (int)operation, (u64)fl->fl_pid, fl->fl_start, in ceph_lock_message() 387 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock() 388 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
|
/Linux-v6.1/include/trace/events/ |
D | filelock.h | 76 __field(loff_t, fl_start) 90 __entry->fl_start = fl ? fl->fl_start : 0; 100 __entry->fl_start, __entry->fl_end, __entry->ret)
|
D | afs.h | 1309 __entry->from = fl->fl_start; 1310 __entry->len = fl->fl_end - fl->fl_start + 1;
|
/Linux-v6.1/fs/9p/ |
D | vfs_file.c | 163 flock.start = fl->fl_start; in v9fs_file_do_lock() 167 flock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_do_lock() 256 glock.start = fl->fl_start; in v9fs_file_getlock() 260 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 280 fl->fl_start = glock.start; in v9fs_file_getlock()
|
/Linux-v6.1/fs/dlm/ |
D | plock.c | 128 op->info.start = fl->fl_start; in dlm_posix_lock() 283 op->info.start = fl->fl_start; in dlm_posix_unlock() 338 op->info.start = fl->fl_start; in dlm_posix_get() 363 fl->fl_start = op->info.start; in dlm_posix_get()
|
/Linux-v6.1/fs/cifs/ |
D | smb2file.c | 197 __u64 length = 1 + flock->fl_end - flock->fl_start; in smb2_unlock_range() 221 if (flock->fl_start > li->offset || in smb2_unlock_range() 222 (flock->fl_start + length) < in smb2_unlock_range()
|
D | file.c | 1186 flock->fl_start = conf_lock->offset; in cifs_lock_test() 1471 lck->offset = flock->fl_start; in cifs_push_posix_locks() 1602 flock->fl_start, length, flock, in cifs_getlk() 1608 rc = cifs_lock_test(cfile, flock->fl_start, length, type, flock); in cifs_getlk() 1613 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, type, in cifs_getlk() 1616 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 1632 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 1636 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 1711 if (flock->fl_start > li->offset || in cifs_unlock_range() 1712 (flock->fl_start + length) < in cifs_unlock_range() [all …]
|
/Linux-v6.1/include/linux/lockd/ |
D | lockd.h | 378 && fl1->fl_start == fl2->fl_start in nlm_compare_locks()
|
/Linux-v6.1/fs/afs/ |
D | flock.c | 467 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() 749 fl->fl_start = 0; in afs_do_getlk() 773 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock()
|
/Linux-v6.1/fs/nfs/ |
D | proc.c | 671 start = (__s32)fl->fl_start; in nfs_lock_check_bounds() 672 if ((loff_t)start != fl->fl_start) in nfs_lock_check_bounds()
|
D | file.c | 807 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock()
|
D | nfs4xdr.c | 1317 return fl->fl_end - fl->fl_start + 1; in nfs4_lock_length() 1344 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lock() 1366 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lockt() 1380 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_locku() 5046 fl->fl_start = (loff_t)offset; in decode_lock_denied() 5047 fl->fl_end = fl->fl_start + (loff_t)length - 1; in decode_lock_denied()
|
D | nfs4trace.h | 701 __entry->start = request->fl_start; 773 __entry->start = request->fl_start;
|
/Linux-v6.1/fs/ksmbd/ |
D | smb2pdu.c | 6773 lock->start = flock->fl_start; in smb2_lock_init() 6862 flock->fl_start = OFFSET_MAX; in smb2_lock() 6864 flock->fl_start = lock_start; in smb2_lock() 6867 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock() 6868 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock() 6870 flock->fl_end = flock->fl_start + lock_length; in smb2_lock() 6872 if (flock->fl_end < flock->fl_start) { in smb2_lock() 6875 flock->fl_end, flock->fl_start); in smb2_lock() 6882 if (cmp_lock->fl->fl_start <= flock->fl_start && in smb2_lock() 7129 rlock->fl_start = smb_lock->start; in smb2_lock()
|
/Linux-v6.1/fs/nfsd/ |
D | nfs4state.c | 6935 if (lock->fl_start < 0) in nfs4_transform_lock_offset() 6936 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset() 7036 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied() 7039 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied() 7431 file_lock->fl_start = lock->lk_offset; in nfsd4_lock() 7604 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 7667 file_lock->fl_start = locku->lu_offset; in nfsd4_locku()
|