Lines Matching defs:mnt
188 struct path path = { dir->mnt, dentry };
194 * common_perm_mnt_dentry - common permission wrapper when mnt, dentry
196 * @mnt: mount point of dentry (NOT NULL)
202 static int common_perm_mnt_dentry(int op, struct vfsmount *mnt,
205 struct path path = { mnt, dentry };
228 if (!inode || !dir->mnt || !mediated_filesystem(inode))
252 if (!dir->mnt || !mediated_filesystem(dir->dentry->d_inode))
287 if (!path->mnt || !mediated_filesystem(path->dentry->d_inode))
327 struct path old_path = { old_dir->mnt, old_dentry };
328 struct path new_path = { new_dir->mnt, new_dentry };
346 static int apparmor_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
352 return common_perm_mnt_dentry(OP_CHMOD, mnt, dentry, AA_MAY_CHMOD);
367 static int apparmor_inode_getattr(struct vfsmount *mnt, struct dentry *dentry)
372 return common_perm_mnt_dentry(OP_GETATTR, mnt, dentry,
434 if (!file->f_path.mnt ||