Lines Matching defs:ns
731 static inline void lock_ns_list(struct mnt_namespace *ns) in lock_ns_list()
736 static inline void unlock_ns_list(struct mnt_namespace *ns) in unlock_ns_list()
763 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint() local
878 static void touch_mnt_namespace(struct mnt_namespace *ns) in touch_mnt_namespace()
889 static void __touch_mnt_namespace(struct mnt_namespace *ns) in __touch_mnt_namespace()
1415 static struct mount *mnt_list_next(struct mnt_namespace *ns, in mnt_list_next()
1490 void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor) in mnt_cursor_del()
1652 struct mnt_namespace *ns; in umount_tree() local
1944 static struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns()
2054 struct mnt_namespace *ns; in dissolve_on_fput() local
2204 int count_mounts(struct mnt_namespace *ns, struct mount *mnt) in count_mounts()
2306 struct mnt_namespace *ns = top_mnt->mnt_ns; in attach_recursive_mnt() local
2651 struct mnt_namespace *ns = alloc_mnt_ns(user_ns, true); in open_detached_copy() local
3120 struct mnt_namespace *ns; in do_move_mount() local
3699 static struct ucounts *inc_mnt_namespaces(struct user_namespace *ns) in inc_mnt_namespaces()
3709 static void free_mnt_ns(struct mnt_namespace *ns) in free_mnt_ns()
3763 struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, in copy_mnt_ns()
3846 struct mnt_namespace *ns; in mount_subtree() local
3951 struct mnt_namespace *ns; in SYSCALL_DEFINE3() local
4517 struct ns_common *ns; in build_mount_idmapped() local
4705 struct mnt_namespace *ns; in init_mount_tree() local
4766 void put_mnt_ns(struct mnt_namespace *ns) in put_mnt_ns()
4841 static bool mnt_already_visible(struct mnt_namespace *ns, in mnt_already_visible()
4913 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in mount_too_revealing() local
4948 struct ns_common *ns = NULL; in mntns_get() local
4962 static void mntns_put(struct ns_common *ns) in mntns_put()
4967 static int mntns_install(struct nsset *nsset, struct ns_common *ns) in mntns_install()
5011 static struct user_namespace *mntns_owner(struct ns_common *ns) in mntns_owner()