Home
last modified time | relevance | path

Searched refs:mnt_ns (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/kernel/
H A Dnsproxy.c38 .mnt_ns = NULL,
78 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
79 if (IS_ERR(new_nsp->mnt_ns)) { in create_new_namespaces()
80 err = PTR_ERR(new_nsp->mnt_ns); in create_new_namespaces()
140 if (new_nsp->mnt_ns) in create_new_namespaces()
141 put_mnt_ns(new_nsp->mnt_ns); in create_new_namespaces()
192 if (ns->mnt_ns) in free_nsproxy()
193 put_mnt_ns(ns->mnt_ns); in free_nsproxy()
440 ret = validate_ns(nsset, from_mnt_ns(nsp->mnt_ns)); in validate_nsset()
/openbmc/linux/fs/
H A Dnamespace.c872 return mnt->mnt_ns == current->nsproxy->mnt_ns; in check_mnt()
1037 m->mnt_ns = n; in commit_tree()
1657 ns = p->mnt_ns; in umount_tree()
1662 p->mnt_ns = NULL; in umount_tree()
1964 return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; in mnt_ns_loop()
2668 p->mnt_ns = ns; in open_detached_copy()
3140 ns = old->mnt_ns; in do_move_mount()
3856 mnt->mnt_ns = ns; in mount_subtree()
4037 mnt->mnt_ns = ns; in SYSCALL_DEFINE3()
4716 m->mnt_ns = ns; in init_mount_tree()
[all …]
H A Dd_path.c112 struct mnt_namespace *mnt_ns; in __prepend_path() local
120 mnt_ns = READ_ONCE(mnt->mnt_ns); in __prepend_path()
122 if (!IS_ERR_OR_NULL(mnt_ns) && !is_anon_ns(mnt_ns)) in __prepend_path()
H A Dpnode.h15 #define IS_MNT_NEW(m) (!(m)->mnt_ns || is_anon_ns((m)->mnt_ns))
H A Dmount.h64 struct mnt_namespace *mnt_ns; /* containing namespace */ member
97 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns); in is_mounted()
H A Dpnode.c45 if (m->mnt_ns == ns && is_path_reachable(m, m->mnt.mnt_root, root)) in get_peer_under_root()
65 struct mount *d = get_peer_under_root(m, mnt->mnt_ns, root); in get_dominating_id()
271 return count_mounts(m->mnt_ns, child); in propagate_one()
H A Dproc_namespace.c258 if (!nsp || !nsp->mnt_ns) { in mounts_open_common()
263 ns = nsp->mnt_ns; in mounts_open_common()
/openbmc/linux/include/linux/
H A Dnsproxy.h35 struct mnt_namespace *mnt_ns; member
/openbmc/linux/fs/devpts/
H A Dinode.c247 (current->nsproxy->mnt_ns == init_task.nsproxy->mnt_ns); in parse_mount_options()