/linux-2.6.39/fs/ |
D | locks.c | 211 fl->fl_start = fl->fl_end = 0; in locks_init_lock() 250 new->fl_start = fl->fl_start; in __locks_copy_lock() 360 fl->fl_start = start; /* we record the absolute position */ in flock_to_posix_lock() 361 if (fl->fl_end < fl->fl_start) in flock_to_posix_lock() 406 fl->fl_start = start; /* we record the absolute position */ in flock64_to_posix_lock() 407 if (fl->fl_end < fl->fl_start) in flock64_to_posix_lock() 455 fl->fl_start = 0; in lease_init() 483 return ((fl1->fl_end >= fl2->fl_start) && in locks_overlap() 484 (fl2->fl_end >= fl1->fl_start)); in locks_overlap() 820 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in __posix_lock_file() [all …]
|
/linux-2.6.39/fs/ceph/ |
D | locks.c | 32 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 36 (int)operation, (u64)fl->fl_pid, fl->fl_start, in ceph_lock_message() 47 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message() 62 fl->fl_start = le64_to_cpu(req->r_reply_info.filelock_reply->start); in ceph_lock_message() 74 (int)operation, (u64)fl->fl_pid, fl->fl_start, in ceph_lock_message() 256 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock() 257 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
|
/linux-2.6.39/fs/lockd/ |
D | svclock.c | 123 (long long)lock->fl.fl_start, in nlmsvc_lookup_block() 129 (long long)fl->fl_start, in nlmsvc_lookup_block() 386 (long long)lock->fl.fl_start, in nlmsvc_lock() 493 (long long)lock->fl.fl_start, in nlmsvc_testlock() 554 lock->fl.fl_type, (long long)lock->fl.fl_start, in nlmsvc_testlock() 561 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock() 586 (long long)lock->fl.fl_start, in nlmsvc_unlock() 615 (long long)lock->fl.fl_start, in nlmsvc_cancel_blocked()
|
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 | clnt4xdr.c | 67 BUG_ON(fl->fl_start > NLM4_OFFSET_MAX); in nlm4_compute_offsets() 71 *l_offset = loff_t_to_s64(fl->fl_start); in nlm4_compute_offsets() 75 *l_len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_compute_offsets() 317 fl->fl_start = (loff_t)l_offset; in decode_nlm4_holder()
|
D | clntlock.c | 166 if (fl_blocked->fl_start != fl->fl_start) in nlmclnt_grant()
|
D | clntxdr.c | 63 BUG_ON(fl->fl_start > NLM_OFFSET_MAX); in nlm_compute_offsets() 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() 311 fl->fl_start = (loff_t)l_offset; in decode_nlm_holder()
|
D | xdr.c | 142 fl->fl_start = s32_to_loff_t(start); in nlm_decode_lock() 173 start = loff_t_to_s32(fl->fl_start); in nlm_encode_testres() 177 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_encode_testres()
|
D | clntproc.c | 137 lock->fl.fl_start = fl->fl_start; in nlmclnt_setlockargs() 430 fl->fl_start = req->a_res.lock.fl.fl_start; in nlmclnt_test()
|
D | svcsubs.c | 187 lock.fl_start = 0; in nlm_traverse_locks()
|
/linux-2.6.39/fs/9p/ |
D | vfs_file.c | 173 flock.start = fl->fl_start; in v9fs_file_do_lock() 177 flock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_do_lock() 249 glock.start = fl->fl_start; in v9fs_file_getlock() 253 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 262 fl->fl_start = glock.start; in v9fs_file_getlock() 339 fl->fl_start = 0; in v9fs_file_flock_dotl()
|
/linux-2.6.39/fs/afs/ |
D | flock.c | 263 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_setlk() 449 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_unlk() 501 fl->fl_start = 0; in afs_do_getlk() 522 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock() 558 fl->fl_start = 0; in afs_flock()
|
/linux-2.6.39/fs/dlm/ |
D | plock.c | 99 op->info.start = fl->fl_start; in dlm_posix_lock() 229 op->info.start = fl->fl_start; in dlm_posix_unlock() 281 op->info.start = fl->fl_start; in dlm_posix_get() 312 fl->fl_start = op->info.start; in dlm_posix_get()
|
/linux-2.6.39/include/linux/lockd/ |
D | lockd.h | 353 && fl1->fl_start == fl2->fl_start in nlm_compare_locks()
|
/linux-2.6.39/fs/cifs/ |
D | file.c | 661 length = 1 + pfLock->fl_end - pfLock->fl_start; in cifs_lock() 667 cmd, pfLock->fl_flags, pfLock->fl_type, pfLock->fl_start, in cifs_lock() 735 rc = CIFSSMBLock(xid, tcon, netfid, length, pfLock->fl_start, in cifs_lock() 739 pfLock->fl_start, 1 /* numUnlock */ , in cifs_lock() 756 pfLock->fl_start, 0, 1, in cifs_lock() 761 length, pfLock->fl_start, 1, 0, in cifs_lock() 807 pfLock->fl_start, 0, numLock, lockType, in cifs_lock() 813 pfLock->fl_start, lockType); in cifs_lock() 824 if (pfLock->fl_start <= li->offset && in cifs_lock() 825 (pfLock->fl_start + length) >= in cifs_lock()
|
D | cifssmb.c | 1835 parm_data->start = cpu_to_le64(pLockData->fl_start); in CIFSSMBPosixLock() 1887 pLockData->fl_start = le64_to_cpu(parm_data->start); in CIFSSMBPosixLock() 1888 pLockData->fl_end = pLockData->fl_start + in CIFSSMBPosixLock()
|
/linux-2.6.39/fs/nfs/ |
D | proc.c | 690 start = (__s32)fl->fl_start; in nfs_lock_check_bounds() 691 if ((loff_t)start != fl->fl_start) in nfs_lock_check_bounds()
|
D | file.c | 823 (long long)fl->fl_start, (long long)fl->fl_end); in nfs_lock() 871 fl->fl_start = 0; in nfs_flock()
|
D | nfs4xdr.c | 1118 return fl->fl_end - fl->fl_start + 1; in nfs4_lock_length() 1145 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lock() 1171 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lockt() 1187 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_locku() 4297 fl->fl_start = (loff_t)offset; in decode_lock_denied() 4298 fl->fl_end = fl->fl_start + (loff_t)length - 1; in decode_lock_denied()
|
D | nfs4proc.c | 4495 if (request->fl_start < 0 || request->fl_end < 0) in nfs4_proc_lock()
|
/linux-2.6.39/fs/nfsd/ |
D | nfs4state.c | 3630 if (lock->fl_start < 0) in nfs4_transform_lock_offset() 3631 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset() 3656 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied() 3659 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied() 3892 file_lock.fl_start = lock->lk_offset; in nfsd4_lock() 4008 file_lock.fl_start = lockt->lt_offset; in nfsd4_lockt() 4067 file_lock.fl_start = locku->lu_offset; in nfsd4_locku()
|
/linux-2.6.39/fs/fuse/ |
D | file.c | 1428 fl->fl_start = ffl->start; in convert_fuse_file_lock() 1451 arg->lk.start = fl->fl_start; in fuse_lk_fill()
|
/linux-2.6.39/include/linux/ |
D | fs.h | 1098 loff_t fl_start; member
|