Lines Matching refs:mnt
61 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_opts() argument
75 if (mnt->mnt_flags & fs_infop->flag) in show_mnt_opts()
94 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt() argument
97 struct mount *r = real_mount(mnt); in show_vfsmnt()
99 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsmnt()
116 seq_puts(m, __mnt_is_readonly(mnt) ? " ro" : " rw"); in show_vfsmnt()
120 show_mnt_opts(m, mnt); in show_vfsmnt()
122 err = sb->s_op->show_options2(mnt, m, mnt_path.dentry); in show_vfsmnt()
130 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo() argument
133 struct mount *r = real_mount(mnt); in show_mountinfo()
134 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
135 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_mountinfo()
141 err = sb->s_op->show_path(m, mnt->mnt_root); in show_mountinfo()
143 seq_dentry(m, mnt->mnt_root, " \t\n\\"); in show_mountinfo()
153 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw"); in show_mountinfo()
154 show_mnt_opts(m, mnt); in show_mountinfo()
174 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo()
184 err = sb->s_op->show_options2(mnt, m, mnt->mnt_root); in show_mountinfo()
186 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo()
192 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat() argument
195 struct mount *r = real_mount(mnt); in show_vfsstat()
196 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsstat()