Lines Matching refs:mnt
64 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_opts() argument
79 if (mnt->mnt_flags & fs_infop->flag) in show_mnt_opts()
83 if (is_idmapped_mnt(mnt)) in show_mnt_opts()
101 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt() argument
104 struct mount *r = real_mount(mnt); in show_vfsmnt()
105 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsmnt()
123 seq_puts(m, __mnt_is_readonly(mnt) ? " ro" : " rw"); in show_vfsmnt()
127 show_mnt_opts(m, mnt); in show_vfsmnt()
135 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo() argument
138 struct mount *r = real_mount(mnt); in show_mountinfo()
139 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
140 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_mountinfo()
146 err = sb->s_op->show_path(m, mnt->mnt_root); in show_mountinfo()
150 seq_dentry(m, mnt->mnt_root, " \t\n\\"); in show_mountinfo()
159 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw"); in show_mountinfo()
160 show_mnt_opts(m, mnt); in show_mountinfo()
180 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo()
191 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo()
197 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat() argument
200 struct mount *r = real_mount(mnt); in show_vfsstat()
201 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsstat()
287 p->cursor.mnt.mnt_flags = MNT_CURSOR; in mounts_open_common()