Home
last modified time | relevance | path

Searched refs:fl_file (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/fs/lockd/
Dsvcsubs.c191 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()
Dclntproc.c136 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()
Dsvclock.c673 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()
Dclntlock.c188 if (nfs_compare_fh(NFS_FH(file_inode(fl_blocked->fl_file)), fh) != 0) in nlmclnt_grant()
Dsvc4proc.c56 lock->fl.fl_file = file->f_file[mode]; in nlm4svc_retrieve_args()
Dsvcproc.c81 lock->fl.fl_file = file->f_file[mode]; in nlmsvc_retrieve_args()
/linux-6.6.21/fs/
Dlocks.c240 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/
Dlockd.h378 return file_inode(fl1->fl_file) == file_inode(fl2->fl_file) in nlm_compare_locks()
/linux-6.6.21/fs/ceph/
Dlocks.c36 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/
Dflock.c125 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/
Dfilelock.h104 struct file *fl_file; member
/linux-6.6.21/fs/nfsd/
Dnfs4layouts.c201 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()
Dfilecache.c670 nfsd_file_close_inode(file_inode(fl->fl_file)); in nfsd_file_lease_notifier_call()
Dnfs4state.c5345 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/
Dsmb2pdu.c6769 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()
Dvfs.c347 if (flock->fl_file != filp) { in check_lock_range()
/linux-6.6.21/fs/nfs/
Ddelegation.c160 if (nfs_file_open_context(fl->fl_file)->state != state) in nfs_delegation_claim_locks()
Dnfs4state.c1533 if (nfs_file_open_context(fl->fl_file)->state != state) in nfs4_reclaim_locks()
Dnfs4proc.c7050 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()