Home
last modified time | relevance | path

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

/linux/fs/lockd/
A Dsvcsubs.c191 lock.c.flc_file = file->f_file[O_RDONLY]; in nlm_unlock_files()
192 if (lock.c.flc_file && vfs_lock_file(lock.c.flc_file, F_SETLK, &lock, NULL)) in nlm_unlock_files()
194 lock.c.flc_file = file->f_file[O_WRONLY]; in nlm_unlock_files()
195 if (lock.c.flc_file && vfs_lock_file(lock.c.flc_file, F_SETLK, &lock, NULL)) in nlm_unlock_files()
A Dclntproc.c136 memcpy(&lock->fh, NFS_FH(file_inode(fl->c.flc_file)), in nlmclnt_setlockargs()
436 status = nlmclnt_call(nfs_file_cred(fl->c.flc_file), req, in nlmclnt_test()
498 return locks_lock_file_wait(fl->c.flc_file, fl); in do_vfs_lock()
524 const struct cred *cred = nfs_file_cred(fl->c.flc_file); in nlmclnt_lock()
657 status = nlmclnt_call(nfs_file_cred(fl->c.flc_file), req, in nlmclnt_reclaim()
709 status = nlmclnt_async_call(nfs_file_cred(fl->c.flc_file), req, in nlmclnt_unlock()
803 status = nlmclnt_async_call(nfs_file_cred(fl->c.flc_file), req, in nlmclnt_cancel()
A Dsvclock.c686 lock->fl.c.flc_file = file->f_file[O_RDONLY]; in nlmsvc_unlock()
687 if (lock->fl.c.flc_file) in nlmsvc_unlock()
688 error = vfs_lock_file(lock->fl.c.flc_file, F_SETLK, in nlmsvc_unlock()
690 lock->fl.c.flc_file = file->f_file[O_WRONLY]; in nlmsvc_unlock()
691 if (lock->fl.c.flc_file) in nlmsvc_unlock()
692 error |= vfs_lock_file(lock->fl.c.flc_file, F_SETLK, in nlmsvc_unlock()
999 error = vfs_lock_file(fl->c.flc_file, F_SETLK, fl, NULL); in nlmsvc_grant_reply()
A Dclntlock.c188 if (nfs_compare_fh(NFS_FH(file_inode(fl_blocked->c.flc_file)), fh) != 0) in nlmclnt_grant()
A Dsvc4proc.c56 lock->fl.c.flc_file = file->f_file[mode]; in nlm4svc_retrieve_args()
A Dsvcproc.c81 lock->fl.c.flc_file = file->f_file[mode]; in nlmsvc_retrieve_args()
/linux/fs/
A Dlocks.c243 if (flc->flc_file == filp) in locks_check_ctx_file_list()
400 new->c.flc_file = NULL; in locks_copy_conflock()
422 new->c.flc_file = fl->c.flc_file; in locks_copy_lock()
469 fl->c.flc_file = filp; in flock_make_lock()
530 fl->c.flc_file = filp; in flock64_to_posix_lock()
596 fl->c.flc_file = filp; in lease_init()
945 if (caller_flc->flc_file == sys_flc->flc_file) in flock_locks_conflict()
1102 if (request->c.flc_file != fl->c.flc_file) in flock_lock_inode()
2632 lock.c.flc_file = filp; in locks_remove_posix()
2778 if (flc->flc_file != NULL) in lock_get_status()
[all …]
/linux/include/linux/lockd/
A Dlockd.h378 return file_inode(fl1->c.flc_file) == file_inode(fl2->c.flc_file) in nlm_compare_locks()
/linux/fs/ceph/
A Dlocks.c36 struct inode *inode = file_inode(dst->c.flc_file); in ceph_fl_copy_lock()
329 doutc(cl, "fl_file: %p\n", fl->c.flc_file); in ceph_flock()
/linux/fs/afs/
A Dflock.c125 afs_file_key(p->c.flc_file) == key) { in afs_next_locker()
846 struct afs_vnode *vnode = AFS_FS_I(file_inode(fl->c.flc_file)); in afs_fl_copy_lock()
864 struct afs_vnode *vnode = AFS_FS_I(file_inode(fl->c.flc_file)); in afs_fl_release_private()
/linux/fs/nfsd/
A Dnfs4layouts.c215 fl->c.flc_file = ls->ls_file->nf_file; in nfsd4_layout_setlease()
217 status = kernel_setlease(fl->c.flc_file, fl->c.flc_type, &fl, NULL); in nfsd4_layout_setlease()
A Dfilecache.c703 nfsd_file_close_inode(file_inode(fl->c.flc_file)); in nfsd_file_lease_notifier_call()
A Dnfs4state.c5685 fl->c.flc_file = dp->dl_stid.sc_file->fi_deleg_file->nf_file; in nfs4_alloc_init_lease()
8060 file_lock->c.flc_file = nf->nf_file; in nfsd4_lock()
8179 lock->c.flc_file = nf->nf_file; in nfsd_test_lock()
8181 lock->c.flc_file = NULL; in nfsd_test_lock()
8312 file_lock->c.flc_file = nf->nf_file; in nfsd4_locku()
/linux/include/linux/
A Dfilelock.h109 struct file *flc_file; member
/linux/fs/smb/server/
A Dsmb2pdu.c7093 fl->c.flc_file = f; in smb_flock_init()
7318 if (file_inode(cmp_lock->fl->c.flc_file) != in smb2_lock()
7319 file_inode(smb_lock->fl->c.flc_file)) in smb2_lock()
7323 if (cmp_lock->fl->c.flc_file == smb_lock->fl->c.flc_file && in smb2_lock()
7340 if (cmp_lock->fl->c.flc_file == smb_lock->fl->c.flc_file) { in smb2_lock()
A Dvfs.c351 if (flock->c.flc_file != filp) { in check_lock_range()
/linux/fs/nfs/
A Ddelegation.c163 if (nfs_file_open_context(fl->c.flc_file)->state != state) in nfs_delegation_claim_locks()
A Dnfs4state.c1521 if (nfs_file_open_context(fl->c.flc_file)->state != state) in nfs4_reclaim_locks()
A Dnfs4proc.c7230 nfs_file_open_context(request->c.flc_file), in nfs4_proc_unlck()
7451 nfs_file_open_context(fl->c.flc_file), in _nfs4_do_setlk()

Completed in 94 milliseconds