Lines Matching refs:mnt
64 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt)
79 if (mnt->mnt_flags & fs_infop->flag)
98 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt)
101 struct mount *r = real_mount(mnt);
102 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
120 seq_puts(m, __mnt_is_readonly(mnt) ? " ro" : " rw");
124 show_mnt_opts(m, mnt);
132 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
135 struct mount *r = real_mount(mnt);
136 struct super_block *sb = mnt->mnt_sb;
137 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
143 err = sb->s_op->show_path(m, mnt->mnt_root);
147 seq_dentry(m, mnt->mnt_root, " \t\n\\");
156 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw");
157 show_mnt_opts(m, mnt);
177 err = sb->s_op->show_devname(m, mnt->mnt_root);
188 err = sb->s_op->show_options(m, mnt->mnt_root);
194 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt)
197 struct mount *r = real_mount(mnt);
198 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
284 p->cursor.mnt.mnt_flags = MNT_CURSOR;