Searched refs:mnt_ns (Results 1 – 5 of 5) sorted by relevance
704 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint()801 return mnt->mnt_ns == current->nsproxy->mnt_ns; in check_mnt()933 struct mnt_namespace *n = parent->mnt_ns; in commit_tree()939 m->mnt_ns = n; in commit_tree()1154 if (likely(READ_ONCE(mnt->mnt_ns))) { in mntput_no_expire()1503 ns = p->mnt_ns; in umount_tree()1508 p->mnt_ns = NULL; in umount_tree()1672 return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); in may_mount()1752 struct mnt_namespace *mnt_ns; in mnt_ns_loop() local1756 mnt_ns = to_mnt_ns(get_proc_ns(dentry->d_inode)); in mnt_ns_loop()[all …]
57 struct mnt_namespace *mnt_ns; /* containing namespace */ member88 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns); in is_mounted()
45 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()265 if (m->mnt_ns->user_ns != user_ns) in propagate_one()279 return count_mounts(m->mnt_ns, child); in propagate_one()306 user_ns = current->nsproxy->mnt_ns->user_ns; in propagate_mnt()
16 #define IS_MNT_NEW(m) (!(m)->mnt_ns)
254 if (!nsp || !nsp->mnt_ns) { in mounts_open_common()259 ns = nsp->mnt_ns; in mounts_open_common()