Home
last modified time | relevance | path

Searched refs:real_mount (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-6.6/fs/
H A Dnamespace.c344 struct mount *mnt = real_mount(m); in __mnt_want_write()
466 mnt_dec_writers(real_mount(mnt)); in __mnt_drop_write()
634 mnt = real_mount(bastard); in __legitimize_mnt()
1346 struct mount *m = real_mount(mnt); in mntput()
1358 mnt_add_count(real_mount(mnt), 1); in mntget()
1371 real_mount(mnt)->mnt_ns = NULL; in mnt_make_shortterm()
1407 p = clone_mnt(real_mount(path->mnt), path->dentry, CL_PRIVATE); in mnt_clone_internal()
1510 struct mount *mnt = real_mount(m); in may_umount_tree()
1550 if (propagate_mount_busy(real_mount(mnt), 2)) in may_umount()
1871 struct mount *mnt = real_mount(pat in can_umount()
[all...]
H A Dmount.h84 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() function
97 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns); in is_mounted()
H A Dfs_pin.c26 hlist_add_head(&pin->m_list, &real_mount(m)->mnt_pins); in pin_insert()
H A Dproc_namespace.c104 struct mount *r = real_mount(mnt); in show_vfsmnt()
138 struct mount *r = real_mount(mnt); in show_mountinfo()
200 struct mount *r = real_mount(mnt); in show_vfsstat()
H A Dfhandle.c76 if (put_user(real_mount(path->mnt)->mnt_id, mnt_id) || in do_sys_name_to_handle()
H A Dd_path.c172 error = __prepend_path(path->dentry, real_mount(path->mnt), root, &b); in prepend_path()
H A Dstat.c250 stat->mnt_id = real_mount(path.mnt)->mnt_id; in vfs_statx()
H A Dnamei.c1276 struct mount *mnt = real_mount(path->mnt); in follow_up()
1884 if (!choose_mountpoint_rcu(real_mount(nd->path.mnt), in follow_dotdot_rcu()
1924 if (!choose_mountpoint(real_mount(nd->path.mnt), in follow_dotdot()
/kernel/linux/linux-5.10/fs/
H A Dnamespace.c314 struct mount *mnt = real_mount(m); in __mnt_want_write()
381 mnt_inc_writers(real_mount(mnt)); in mnt_clone_write()
432 mnt_dec_writers(real_mount(mnt)); in __mnt_drop_write()
571 mnt = real_mount(bastard); in __legitimize_mnt()
1211 struct mount *m = real_mount(mnt); in mntput()
1223 mnt_add_count(real_mount(mnt), 1); in mntget()
1260 p = clone_mnt(real_mount(path->mnt), path->dentry, CL_PRIVATE); in mnt_clone_internal()
1363 struct mount *mnt = real_mount(m); in may_umount_tree()
1403 if (propagate_mount_busy(real_mount(mnt), 2)) in may_umount()
1719 struct mount *mnt = real_mount(pat in can_umount()
[all...]
H A Dmount.h85 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() function
98 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns); in is_mounted()
H A Dfs_pin.c26 hlist_add_head(&pin->m_list, &real_mount(m)->mnt_pins); in pin_insert()
H A Dproc_namespace.c101 struct mount *r = real_mount(mnt); in show_vfsmnt()
135 struct mount *r = real_mount(mnt); in show_mountinfo()
197 struct mount *r = real_mount(mnt); in show_vfsstat()
H A Dfhandle.c72 if (put_user(real_mount(path->mnt)->mnt_id, mnt_id) || in do_sys_name_to_handle()
H A Dd_path.c98 mnt = real_mount(vfsmnt); in prepend_path()
H A Dstat.c198 stat->mnt_id = real_mount(path.mnt)->mnt_id; in vfs_statx()
H A Dnamei.c1120 struct mount *mnt = real_mount(path->mnt); in follow_up()
1744 if (!choose_mountpoint_rcu(real_mount(nd->path.mnt), in follow_dotdot_rcu()
1784 if (!choose_mountpoint(real_mount(nd->path.mnt), in follow_dotdot()
/kernel/linux/linux-5.10/fs/notify/
H A Dfsnotify.h50 fsnotify_destroy_marks(&real_mount(mnt)->mnt_fsnotify_marks); in fsnotify_clear_marks_by_mount()
H A Dfsnotify.c184 struct mount *mnt = path ? real_mount(path->mnt) : NULL; in __fsnotify_parent()
474 mnt = real_mount(path->mnt); in fsnotify()
/kernel/linux/linux-6.6/fs/notify/
H A Dfsnotify.h65 fsnotify_destroy_marks(&real_mount(mnt)->mnt_fsnotify_marks); in fsnotify_clear_marks_by_mount()
H A Dfsnotify.c182 struct mount *mnt = path ? real_mount(path->mnt) : NULL; in __fsnotify_parent()
495 mnt = real_mount(path->mnt); in fsnotify()
/kernel/linux/linux-5.10/fs/proc/
H A Dfd.c58 real_mount(file->f_path.mnt)->mnt_id); in seq_show()
/kernel/linux/linux-6.6/fs/proc/
H A Dfd.c61 real_mount(file->f_path.mnt)->mnt_id, in seq_show()
/kernel/linux/linux-5.10/fs/notify/fanotify/
H A Dfanotify_user.c780 return fanotify_remove_mark(group, &real_mount(mnt)->mnt_fsnotify_marks, in fanotify_remove_vfsmount_mark()
876 return fanotify_add_mark(group, &real_mount(mnt)->mnt_fsnotify_marks, in fanotify_add_vfsmount_mark()
/kernel/linux/linux-6.6/fs/notify/fanotify/
H A Dfanotify_user.c1113 return fanotify_remove_mark(group, &real_mount(mnt)->mnt_fsnotify_marks, in fanotify_remove_vfsmount_mark()
1332 return fanotify_add_mark(group, &real_mount(mnt)->mnt_fsnotify_marks, in fanotify_add_vfsmount_mark()

Completed in 32 milliseconds