Symbol: mnt_namespace
fs/d_path.c
112
struct mnt_namespace *mnt_ns;
fs/mount.h
149
static inline void get_mnt_ns(struct mnt_namespace *ns)
fs/mount.h
162
struct mnt_namespace *ns;
fs/mount.h
178
static inline bool is_anon_ns(struct mnt_namespace *ns)
fs/mount.h
185
struct mnt_namespace *ns = READ_ONCE(m->mnt_ns);
fs/mount.h
195
static inline bool mnt_ns_empty(const struct mnt_namespace *ns)
fs/mount.h
202
struct mnt_namespace *ns = mnt->mnt_ns;
fs/mount.h
213
struct mnt_namespace *get_sequential_mnt_ns(struct mnt_namespace *mnt_ns,
fs/mount.h
216
static inline struct mnt_namespace *to_mnt_ns(struct ns_common *ns)
fs/mount.h
218
return container_of(ns, struct mnt_namespace, ns);
fs/mount.h
266
struct mnt_namespace *mnt_ns_from_dentry(struct dentry *dentry);
fs/mount.h
74
struct mnt_namespace *mnt_ns; /* containing namespace */
fs/mount.h
84
struct mnt_namespace *prev_ns; /* previous namespace (NULL if none) */
fs/namespace.c
1075
static void mnt_add_to_ns(struct mnt_namespace *ns, struct mount *mnt)
fs/namespace.c
1135
struct mnt_namespace *n = mnt->mnt_parent->mnt_ns;
fs/namespace.c
129
static void mnt_ns_release(struct mnt_namespace *ns)
fs/namespace.c
138
DEFINE_FREE(mnt_ns_release, struct mnt_namespace *,
fs/namespace.c
143
mnt_ns_release(container_of(rcu, struct mnt_namespace, ns.ns_rcu));
fs/namespace.c
146
static void mnt_ns_tree_remove(struct mnt_namespace *ns)
fs/namespace.c
1484
static struct mount *mnt_find_id_at(struct mnt_namespace *ns, u64 mnt_id)
fs/namespace.c
1508
static struct mount *mnt_find_id_at_reverse(struct mnt_namespace *ns, u64 mnt_id)
fs/namespace.c
1683
static void free_mnt_ns(struct mnt_namespace *);
fs/namespace.c
1689
struct mnt_namespace *ns = emptied_ns;
fs/namespace.c
169
static struct mnt_namespace *lookup_mnt_ns(u64 mnt_ns_id)
fs/namespace.c
171
struct mnt_namespace *mnt_ns;
fs/namespace.c
1799
struct mnt_namespace *ns;
fs/namespace.c
183
mnt_ns = container_of(ns, struct mnt_namespace, ns);
fs/namespace.c
2098
struct ns_common *from_mnt_ns(struct mnt_namespace *mnt)
fs/namespace.c
2103
struct mnt_namespace *get_sequential_mnt_ns(struct mnt_namespace *mntns, bool previous)
fs/namespace.c
2136
struct mnt_namespace *mnt_ns_from_dentry(struct dentry *dentry)
fs/namespace.c
2149
struct mnt_namespace *mnt_ns = mnt_ns_from_dentry(dentry);
fs/namespace.c
2290
static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *, bool);
fs/namespace.c
2466
int count_mounts(struct mnt_namespace *ns, struct mount *mnt)
fs/namespace.c
2566
struct mnt_namespace *ns = dest_mnt->mnt_ns;
fs/namespace.c
2832
struct mnt_namespace *ns = m->mnt_ns;
fs/namespace.c
3033
static struct mnt_namespace *get_detached_copy(const struct path *path, unsigned int flags)
fs/namespace.c
3035
struct mnt_namespace *ns, *mnt_ns = current->nsproxy->mnt_ns, *src_mnt_ns;
fs/namespace.c
3074
struct mnt_namespace *ns = get_detached_copy(path, flags);
fs/namespace.c
3090
static struct mnt_namespace *create_new_namespace(struct path *path, unsigned int flags)
fs/namespace.c
3092
struct mnt_namespace *ns = current->nsproxy->mnt_ns;
fs/namespace.c
3094
struct mnt_namespace *new_ns;
fs/namespace.c
3169
struct mnt_namespace *new_ns;
fs/namespace.c
4185
static void free_mnt_ns(struct mnt_namespace *ns)
fs/namespace.c
4193
static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *user_ns, bool anon)
fs/namespace.c
4195
struct mnt_namespace *new_ns;
fs/namespace.c
4203
new_ns = kzalloc_obj(struct mnt_namespace, GFP_KERNEL_ACCOUNT);
fs/namespace.c
4230
struct mnt_namespace *copy_mnt_ns(u64 flags, struct mnt_namespace *ns,
fs/namespace.c
4233
struct mnt_namespace *new_ns;
fs/namespace.c
4305
struct mnt_namespace *ns;
fs/namespace.c
4410
struct mnt_namespace *ns;
fs/namespace.c
5187
static struct vfsmount *lookup_mnt_in_ns(u64 id, struct mnt_namespace *ns)
fs/namespace.c
5372
static void statmount_mnt_ns_id(struct kstatmount *s, struct mnt_namespace *ns)
fs/namespace.c
5633
static int grab_requested_root(struct mnt_namespace *ns, struct path *root)
fs/namespace.c
5685
struct file *mnt_file, struct mnt_namespace *ns)
fs/namespace.c
5888
static struct mnt_namespace *grab_requested_mnt_ns(const struct mnt_id_req *kreq)
fs/namespace.c
5890
struct mnt_namespace *mnt_ns;
fs/namespace.c
5924
struct mnt_namespace *ns __free(mnt_ns_release) = NULL;
fs/namespace.c
5980
struct mnt_namespace *ns;
fs/namespace.c
5987
struct mnt_namespace *ns = kls->ns;
fs/namespace.c
6059
struct mnt_namespace *ns;
fs/namespace.c
6131
struct mnt_namespace init_mnt_ns = {
fs/namespace.c
6238
void put_mnt_ns(struct mnt_namespace *ns)
fs/namespace.c
6308
static bool mnt_already_visible(struct mnt_namespace *ns,
fs/namespace.c
6371
struct mnt_namespace *ns = current->nsproxy->mnt_ns;
fs/namespace.c
6429
struct mnt_namespace *mnt_ns = to_mnt_ns(ns), *old_mnt_ns;
fs/namespace.c
840
struct mnt_namespace *ns = current->nsproxy->mnt_ns;
fs/namespace.c
86
static struct mnt_namespace *emptied_ns; /* protected by namespace_sem */
fs/namespace.c
965
static void touch_mnt_namespace(struct mnt_namespace *ns)
fs/namespace.c
976
static void __touch_mnt_namespace(struct mnt_namespace *ns)
fs/notify/fanotify/fanotify_user.c
1896
struct mnt_namespace *mntns;
fs/notify/fdinfo.c
131
struct mnt_namespace *mnt_ns = fsnotify_conn_mntns(mark->connector);
fs/notify/fsnotify.c
31
void __fsnotify_mntns_delete(struct mnt_namespace *mntns)
fs/notify/fsnotify.c
694
void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt)
fs/notify/fsnotify.h
101
static inline void fsnotify_clear_marks_by_mntns(struct mnt_namespace *mntns)
fs/notify/fsnotify.h
36
static inline struct mnt_namespace *fsnotify_conn_mntns(
fs/notify/mark.c
112
return &((struct mnt_namespace *)obj)->n_fsnotify_marks;
fs/nsfs.c
149
static int copy_ns_info_to_user(const struct mnt_namespace *mnt_ns,
fs/nsfs.c
220
struct mnt_namespace *mnt_ns;
fs/pnode.c
34
struct mnt_namespace *ns,
fs/pnode.h
61
int count_mounts(struct mnt_namespace *ns, struct mount *mnt);
fs/proc_namespace.c
239
struct mnt_namespace *ns = NULL;
fs/proc_namespace.c
25
struct mnt_namespace *ns = p->ns;
include/linux/fs_context.h
21
struct mnt_namespace;
include/linux/fsnotify.h
298
static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns)
include/linux/fsnotify.h
498
static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt)
include/linux/fsnotify.h
503
static inline void fsnotify_mnt_detach(struct mnt_namespace *ns, struct vfsmount *mnt)
include/linux/fsnotify.h
508
static inline void fsnotify_mnt_move(struct mnt_namespace *ns, struct vfsmount *mnt)
include/linux/fsnotify_backend.h
334
const struct mnt_namespace *ns;
include/linux/fsnotify_backend.h
656
extern void __fsnotify_mntns_delete(struct mnt_namespace *mntns);
include/linux/fsnotify_backend.h
659
extern void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt);
include/linux/fsnotify_backend.h
958
static inline void __fsnotify_mntns_delete(struct mnt_namespace *mntns)
include/linux/fsnotify_backend.h
975
static inline void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt)
include/linux/mnt_namespace.h
14
extern struct mnt_namespace init_mnt_ns;
include/linux/mnt_namespace.h
16
extern struct mnt_namespace *copy_mnt_ns(u64, struct mnt_namespace *,
include/linux/mnt_namespace.h
18
extern void put_mnt_ns(struct mnt_namespace *ns);
include/linux/mnt_namespace.h
19
DEFINE_FREE(put_mnt_ns, struct mnt_namespace *, if (!IS_ERR_OR_NULL(_T)) put_mnt_ns(_T))
include/linux/mnt_namespace.h
20
extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
include/linux/mnt_namespace.h
9
struct mnt_namespace;
include/linux/ns/ns_common_types.h
130
struct mnt_namespace *: &(__ns)->ns, \
include/linux/ns/ns_common_types.h
131
const struct mnt_namespace *: &(__ns)->ns, \
include/linux/ns/ns_common_types.h
14
struct mnt_namespace;
include/linux/ns/ns_common_types.h
147
struct mnt_namespace *: MNT_NS_INIT_INO, \
include/linux/ns/ns_common_types.h
158
struct mnt_namespace *: &init_mnt_ns, \
include/linux/ns/ns_common_types.h
169
struct mnt_namespace *: MNT_NS_INIT_ID, \
include/linux/ns/ns_common_types.h
180
struct mnt_namespace *: &mntns_operations, \
include/linux/ns/ns_common_types.h
191
struct mnt_namespace *: CLONE_NEWNS, \
include/linux/ns/ns_common_types.h
24
extern struct mnt_namespace init_mnt_ns;
include/linux/nsfs.h
33
struct mnt_namespace *: current->nsproxy->mnt_ns, \
include/linux/nsproxy.h
36
struct mnt_namespace *mnt_ns;
include/linux/nsproxy.h
9
struct mnt_namespace;
include/linux/nstree.h
39
struct mnt_namespace *: &(mnt_ns_tree), \