| /fs/ |
| A D | locks.c | 403 new->fl_start = fl->fl_start; in locks_copy_conflock() 496 fl->fl_start = 0; in flock64_to_posix_lock() 509 fl->fl_start += l->l_start; in flock64_to_posix_lock() 510 if (fl->fl_start < 0) in flock64_to_posix_lock() 524 fl->fl_start += l->l_len; in flock64_to_posix_lock() 1262 if (fl->fl_start > request->fl_start) in posix_lock_inode() 1263 fl->fl_start = request->fl_start; in posix_lock_inode() 1265 request->fl_start = fl->fl_start; in posix_lock_inode() 1286 if (fl->fl_start < request->fl_start) in posix_lock_inode() 1295 if (fl->fl_start >= request->fl_start) { in posix_lock_inode() [all …]
|
| /fs/lockd/ |
| A D | svclock.c | 153 (long long)lock->fl.fl_start, in nlmsvc_lookup_block() 161 (long long)fl->fl_start, in nlmsvc_lookup_block() 494 (long long)lock->fl.fl_start, in nlmsvc_lock() 621 (long long)lock->fl.fl_start, in nlmsvc_testlock() 646 lock->fl.c.flc_type, (long long)lock->fl.fl_start, in nlmsvc_testlock() 653 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock() 678 (long long)lock->fl.fl_start, in nlmsvc_unlock() 715 (long long)lock->fl.fl_start, in nlmsvc_cancel_blocked() 846 loff_t fl_start, fl_end; in nlmsvc_grant_blocked() local 868 fl_start = lock->fl.fl_start; in nlmsvc_grant_blocked() [all …]
|
| A D | xdr4.c | 40 fl->fl_start = off; in nlm4svc_set_file_lock_range() 110 start = loff_t_to_s64(fl->fl_start); in svcxdr_encode_holder() 114 len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in svcxdr_encode_holder()
|
| A 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()
|
| A D | clntlock.c | 176 if (fl_blocked->fl_start != fl->fl_start) in nlmclnt_grant()
|
| A D | clntxdr.c | 67 *l_offset = loff_t_to_s32(fl->fl_start); in nlm_compute_offsets() 71 *l_len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_compute_offsets() 285 fl->fl_start = (loff_t)l_offset; in decode_nlm_holder()
|
| A D | clntproc.c | 144 lock->fl.fl_start = fl->fl_start; in nlmclnt_setlockargs() 449 fl->fl_start = req->a_res.lock.fl.fl_start; in nlmclnt_test()
|
| A 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()
|
| A D | svcsubs.c | 185 lock.fl_start = 0; in nlm_unlock_files()
|
| A D | svc4proc.c | 59 lock->fl.fl_start = (loff_t)lock->lock_start; in nlm4svc_retrieve_args()
|
| /fs/ceph/ |
| A D | locks.c | 111 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 119 fl->fl_start, length, wait, fl->c.flc_type); in ceph_lock_message() 125 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message() 142 fl->fl_start = le64_to_cpu(req->r_reply_info.filelock_reply->start); in ceph_lock_message() 155 fl->fl_start, length, wait, fl->c.flc_type, err); in ceph_lock_message() 409 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock() 410 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
|
| /fs/9p/ |
| A D | vfs_file.c | 149 flock.start = fl->fl_start; in v9fs_file_do_lock() 153 flock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_do_lock() 243 glock.start = fl->fl_start; in v9fs_file_getlock() 247 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 267 fl->fl_start = glock.start; in v9fs_file_getlock()
|
| /fs/dlm/ |
| A D | plock.c | 146 op->info.start = fl->fl_start; in dlm_posix_lock() 323 op->info.start = fl->fl_start; in dlm_posix_unlock() 383 info.start = fl->fl_start; in dlm_posix_cancel() 444 op->info.start = fl->fl_start; in dlm_posix_get() 468 fl->fl_start = op->info.start; in dlm_posix_get()
|
| /fs/smb/client/ |
| A D | smb2file.c | 266 __u64 length = 1 + flock->fl_end - flock->fl_start; in smb2_unlock_range() 288 if (flock->fl_start > li->offset || in smb2_unlock_range() 289 (flock->fl_start + length) < in smb2_unlock_range()
|
| A D | file.c | 1614 flock->fl_start = conf_lock->offset; in cifs_lock_test() 1901 lck->offset = flock->fl_start; in cifs_push_posix_locks() 2033 flock->fl_start, length, flock, in cifs_getlk() 2039 rc = cifs_lock_test(cfile, flock->fl_start, length, type, flock); in cifs_getlk() 2047 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 2063 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 2163 if (flock->fl_start > li->offset || in cifs_unlock_range() 2164 (flock->fl_start + length) < in cifs_unlock_range() 2264 flock->fl_start, length, in cifs_setlk() 2272 lock = cifs_lock_init(flock->fl_start, length, type, in cifs_setlk() [all …]
|
| A D | cifsglob.h | 2211 return (u64)fl->fl_end - fl->fl_start + 1; in cifs_flock_len()
|
| /fs/afs/ |
| 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() 749 fl->fl_start = 0; in afs_do_getlk() 773 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock()
|
| /fs/nfs/ |
| A D | proc.c | 676 start = (__s32)fl->fl_start; in nfs_lock_check_bounds() 677 if ((loff_t)start != fl->fl_start) in nfs_lock_check_bounds()
|
| A D | file.c | 852 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock()
|
| A 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() 5117 fl->fl_start = (loff_t)offset; in decode_lock_denied() 5118 fl->fl_end = fl->fl_start + (loff_t)length - 1; in decode_lock_denied()
|
| A D | nfs4trace.h | 762 __entry->start = request->fl_start; 834 __entry->start = request->fl_start;
|
| /fs/smb/server/ |
| A D | smb2pdu.c | 7301 lock->start = flock->fl_start; in smb2_lock_init() 7393 flock->fl_start = OFFSET_MAX; in smb2_lock() 7395 flock->fl_start = lock_start; in smb2_lock() 7398 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock() 7399 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock() 7401 flock->fl_end = flock->fl_start + lock_length; in smb2_lock() 7403 if (flock->fl_end < flock->fl_start) { in smb2_lock() 7406 flock->fl_end, flock->fl_start); in smb2_lock() 7414 if (cmp_lock->fl->fl_start <= flock->fl_start && in smb2_lock() 7654 rlock->fl_start = smb_lock->start; in smb2_lock()
|
| A D | vfs.c | 332 if (flock->fl_end >= start && end >= flock->fl_start) { in check_lock_range()
|
| /fs/nfsd/ |
| A D | nfs4state.c | 7827 if (lock->fl_start < 0) in nfs4_transform_lock_offset() 7828 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset() 7928 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied() 7931 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied() 8317 file_lock->fl_start = lock->lk_offset; in nfsd4_lock() 8498 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 8574 file_lock->fl_start = locku->lu_offset; in nfsd4_locku()
|
| /fs/fuse/ |
| A D | file.c | 2371 fl->fl_start = ffl->start; in convert_fuse_file_lock() 2401 inarg->lk.start = fl->fl_start; in fuse_lk_fill()
|