Lines Matching refs: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);
148 tmp = lookup_one_unlocked(mnt_idmap(mnt), nbuf, parent, strlen(nbuf));
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);
284 .mnt = path->mnt,
446 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len,
451 const struct export_operations *nop = mnt->mnt_sb->s_export_op;
461 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type);
484 err = reconnect_path(mnt, result, nbuf);
522 target_dir = nop->fh_to_parent(mnt->mnt_sb, fid,
535 err = reconnect_path(mnt, target_dir, nbuf);
546 err = exportfs_get_name(mnt, target_dir, nbuf, result);
553 nresult = lookup_one(mnt_idmap(mnt), nbuf,
594 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
601 ret = exportfs_decode_fh_raw(mnt, fid, fh_len, fileid_type,