Lines Matching refs:mnt_namespace
652 static inline void lock_ns_list(struct mnt_namespace *ns) in lock_ns_list()
657 static inline void unlock_ns_list(struct mnt_namespace *ns) in unlock_ns_list()
684 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint()
799 static void touch_mnt_namespace(struct mnt_namespace *ns) in touch_mnt_namespace()
810 static void __touch_mnt_namespace(struct mnt_namespace *ns) in __touch_mnt_namespace()
898 struct mnt_namespace *n = parent->mnt_ns; in commit_tree()
1268 static struct mount *mnt_list_next(struct mnt_namespace *ns, in mnt_list_next()
1343 void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor) in mnt_cursor_del()
1505 struct mnt_namespace *ns; in umount_tree()
1792 static struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns()
1794 return container_of(ns, struct mnt_namespace, ns); in to_mnt_ns()
1797 struct ns_common *from_mnt_ns(struct mnt_namespace *mnt) in from_mnt_ns()
1807 struct mnt_namespace *mnt_ns; in mnt_ns_loop()
1897 static void free_mnt_ns(struct mnt_namespace *);
1898 static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *, bool);
1902 struct mnt_namespace *ns; in dissolve_on_fput()
2051 int count_mounts(struct mnt_namespace *ns, struct mount *mnt) in count_mounts()
2143 struct mnt_namespace *ns = dest_mnt->mnt_ns; in attach_recursive_mnt()
2406 struct mnt_namespace *ns = alloc_mnt_ns(user_ns, true); in open_detached_copy()
2684 struct mnt_namespace *ns; in do_move_mount()
3258 static void free_mnt_ns(struct mnt_namespace *ns) in free_mnt_ns()
3276 static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *user_ns, bool anon) in alloc_mnt_ns()
3278 struct mnt_namespace *new_ns; in alloc_mnt_ns()
3286 new_ns = kzalloc(sizeof(struct mnt_namespace), GFP_KERNEL_ACCOUNT); in alloc_mnt_ns()
3312 struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, in copy_mnt_ns()
3315 struct mnt_namespace *new_ns; in copy_mnt_ns()
3394 struct mnt_namespace *ns; in mount_subtree()
3469 struct mnt_namespace *ns; in SYSCALL_DEFINE3()
3813 struct mnt_namespace *ns; in init_mount_tree()
3874 void put_mnt_ns(struct mnt_namespace *ns) in put_mnt_ns()
3950 static bool mnt_already_visible(struct mnt_namespace *ns, in mnt_already_visible()
4022 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in mount_too_revealing()
4080 struct mnt_namespace *mnt_ns = to_mnt_ns(ns), *old_mnt_ns; in mntns_install()