Lines Matching defs:mnt
88 error = mnt_want_write(path.mnt);
121 mnt_drop_write(path.mnt);
333 if (path.mnt->mnt_flags & MNT_NOEXEC)
351 if (__mnt_is_readonly(path.mnt))
473 mnt_drop_write(file->f_path.mnt);
492 error = mnt_want_write(path.mnt);
496 error = security_path_chmod(path.dentry, path.mnt, mode);
506 mnt_drop_write(path.mnt);
553 error = mnt_want_write(path.mnt);
557 mnt_drop_write(path.mnt);
578 error = mnt_want_write(path.mnt);
582 mnt_drop_write(path.mnt);
597 error = mnt_want_write(path.mnt);
601 mnt_drop_write(path.mnt);
624 mnt_drop_write(file->f_path.mnt);
638 struct vfsmount *mnt)
653 error = mnt_want_write(mnt);
660 static struct file *__dentry_open(struct dentry *dentry, struct vfsmount *mnt,
672 error = __get_file_write_access(inode, mnt);
681 f->f_path.mnt = mnt;
727 mnt_drop_write(mnt);
732 f->f_path.mnt = NULL;
736 mntput(mnt);
768 nd->intent.open.file = __dentry_open(dget(dentry), mntget(nd->path.mnt),
796 filp = __dentry_open(nd->path.dentry, nd->path.mnt, filp,
804 * dentry_open() will have done dput(dentry) and mntput(mnt) if it returns an
807 struct file *dentry_open(struct dentry *dentry, struct vfsmount *mnt, int flags,
821 if (!mnt) {
831 mntput(mnt);
836 return __dentry_open(dentry, mnt, f, NULL, cred);