Lines Matching refs:fhp
132 extern enum fsid_source fsid_source(const struct svc_fh *fhp);
215 extern char * SVCFH_fmt(struct svc_fh *fhp);
242 fh_init(struct svc_fh *fhp, int maxsize) in fh_init() argument
244 memset(fhp, 0, sizeof(*fhp)); in fh_init()
245 fhp->fh_maxsize = maxsize; in fh_init()
246 return fhp; in fh_init()
292 fh_clear_wcc(struct svc_fh *fhp) in fh_clear_wcc() argument
294 fhp->fh_post_saved = false; in fh_clear_wcc()
295 fhp->fh_pre_saved = false; in fh_clear_wcc()
326 extern void fill_pre_wcc(struct svc_fh *fhp);
327 extern void fill_post_wcc(struct svc_fh *fhp);
343 fh_lock_nested(struct svc_fh *fhp, unsigned int subclass) in fh_lock_nested() argument
345 struct dentry *dentry = fhp->fh_dentry; in fh_lock_nested()
350 if (fhp->fh_locked) { in fh_lock_nested()
358 fill_pre_wcc(fhp); in fh_lock_nested()
359 fhp->fh_locked = true; in fh_lock_nested()
363 fh_lock(struct svc_fh *fhp) in fh_lock() argument
365 fh_lock_nested(fhp, I_MUTEX_NORMAL); in fh_lock()
372 fh_unlock(struct svc_fh *fhp) in fh_unlock() argument
374 if (fhp->fh_locked) { in fh_unlock()
375 fill_post_wcc(fhp); in fh_unlock()
376 inode_unlock(d_inode(fhp->fh_dentry)); in fh_unlock()
377 fhp->fh_locked = false; in fh_unlock()