Lines Matching refs:mnt
245 struct vfsmount *mnt; in cifs_dfs_do_refmount() local
256 mnt = vfs_kern_mount(&cifs_fs_type, 0, devname, mountdata); in cifs_dfs_do_refmount()
259 return mnt; in cifs_dfs_do_refmount()
270 err = do_add_mount(newmnt, &nd->path, nd->path.mnt->mnt_flags, mntlist); in add_mount_helper()
274 nd->path.mnt = newmnt; in add_mount_helper()
282 follow_down(&nd->path.mnt, &nd->path.dentry)) in add_mount_helper()
312 struct vfsmount *mnt = ERR_PTR(-ENOENT); in cifs_dfs_follow_mountpoint() local
358 mnt = cifs_dfs_do_refmount(nd->path.mnt, in cifs_dfs_follow_mountpoint()
363 referrals[i].node_name, mnt)); in cifs_dfs_follow_mountpoint()
366 if (!IS_ERR(mnt)) in cifs_dfs_follow_mountpoint()
372 rc = PTR_ERR(mnt); in cifs_dfs_follow_mountpoint()
373 if (IS_ERR(mnt)) in cifs_dfs_follow_mountpoint()
376 nd->path.mnt->mnt_flags |= MNT_SHRINKABLE; in cifs_dfs_follow_mountpoint()
377 rc = add_mount_helper(mnt, nd, &cifs_dfs_automount_list); in cifs_dfs_follow_mountpoint()