/Linux-v4.19/fs/ |
D | locks.c | 373 new->fl_start = fl->fl_start; in locks_copy_conflock() 460 fl->fl_start = 0; in flock64_to_posix_lock() 463 fl->fl_start = filp->f_pos; in flock64_to_posix_lock() 466 fl->fl_start = i_size_read(file_inode(filp)); in flock64_to_posix_lock() 471 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 473 fl->fl_start += l->l_start; in flock64_to_posix_lock() 474 if (fl->fl_start < 0) in flock64_to_posix_lock() 480 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 482 fl->fl_end = fl->fl_start + l->l_len - 1; in flock64_to_posix_lock() 485 if (fl->fl_start + l->l_len < 0) in flock64_to_posix_lock() [all …]
|
/Linux-v4.19/fs/lockd/ |
D | svclock.c | 152 (long long)lock->fl.fl_start, in nlmsvc_lookup_block() 158 (long long)fl->fl_start, in nlmsvc_lookup_block() 411 (long long)lock->fl.fl_start, in nlmsvc_lock() 517 (long long)lock->fl.fl_start, in nlmsvc_testlock() 541 lock->fl.fl_type, (long long)lock->fl.fl_start, in nlmsvc_testlock() 548 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock() 572 (long long)lock->fl.fl_start, in nlmsvc_unlock() 601 (long long)lock->fl.fl_start, in nlmsvc_cancel_blocked() 735 loff_t fl_start, fl_end; in nlmsvc_grant_blocked() local 757 fl_start = lock->fl.fl_start; in nlmsvc_grant_blocked() [all …]
|
D | xdr4.c | 129 fl->fl_start = s64_to_loff_t(start); in nlm4_decode_lock() 161 start = loff_t_to_s64(fl->fl_start); in nlm4_encode_testres() 165 len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_encode_testres() 171 (long long)fl->fl_start, (long long)fl->fl_end); in nlm4_encode_testres()
|
D | xdr.c | 137 fl->fl_start = s32_to_loff_t(start); in nlm_decode_lock() 168 start = loff_t_to_s32(fl->fl_start); in nlm_encode_testres() 172 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_encode_testres()
|
D | clntlock.c | 178 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() 313 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() 307 fl->fl_start = (loff_t)l_offset; in decode_nlm_holder()
|
D | clntproc.c | 138 lock->fl.fl_start = fl->fl_start; in nlmclnt_setlockargs() 442 fl->fl_start = req->a_res.lock.fl.fl_start; in nlmclnt_test()
|
D | svcsubs.c | 188 lock.fl_start = 0; in nlm_traverse_locks()
|
/Linux-v4.19/fs/ceph/ |
D | locks.c | 93 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 99 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, in ceph_lock_message() 106 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message() 124 fl->fl_start = le64_to_cpu(req->r_reply_info.filelock_reply->start); in ceph_lock_message() 136 (int)operation, (u64)fl->fl_pid, fl->fl_start, in ceph_lock_message() 370 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock() 371 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
|
/Linux-v4.19/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)
|
/Linux-v4.19/fs/cifs/ |
D | smb2file.c | 118 __u64 length = 1 + flock->fl_end - flock->fl_start; in smb2_unlock_range() 140 if (flock->fl_start > li->offset || in smb2_unlock_range() 141 (flock->fl_start + length) < in smb2_unlock_range()
|
D | file.c | 969 flock->fl_start = conf_lock->offset; in cifs_lock_test() 1242 length = 1 + flock->fl_end - flock->fl_start; in cifs_push_posix_locks() 1252 lck->offset = flock->fl_start; in cifs_push_posix_locks() 1358 __u64 length = 1 + flock->fl_end - flock->fl_start; in cifs_getlk() 1377 flock->fl_start, length, flock, in cifs_getlk() 1382 rc = cifs_lock_test(cfile, flock->fl_start, length, type, flock); in cifs_getlk() 1387 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, type, in cifs_getlk() 1390 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 1406 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 1410 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() [all …]
|
/Linux-v4.19/fs/9p/ |
D | vfs_file.c | 182 flock.start = fl->fl_start; in v9fs_file_do_lock() 186 flock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_do_lock() 262 glock.start = fl->fl_start; in v9fs_file_getlock() 266 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 286 fl->fl_start = glock.start; in v9fs_file_getlock()
|
/Linux-v4.19/fs/dlm/ |
D | plock.c | 129 op->info.start = fl->fl_start; in dlm_posix_lock() 279 op->info.start = fl->fl_start; in dlm_posix_unlock() 340 op->info.start = fl->fl_start; in dlm_posix_get() 371 fl->fl_start = op->info.start; in dlm_posix_get()
|
/Linux-v4.19/fs/afs/ |
D | flock.c | 436 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_setlk() 591 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_unlk() 625 fl->fl_start = 0; in afs_do_getlk() 645 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock()
|
/Linux-v4.19/include/linux/lockd/ |
D | lockd.h | 365 && fl1->fl_start == fl2->fl_start in nlm_compare_locks()
|
/Linux-v4.19/fs/nfs/ |
D | proc.c | 658 start = (__s32)fl->fl_start; in nfs_lock_check_bounds() 659 if ((loff_t)start != fl->fl_start) in nfs_lock_check_bounds()
|
D | file.c | 778 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock()
|
D | nfs4trace.h | 601 __entry->start = request->fl_start; 673 __entry->start = request->fl_start;
|
D | nfs4xdr.c | 1305 return fl->fl_end - fl->fl_start + 1; in nfs4_lock_length() 1332 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lock() 1354 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lockt() 1368 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_locku() 5060 fl->fl_start = (loff_t)offset; in decode_lock_denied() 5061 fl->fl_end = fl->fl_start + (loff_t)length - 1; in decode_lock_denied()
|
D | write.c | 1276 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
|
/Linux-v4.19/fs/nfsd/ |
D | nfs4state.c | 5606 if (lock->fl_start < 0) in nfs4_transform_lock_offset() 5607 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset() 5680 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied() 5683 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied() 6062 file_lock->fl_start = lock->lk_offset; in nfsd4_lock() 6217 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 6280 file_lock->fl_start = locku->lu_offset; in nfsd4_locku()
|
/Linux-v4.19/fs/fuse/ |
D | file.c | 2111 fl->fl_start = ffl->start; in convert_fuse_file_lock() 2141 inarg->lk.start = fl->fl_start; in fuse_lk_fill()
|
/Linux-v4.19/include/linux/ |
D | fs.h | 1039 loff_t fl_start; member
|