Lines Matching refs:fhp
5712 static inline __be32 nfs4_check_fh(struct svc_fh *fhp, struct nfs4_stid *stp) in nfs4_check_fh() argument
5714 if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle)) in nfs4_check_fh()
5915 nfs4_check_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfs4_stid *s, in nfs4_check_file() argument
5924 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
5931 status = nfsd_file_acquire(rqstp, fhp, acc, &nf); in nfs4_check_file()
6030 struct nfsd4_compound_state *cstate, struct svc_fh *fhp, in nfs4_preprocess_stateid_op() argument
6043 status = check_special_stateids(net, fhp, stateid, flags); in nfs4_preprocess_stateid_op()
6073 status = nfs4_check_fh(fhp, s); in nfs4_preprocess_stateid_op()
6077 status = nfs4_check_file(rqstp, fhp, s, nfp, flags); in nfs4_preprocess_stateid_op()
7049 static __be32 nfsd_test_lock(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file_lock *lock) in nfsd_test_lock() argument
7054 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf); in nfsd_test_lock()
7057 fh_lock(fhp); /* to block new leases till after test_lock: */ in nfsd_test_lock()
7058 err = nfserrno(nfsd_open_break_lease(fhp->fh_dentry->d_inode, in nfsd_test_lock()
7066 fh_unlock(fhp); in nfsd_test_lock()