/linux-4.1.27/fs/ |
D | locks.c | 324 new->fl_start = fl->fl_start; in locks_copy_conflock() 411 fl->fl_start = 0; in flock64_to_posix_lock() 414 fl->fl_start = filp->f_pos; in flock64_to_posix_lock() 417 fl->fl_start = i_size_read(file_inode(filp)); in flock64_to_posix_lock() 422 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 424 fl->fl_start += l->l_start; in flock64_to_posix_lock() 425 if (fl->fl_start < 0) in flock64_to_posix_lock() 431 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 433 fl->fl_end = fl->fl_start + l->l_len - 1; in flock64_to_posix_lock() 436 if (fl->fl_start + l->l_len < 0) in flock64_to_posix_lock() [all …]
|
/linux-4.1.27/fs/lockd/ |
D | svclock.c | 151 (long long)lock->fl.fl_start, in nlmsvc_lookup_block() 157 (long long)fl->fl_start, in nlmsvc_lookup_block() 410 (long long)lock->fl.fl_start, in nlmsvc_lock() 516 (long long)lock->fl.fl_start, in nlmsvc_testlock() 540 lock->fl.fl_type, (long long)lock->fl.fl_start, in nlmsvc_testlock() 547 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock() 571 (long long)lock->fl.fl_start, in nlmsvc_unlock() 600 (long long)lock->fl.fl_start, in nlmsvc_cancel_blocked() 734 loff_t fl_start, fl_end; in nlmsvc_grant_blocked() local 756 fl_start = lock->fl.fl_start; in nlmsvc_grant_blocked() [all …]
|
D | xdr4.c | 128 fl->fl_start = s64_to_loff_t(start); in nlm4_decode_lock() 160 start = loff_t_to_s64(fl->fl_start); in nlm4_encode_testres() 164 len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_encode_testres() 170 (long long)fl->fl_start, (long long)fl->fl_end); in nlm4_encode_testres()
|
D | xdr.c | 136 fl->fl_start = s32_to_loff_t(start); in nlm_decode_lock() 167 start = loff_t_to_s32(fl->fl_start); in nlm_encode_testres() 171 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_encode_testres()
|
D | clntlock.c | 177 if (fl_blocked->fl_start != fl->fl_start) in nlmclnt_grant()
|
D | clntxdr.c | 65 *l_offset = loff_t_to_s32(fl->fl_start); in nlm_compute_offsets() 69 *l_len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_compute_offsets() 306 fl->fl_start = (loff_t)l_offset; in decode_nlm_holder()
|
D | clnt4xdr.c | 69 *l_offset = loff_t_to_s64(fl->fl_start); in nlm4_compute_offsets() 73 *l_len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_compute_offsets() 312 fl->fl_start = (loff_t)l_offset; in decode_nlm4_holder()
|
D | clntproc.c | 138 lock->fl.fl_start = fl->fl_start; in nlmclnt_setlockargs() 432 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-4.1.27/fs/ceph/ |
D | locks.c | 59 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 65 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, in ceph_lock_message() 72 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message() 90 fl->fl_start = le64_to_cpu(req->r_reply_info.filelock_reply->start); in ceph_lock_message() 102 (int)operation, (u64)fl->fl_pid, fl->fl_start, in ceph_lock_message() 359 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock() 360 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
|
/linux-4.1.27/fs/cifs/ |
D | smb2file.c | 100 __u64 length = 1 + flock->fl_end - flock->fl_start; in smb2_unlock_range() 122 if (flock->fl_start > li->offset || in smb2_unlock_range() 123 (flock->fl_start + length) < in smb2_unlock_range()
|
D | file.c | 910 flock->fl_start = conf_lock->offset; in cifs_lock_test() 1175 length = 1 + flock->fl_end - flock->fl_start; in cifs_push_posix_locks() 1185 lck->offset = flock->fl_start; in cifs_push_posix_locks() 1291 __u64 length = 1 + flock->fl_end - flock->fl_start; in cifs_getlk() 1309 flock->fl_start, length, flock, in cifs_getlk() 1314 rc = cifs_lock_test(cfile, flock->fl_start, length, type, flock); in cifs_getlk() 1319 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, type, in cifs_getlk() 1322 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 1338 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() 1342 rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, in cifs_getlk() [all …]
|
D | cifssmb.c | 2505 pLockData->fl_start = le64_to_cpu(parm_data->start); in CIFSSMBPosixLock() 2506 pLockData->fl_end = pLockData->fl_start + in CIFSSMBPosixLock()
|
/linux-4.1.27/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() 261 glock.start = fl->fl_start; in v9fs_file_getlock() 265 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 285 fl->fl_start = glock.start; in v9fs_file_getlock()
|
/linux-4.1.27/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-4.1.27/fs/afs/ |
D | flock.c | 264 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_setlk() 450 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_unlk() 502 fl->fl_start = 0; in afs_do_getlk() 523 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock()
|
/linux-4.1.27/include/linux/lockd/ |
D | lockd.h | 356 && fl1->fl_start == fl2->fl_start in nlm_compare_locks()
|
/linux-4.1.27/fs/nfs/ |
D | proc.c | 650 start = (__s32)fl->fl_start; in nfs_lock_check_bounds() 651 if ((loff_t)start != fl->fl_start) in nfs_lock_check_bounds()
|
D | file.c | 870 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock()
|
D | nfs4trace.h | 534 __entry->start = request->fl_start;
|
D | nfs4xdr.c | 1275 return fl->fl_end - fl->fl_start + 1; in nfs4_lock_length() 1302 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lock() 1324 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lockt() 1338 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_locku() 4831 fl->fl_start = (loff_t)offset; in decode_lock_denied() 4832 fl->fl_end = fl->fl_start + (loff_t)length - 1; in decode_lock_denied()
|
D | write.c | 1180 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
|
D | nfs4proc.c | 5979 if (request->fl_start < 0 || request->fl_end < 0) in nfs4_proc_lock()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_flock.c | 698 getlk->fl_start = (loff_t)lock->l_policy_data.l_flock.start; in ldlm_flock_completion_ast()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4state.c | 5157 if (lock->fl_start < 0) in nfs4_transform_lock_offset() 5158 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset() 5207 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied() 5210 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied() 5558 file_lock->fl_start = lock->lk_offset; in nfsd4_lock() 5694 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 5756 file_lock->fl_start = locku->lu_offset; in nfsd4_locku()
|
/linux-4.1.27/fs/fuse/ |
D | file.c | 2084 fl->fl_start = ffl->start; in convert_fuse_file_lock() 2107 inarg->lk.start = fl->fl_start; in fuse_lk_fill()
|
/linux-4.1.27/include/linux/ |
D | fs.h | 976 loff_t fl_start; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | file.c | 2708 flock.l_flock.start = file_lock->fl_start; in ll_file_flock()
|