Searched refs:mntns (Results 1 – 7 of 7) sorted by relevance
| /linux/samples/vfs/ |
| H A D | mountinfo.c | 214 int pidfd, mntns, ret, opt; in main() local 243 mntns = ioctl(pidfd, PIDFD_GET_MNT_NAMESPACE, NULL); in main() 244 if (mntns < 0) { in main() 251 ret = ioctl(mntns, NS_MNT_GET_INFO, &mni); in main() 268 ret = ioctl(mntns, NS_MNT_GET_NEXT, &mni); in main() 269 close(mntns); in main() 270 mntns = ret; in main() 271 } while (mntns >= 0); in main()
|
| /linux/fs/notify/ |
| H A D | fsnotify.h | 98 static inline void fsnotify_clear_marks_by_mntns(struct mnt_namespace *mntns) in fsnotify_clear_marks_by_mntns() argument 100 fsnotify_destroy_marks(&mntns->n_fsnotify_marks); in fsnotify_clear_marks_by_mntns()
|
| H A D | fsnotify.c | 31 void __fsnotify_mntns_delete(struct mnt_namespace *mntns) in __fsnotify_mntns_delete() argument 33 fsnotify_clear_marks_by_mntns(mntns); in __fsnotify_mntns_delete()
|
| /linux/include/linux/ |
| H A D | fsnotify.h | 298 static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) in fsnotify_mntns_delete() argument 300 __fsnotify_mntns_delete(mntns); in fsnotify_mntns_delete()
|
| H A D | fsnotify_backend.h | 653 extern void __fsnotify_mntns_delete(struct mnt_namespace *mntns); 955 static inline void __fsnotify_mntns_delete(struct mnt_namespace *mntns) in __fsnotify_mntns_delete() argument
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 1912 struct mnt_namespace *mntns; in do_fanotify_mark() local 2105 mntns = mnt_ns_from_dentry(path.dentry); in do_fanotify_mark() 2106 if (!mntns) in do_fanotify_mark() 2108 user_ns = mntns->user_ns; in do_fanotify_mark() 2109 obj = mntns; in do_fanotify_mark()
|
| /linux/fs/ |
| H A D | namespace.c | 2102 struct mnt_namespace *get_sequential_mnt_ns(struct mnt_namespace *mntns, bool previous) in get_sequential_mnt_ns() argument 2109 ns = ns_tree_adjoined_rcu(mntns, previous); in get_sequential_mnt_ns() 2113 mntns = to_mnt_ns(ns); in get_sequential_mnt_ns() 2120 if (!ns_capable_noaudit(mntns->user_ns, CAP_SYS_ADMIN)) in get_sequential_mnt_ns() 2128 if (!ns_ref_get(mntns)) in get_sequential_mnt_ns() 2131 return mntns; in get_sequential_mnt_ns()
|