Lines Matching refs:fhp
5522 static inline __be32 nfs4_check_fh(struct svc_fh *fhp, struct nfs4_stid *stp) in nfs4_check_fh() argument
5524 if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle)) in nfs4_check_fh()
5751 nfs4_check_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfs4_stid *s, in nfs4_check_file() argument
5760 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
5767 status = nfsd_file_acquire(rqstp, fhp, acc, &nf); in nfs4_check_file()
5860 struct nfsd4_compound_state *cstate, struct svc_fh *fhp, in nfs4_preprocess_stateid_op() argument
5864 struct inode *ino = d_inode(fhp->fh_dentry); in nfs4_preprocess_stateid_op()
5877 status = check_special_stateids(net, fhp, stateid, flags); in nfs4_preprocess_stateid_op()
5907 status = nfs4_check_fh(fhp, s); in nfs4_preprocess_stateid_op()
5911 status = nfs4_check_file(rqstp, fhp, s, nfp, flags); in nfs4_preprocess_stateid_op()
6890 static __be32 nfsd_test_lock(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file_lock *lock) in nfsd_test_lock() argument
6895 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf); in nfsd_test_lock()
6898 fh_lock(fhp); /* to block new leases till after test_lock: */ in nfsd_test_lock()
6899 err = nfserrno(nfsd_open_break_lease(fhp->fh_dentry->d_inode, in nfsd_test_lock()
6907 fh_unlock(fhp); in nfsd_test_lock()