/linux-6.6.21/fs/lockd/ |
D | svcsubs.c | 191 lock.fl_file = file->f_file[O_RDONLY]; in nlm_unlock_files() 192 if (lock.fl_file && vfs_lock_file(lock.fl_file, F_SETLK, &lock, NULL)) in nlm_unlock_files() 194 lock.fl_file = file->f_file[O_WRONLY]; in nlm_unlock_files() 195 if (lock.fl_file && vfs_lock_file(lock.fl_file, F_SETLK, &lock, NULL)) in nlm_unlock_files()
|
D | clntproc.c | 136 memcpy(&lock->fh, NFS_FH(file_inode(fl->fl_file)), sizeof(struct nfs_fh)); in nlmclnt_setlockargs() 435 status = nlmclnt_call(nfs_file_cred(fl->fl_file), req, NLMPROC_TEST); in nlmclnt_test() 495 return locks_lock_file_wait(fl->fl_file, fl); in do_vfs_lock() 521 const struct cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock() 654 status = nlmclnt_call(nfs_file_cred(fl->fl_file), req, NLMPROC_LOCK); in nlmclnt_reclaim() 704 status = nlmclnt_async_call(nfs_file_cred(fl->fl_file), req, in nlmclnt_unlock() 798 status = nlmclnt_async_call(nfs_file_cred(fl->fl_file), req, in nlmclnt_cancel()
|
D | svclock.c | 673 lock->fl.fl_file = file->f_file[O_RDONLY]; in nlmsvc_unlock() 674 if (lock->fl.fl_file) in nlmsvc_unlock() 675 error = vfs_lock_file(lock->fl.fl_file, F_SETLK, in nlmsvc_unlock() 677 lock->fl.fl_file = file->f_file[O_WRONLY]; in nlmsvc_unlock() 678 if (lock->fl.fl_file) in nlmsvc_unlock() 679 error |= vfs_lock_file(lock->fl.fl_file, F_SETLK, in nlmsvc_unlock() 986 error = vfs_lock_file(fl->fl_file, F_SETLK, fl, NULL); in nlmsvc_grant_reply()
|
D | clntlock.c | 188 if (nfs_compare_fh(NFS_FH(file_inode(fl_blocked->fl_file)), fh) != 0) in nlmclnt_grant()
|
D | svc4proc.c | 56 lock->fl.fl_file = file->f_file[mode]; in nlm4svc_retrieve_args()
|
D | svcproc.c | 81 lock->fl.fl_file = file->f_file[mode]; in nlmsvc_retrieve_args()
|
/linux-6.6.21/fs/ |
D | locks.c | 240 if (fl->fl_file == filp) in locks_check_ctx_file_list() 366 new->fl_file = NULL; in locks_copy_conflock() 388 new->fl_file = fl->fl_file; in locks_copy_lock() 433 fl->fl_file = filp; in flock_make_lock() 494 fl->fl_file = filp; in flock64_to_posix_lock() 529 struct file *filp = fl->fl_file; in lease_setup() 560 fl->fl_file = filp; in lease_init() 895 if (caller_fl->fl_file == sys_fl->fl_file) in flock_locks_conflict() 1050 if (request->fl_file != fl->fl_file) in flock_lock_inode() 1398 struct file *filp = fl->fl_file; in lease_modify() [all …]
|
/linux-6.6.21/include/linux/lockd/ |
D | lockd.h | 378 return file_inode(fl1->fl_file) == file_inode(fl2->fl_file) in nlm_compare_locks()
|
/linux-6.6.21/fs/ceph/ |
D | locks.c | 36 struct inode *inode = file_inode(dst->fl_file); in ceph_fl_copy_lock() 325 dout("ceph_flock, fl_file: %p\n", fl->fl_file); in ceph_flock()
|
/linux-6.6.21/fs/afs/ |
D | flock.c | 125 afs_file_key(p->fl_file) == key) { in afs_next_locker() 846 struct afs_vnode *vnode = AFS_FS_I(file_inode(fl->fl_file)); in afs_fl_copy_lock() 864 struct afs_vnode *vnode = AFS_FS_I(file_inode(fl->fl_file)); in afs_fl_release_private()
|
/linux-6.6.21/include/linux/ |
D | filelock.h | 104 struct file *fl_file; member
|
/linux-6.6.21/fs/nfsd/ |
D | nfs4layouts.c | 201 fl->fl_file = ls->ls_file->nf_file; in nfsd4_layout_setlease() 203 status = vfs_setlease(fl->fl_file, fl->fl_type, &fl, NULL); in nfsd4_layout_setlease()
|
D | filecache.c | 670 nfsd_file_close_inode(file_inode(fl->fl_file)); in nfsd_file_lease_notifier_call()
|
D | nfs4state.c | 5345 fl->fl_file = dp->dl_stid.sc_file->fi_deleg_file->nf_file; in nfs4_alloc_init_lease() 7615 file_lock->fl_file = nf->nf_file; in nfsd4_lock() 7726 lock->fl_file = nf->nf_file; in nfsd_test_lock() 7728 lock->fl_file = NULL; in nfsd_test_lock() 7851 file_lock->fl_file = nf->nf_file; in nfsd4_locku()
|
/linux-6.6.21/fs/smb/server/ |
D | smb2pdu.c | 6769 fl->fl_file = f; in smb_flock_init() 6994 if (file_inode(cmp_lock->fl->fl_file) != in smb2_lock() 6995 file_inode(smb_lock->fl->fl_file)) in smb2_lock() 6999 if (cmp_lock->fl->fl_file == smb_lock->fl->fl_file && in smb2_lock() 7016 if (cmp_lock->fl->fl_file == smb_lock->fl->fl_file) { in smb2_lock()
|
D | vfs.c | 347 if (flock->fl_file != filp) { in check_lock_range()
|
/linux-6.6.21/fs/nfs/ |
D | delegation.c | 160 if (nfs_file_open_context(fl->fl_file)->state != state) in nfs_delegation_claim_locks()
|
D | nfs4state.c | 1533 if (nfs_file_open_context(fl->fl_file)->state != state) in nfs4_reclaim_locks()
|
D | nfs4proc.c | 7050 task = nfs4_do_unlck(request, nfs_file_open_context(request->fl_file), lsp, seqid); in nfs4_proc_unlck() 7269 data = nfs4_alloc_lockdata(fl, nfs_file_open_context(fl->fl_file), in _nfs4_do_setlk()
|