Searched refs:mnt_namespace (Results 1 – 16 of 16) sorted by relevance
| /linux-6.15/fs/ |
| H A D | mount.h | 14 struct mnt_namespace { struct 81 struct mnt_namespace *mnt_ns; /* containing namespace */ 139 static inline void get_mnt_ns(struct mnt_namespace *ns) in get_mnt_ns() 147 struct mnt_namespace *ns; 163 static inline bool is_anon_ns(struct mnt_namespace *ns) in is_anon_ns() 173 static inline bool mnt_ns_empty(const struct mnt_namespace *ns) in mnt_ns_empty() 180 struct mnt_namespace *ns = mnt->mnt_ns; in move_from_ns() 192 struct mnt_namespace *get_sequential_mnt_ns(struct mnt_namespace *mnt_ns, 195 static inline struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns() 197 return container_of(ns, struct mnt_namespace, ns); in to_mnt_ns() [all …]
|
| H A D | namespace.c | 227 struct mnt_namespace *ns; in lookup_mnt_ns() 1897 struct mnt_namespace *ns; in umount_tree() 2202 struct mnt_namespace *get_sequential_mnt_ns(struct mnt_namespace *mntns, bool previous) in get_sequential_mnt_ns() 2377 struct mnt_namespace *ns; in dissolve_on_fput() 3618 struct mnt_namespace *ns; in do_move_mount() 4255 struct mnt_namespace *new_ns; in alloc_mnt_ns() 4291 struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, in copy_mnt_ns() 4376 struct mnt_namespace *ns; in mount_subtree() 4480 struct mnt_namespace *ns; in SYSCALL_DEFINE3() 5810 struct mnt_namespace *ns) in do_statmount() [all …]
|
| H A D | nsfs.c | 130 static int copy_ns_info_to_user(const struct mnt_namespace *mnt_ns, in copy_ns_info_to_user() 187 struct mnt_namespace *mnt_ns; in ns_ioctl() 220 mnt_ns = container_of(ns, struct mnt_namespace, ns); in ns_ioctl()
|
| H A D | pnode.h | 55 int count_mounts(struct mnt_namespace *ns, struct mount *mnt);
|
| H A D | proc_namespace.c | 25 struct mnt_namespace *ns = p->ns; in mounts_poll() 243 struct mnt_namespace *ns = NULL; in mounts_open_common()
|
| H A D | d_path.c | 112 struct mnt_namespace *mnt_ns; in __prepend_path()
|
| H A D | pnode.c | 38 struct mnt_namespace *ns, in get_peer_under_root()
|
| /linux-6.15/include/linux/ |
| H A D | mnt_namespace.h | 9 struct mnt_namespace; 14 extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *, 16 extern void put_mnt_ns(struct mnt_namespace *ns); 17 DEFINE_FREE(put_mnt_ns, struct mnt_namespace *, if (!IS_ERR_OR_NULL(_T)) put_mnt_ns(_T)) 18 extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
|
| H A D | nsproxy.h | 9 struct mnt_namespace; 36 struct mnt_namespace *mnt_ns; 51 struct mnt_namespace *: &(__ns->ns), \
|
| H A D | fsnotify.h | 323 static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) in fsnotify_mntns_delete() 536 static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_attach() 541 static inline void fsnotify_mnt_detach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_detach() 546 static inline void fsnotify_mnt_move(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_move()
|
| H A D | fsnotify_backend.h | 331 const struct mnt_namespace *ns; 650 extern void __fsnotify_mntns_delete(struct mnt_namespace *mntns); 653 extern void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt); 952 static inline void __fsnotify_mntns_delete(struct mnt_namespace *mntns) in __fsnotify_mntns_delete() 969 static inline void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt()
|
| H A D | fs_context.h | 21 struct mnt_namespace;
|
| /linux-6.15/fs/notify/ |
| H A D | fsnotify.h | 36 static inline struct mnt_namespace *fsnotify_conn_mntns( in fsnotify_conn_mntns() 98 static inline void fsnotify_clear_marks_by_mntns(struct mnt_namespace *mntns) in fsnotify_clear_marks_by_mntns()
|
| H A D | fdinfo.c | 125 struct mnt_namespace *mnt_ns = fsnotify_conn_mntns(mark->connector); in fanotify_fdinfo()
|
| H A D | fsnotify.c | 31 void __fsnotify_mntns_delete(struct mnt_namespace *mntns) in __fsnotify_mntns_delete() 724 void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt()
|
| H A D | mark.c | 111 return &((struct mnt_namespace *)obj)->n_fsnotify_marks; in fsnotify_object_connp()
|