• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/

Lines Matching refs:mnt

255 			(nd && nd->mnt && (nd->mnt->mnt_flags & MNT_NOEXEC))))
351 mntput(nd->mnt);
361 mntput_no_expire(nd->mnt);
512 nd->mnt = mntget(fs->altrootmnt);
519 nd->mnt = mntget(fs->rootmnt);
563 if (path->mnt != nd->mnt)
564 mntput(path->mnt);
570 if (nd->mnt != path->mnt)
571 mntput(nd->mnt);
572 nd->mnt = path->mnt;
582 touch_atime(path->mnt, dentry);
585 if (path->mnt != nd->mnt) {
589 mntget(path->mnt);
601 mntput(path->mnt);
638 int follow_up(struct vfsmount **mnt, struct dentry **dentry)
643 parent=(*mnt)->mnt_parent;
644 if (parent == *mnt) {
649 mountpoint=dget((*mnt)->mnt_mountpoint);
653 mntput(*mnt);
654 *mnt = parent;
665 struct vfsmount *mounted = lookup_mnt(path->mnt, path->dentry);
670 mntput(path->mnt);
671 path->mnt = mounted;
678 static void follow_mount(struct vfsmount **mnt, struct dentry **dentry)
681 struct vfsmount *mounted = lookup_mnt(*mnt, *dentry);
685 mntput(*mnt);
686 *mnt = mounted;
694 int follow_down(struct vfsmount **mnt, struct dentry **dentry)
698 mounted = lookup_mnt(*mnt, *dentry);
701 mntput(*mnt);
702 *mnt = mounted;
719 nd->mnt == fs->rootmnt) {
725 if (nd->dentry != nd->mnt->mnt_root) {
733 parent = nd->mnt->mnt_parent;
734 if (parent == nd->mnt) {
739 nd->dentry = dget(nd->mnt->mnt_mountpoint);
742 mntput(nd->mnt);
743 nd->mnt = parent;
745 follow_mount(&nd->mnt, &nd->dentry);
756 struct vfsmount *mnt = nd->mnt;
764 path->mnt = mnt;
792 * Returns 0 and nd will have valid dentry and mnt on success.
994 mntget(save.mnt);
1000 mntget(nd->mnt);
1006 mntput(save.mnt);
1018 * SMP-safe: Returns 1 and nd will have valid dentry and mnt, if
1028 struct vfsmount *old_mnt = nd->mnt;
1039 nd->mnt = mntget(fs->rootmnt);
1051 nd->mnt = old_mnt;
1062 struct vfsmount *mnt = NULL, *oldmnt;
1071 mnt = nd.mnt;
1078 fs->altrootmnt = mnt;
1103 nd->mnt = mntget(fs->altrootmnt);
1110 nd->mnt = mntget(fs->rootmnt);
1115 nd->mnt = mntget(fs->pwdmnt);
1136 nd->mnt = mntget(file->f_path.mnt);
1547 if (nd->mnt->mnt_flags & MNT_NODEV)
1681 path.mnt = nd->mnt;
1789 path.mnt = nd->mnt;
2323 if (old_nd.mnt != nd.mnt)
2480 if (oldnd.mnt != newnd.mnt)