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