Lines Matching refs:mnt_namespace
673 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint()
776 static void touch_mnt_namespace(struct mnt_namespace *ns) in touch_mnt_namespace()
787 static void __touch_mnt_namespace(struct mnt_namespace *ns) in __touch_mnt_namespace()
902 struct mnt_namespace *n = parent->mnt_ns; in commit_tree()
1436 struct mnt_namespace *ns; in umount_tree()
1702 struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns()
1704 return container_of(ns, struct mnt_namespace, ns); in to_mnt_ns()
1712 struct mnt_namespace *mnt_ns; in mnt_ns_loop()
1905 int count_mounts(struct mnt_namespace *ns, struct mount *mnt) in count_mounts()
1996 struct mnt_namespace *ns = dest_mnt->mnt_ns; in attach_recursive_mnt()
2842 static void free_mnt_ns(struct mnt_namespace *ns) in free_mnt_ns()
2859 static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *user_ns) in alloc_mnt_ns()
2861 struct mnt_namespace *new_ns; in alloc_mnt_ns()
2869 new_ns = kmalloc(sizeof(struct mnt_namespace), GFP_KERNEL); in alloc_mnt_ns()
2895 struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, in copy_mnt_ns()
2898 struct mnt_namespace *new_ns; in copy_mnt_ns()
2973 static struct mnt_namespace *create_mnt_ns(struct vfsmount *m) in create_mnt_ns()
2975 struct mnt_namespace *new_ns = alloc_mnt_ns(&init_user_ns); in create_mnt_ns()
2990 struct mnt_namespace *ns; in mount_subtree()
3209 struct mnt_namespace *ns; in init_mount_tree()
3270 void put_mnt_ns(struct mnt_namespace *ns) in put_mnt_ns()
3333 static bool mnt_already_visible(struct mnt_namespace *ns, struct vfsmount *new, in mnt_already_visible()
3399 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in mount_too_revealing()
3456 struct mnt_namespace *mnt_ns = to_mnt_ns(ns), *old_mnt_ns; in mntns_install()