Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/lockd/
A 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()
A Dclntproc.c134 memcpy(&lock->fh, NFS_FH(file_inode(fl->fl_file)), sizeof(struct nfs_fh)); in nlmclnt_setlockargs()
433 status = nlmclnt_call(nfs_file_cred(fl->fl_file), req, NLMPROC_TEST); in nlmclnt_test()
490 return locks_lock_file_wait(fl->fl_file, fl); in do_vfs_lock()
516 const struct cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock()
635 status = nlmclnt_call(nfs_file_cred(fl->fl_file), req, NLMPROC_LOCK); in nlmclnt_reclaim()
685 status = nlmclnt_async_call(nfs_file_cred(fl->fl_file), req, in nlmclnt_unlock()
776 status = nlmclnt_async_call(nfs_file_cred(fl->fl_file), req, in nlmclnt_cancel()
A Dsvclock.c662 lock->fl.fl_file = file->f_file[O_RDONLY]; in nlmsvc_unlock()
663 if (lock->fl.fl_file) in nlmsvc_unlock()
664 error = vfs_lock_file(lock->fl.fl_file, F_SETLK, in nlmsvc_unlock()
666 lock->fl.fl_file = file->f_file[O_WRONLY]; in nlmsvc_unlock()
667 if (lock->fl.fl_file) in nlmsvc_unlock()
668 error |= vfs_lock_file(lock->fl.fl_file, F_SETLK, in nlmsvc_unlock()
A Dclntlock.c191 if (nfs_compare_fh(NFS_FH(file_inode(fl_blocked->fl_file)), fh) != 0) in nlmclnt_grant()
A Dsvc4proc.c56 lock->fl.fl_file = file->f_file[mode]; in nlm4svc_retrieve_args()
A Dsvcproc.c81 lock->fl.fl_file = file->f_file[mode]; in nlmsvc_retrieve_args()
/linux-6.3-rc2/fs/
A 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()
560 fl->fl_file = filp; in lease_init()
880 if (caller_fl->fl_file == sys_fl->fl_file) in flock_locks_conflict()
1035 if (request->fl_file != fl->fl_file) in flock_lock_inode()
2553 lock.fl_file = filp; in locks_remove_posix()
2698 if (fl->fl_file != NULL) in lock_get_status()
[all …]
/linux-6.3-rc2/include/linux/lockd/
A Dlockd.h375 return file_inode(fl1->fl_file) == file_inode(fl2->fl_file) in nlm_compare_locks()
/linux-6.3-rc2/fs/ceph/
A 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.3-rc2/fs/afs/
A 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.3-rc2/include/linux/
A Dfilelock.h104 struct file *fl_file; member
/linux-6.3-rc2/fs/nfsd/
A 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()
A Dfilecache.c783 nfsd_file_close_inode(file_inode(fl->fl_file)); in nfsd_file_lease_notifier_call()
A Dnfs4state.c5335 fl->fl_file = dp->dl_stid.sc_file->fi_deleg_file->nf_file; in nfs4_alloc_init_lease()
7561 file_lock->fl_file = nf->nf_file; in nfsd4_lock()
7672 lock->fl_file = nf->nf_file; in nfsd_test_lock()
7674 lock->fl_file = NULL; in nfsd_test_lock()
7797 file_lock->fl_file = nf->nf_file; in nfsd4_locku()
/linux-6.3-rc2/fs/ksmbd/
A Dsmb2pdu.c6694 fl->fl_file = f; in smb_flock_init()
6917 if (file_inode(cmp_lock->fl->fl_file) != in smb2_lock()
6918 file_inode(smb_lock->fl->fl_file)) in smb2_lock()
6922 if (cmp_lock->fl->fl_file == smb_lock->fl->fl_file && in smb2_lock()
6939 if (cmp_lock->fl->fl_file == smb_lock->fl->fl_file) { in smb2_lock()
A Dvfs.c343 if (flock->fl_file != filp) { in check_lock_range()
/linux-6.3-rc2/fs/nfs/
A Ddelegation.c160 if (nfs_file_open_context(fl->fl_file)->state != state) in nfs_delegation_claim_locks()
A Dnfs4state.c1519 if (nfs_file_open_context(fl->fl_file)->state != state) in nfs4_reclaim_locks()
A Dnfs4proc.c7040 task = nfs4_do_unlck(request, nfs_file_open_context(request->fl_file), lsp, seqid); in nfs4_proc_unlck()
7254 data = nfs4_alloc_lockdata(fl, nfs_file_open_context(fl->fl_file), in _nfs4_do_setlk()

Completed in 81 milliseconds