Lines Matching refs:mnt
27 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, in exportfs_get_name() argument
31 struct path path = {.mnt = mnt, .dentry = dir}; in exportfs_get_name()
121 static struct dentry *reconnect_one(struct vfsmount *mnt, in reconnect_one() argument
130 if (mnt->mnt_sb->s_export_op->get_parent) in reconnect_one()
131 parent = mnt->mnt_sb->s_export_op->get_parent(dentry); in reconnect_one()
142 err = exportfs_get_name(mnt, parent, nbuf, dentry); in reconnect_one()
212 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path() argument
219 BUG_ON(dentry == mnt->mnt_sb->s_root); in reconnect_path()
222 parent = reconnect_one(mnt, dentry, nbuf); in reconnect_path()
285 .mnt = path->mnt, in get_name()
420 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh() argument
424 const struct export_operations *nop = mnt->mnt_sb->s_export_op; in exportfs_decode_fh()
434 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type); in exportfs_decode_fh()
459 err = reconnect_path(mnt, result, nbuf); in exportfs_decode_fh()
497 target_dir = nop->fh_to_parent(mnt->mnt_sb, fid, in exportfs_decode_fh()
510 err = reconnect_path(mnt, target_dir, nbuf); in exportfs_decode_fh()
521 err = exportfs_get_name(mnt, target_dir, nbuf, result); in exportfs_decode_fh()