Lines Matching refs:fhp
79 extern enum fsid_source fsid_source(struct svc_fh *fhp);
162 extern char * SVCFH_fmt(struct svc_fh *fhp);
189 fh_init(struct svc_fh *fhp, int maxsize)
191 memset(fhp, 0, sizeof(*fhp));
192 fhp->fh_maxsize = maxsize;
193 return fhp;
242 fh_clear_wcc(struct svc_fh *fhp)
244 fhp->fh_post_saved = false;
245 fhp->fh_pre_saved = false;
271 extern void fill_pre_wcc(struct svc_fh *fhp);
272 extern void fill_post_wcc(struct svc_fh *fhp);
288 fh_lock_nested(struct svc_fh *fhp, unsigned int subclass)
290 struct dentry *dentry = fhp->fh_dentry;
295 if (fhp->fh_locked) {
303 fill_pre_wcc(fhp);
304 fhp->fh_locked = true;
308 fh_lock(struct svc_fh *fhp)
310 fh_lock_nested(fhp, I_MUTEX_NORMAL);
317 fh_unlock(struct svc_fh *fhp)
319 if (fhp->fh_locked) {
320 fill_post_wcc(fhp);
321 inode_unlock(d_inode(fhp->fh_dentry));
322 fhp->fh_locked = false;