Lines Matching defs:mnt_userns
290 static int check_acl(struct user_namespace *mnt_userns, in check_acl()
335 static int acl_permission_check(struct user_namespace *mnt_userns, in acl_permission_check()
396 int generic_permission(struct user_namespace *mnt_userns, struct inode *inode, in generic_permission()
453 static inline int do_inode_permission(struct user_namespace *mnt_userns, in do_inode_permission()
500 int inode_permission(struct user_namespace *mnt_userns, in inode_permission()
1097 struct user_namespace *mnt_userns; in may_follow_link() local
1138 static bool safe_hardlink_source(struct user_namespace *mnt_userns, in safe_hardlink_source()
1181 int may_linkat(struct user_namespace *mnt_userns, const struct path *link) in may_linkat()
1231 static int may_create_in_sticky(struct user_namespace *mnt_userns, in may_create_in_sticky()
1707 static inline int may_lookup(struct user_namespace *mnt_userns, in may_lookup()
2256 struct user_namespace *mnt_userns; in link_path_walk() local
2625 static int lookup_one_common(struct user_namespace *mnt_userns, in lookup_one_common()
2727 struct dentry *lookup_one(struct user_namespace *mnt_userns, const char *name, in lookup_one()
2758 struct dentry *lookup_one_unlocked(struct user_namespace *mnt_userns, in lookup_one_unlocked()
2797 struct dentry *lookup_one_positive_unlocked(struct user_namespace *mnt_userns, in lookup_one_positive_unlocked()
2883 int __check_sticky(struct user_namespace *mnt_userns, struct inode *dir, in __check_sticky()
2916 static int may_delete(struct user_namespace *mnt_userns, struct inode *dir, in may_delete()
2968 static inline int may_create(struct user_namespace *mnt_userns, in may_create()
3068 static inline umode_t vfs_prepare_mode(struct user_namespace *mnt_userns, in vfs_prepare_mode()
3101 int vfs_create(struct user_namespace *mnt_userns, struct inode *dir, in vfs_create()
3149 static int may_open(struct user_namespace *mnt_userns, const struct path *path, in may_open()
3206 static int handle_truncate(struct user_namespace *mnt_userns, struct file *filp) in handle_truncate()
3231 static int may_o_create(struct user_namespace *mnt_userns, in may_o_create()
3322 struct user_namespace *mnt_userns; in lookup_open() local
3516 struct user_namespace *mnt_userns; in do_open() local
3586 static int vfs_tmpfile(struct user_namespace *mnt_userns, in vfs_tmpfile()
3638 struct file *vfs_tmpfile_open(struct user_namespace *mnt_userns, in vfs_tmpfile_open()
3661 struct user_namespace *mnt_userns; in do_tmpfile() local
3890 int vfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in vfs_mknod()
3942 struct user_namespace *mnt_userns; in do_mknodat() local
4016 int vfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in vfs_mkdir()
4059 struct user_namespace *mnt_userns; in do_mkdirat() local
4098 int vfs_rmdir(struct user_namespace *mnt_userns, struct inode *dir, in vfs_rmdir()
4141 struct user_namespace *mnt_userns; in do_rmdir() local
4229 int vfs_unlink(struct user_namespace *mnt_userns, struct inode *dir, in vfs_unlink()
4307 struct user_namespace *mnt_userns; in do_unlinkat() local
4386 int vfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in vfs_symlink()
4427 struct user_namespace *mnt_userns; in do_symlinkat() local
4481 int vfs_link(struct dentry *old_dentry, struct user_namespace *mnt_userns, in vfs_link()
4556 struct user_namespace *mnt_userns; in do_linkat() local