Lines Matching refs:sb
41 static int show_sb_opts(struct seq_file *m, struct super_block *sb) in show_sb_opts() argument
53 if (sb->s_flags & fs_infop->flag) in show_sb_opts()
57 return security_sb_show_options(m, sb); in show_sb_opts()
84 static void show_type(struct seq_file *m, struct super_block *sb) in show_type() argument
86 mangle(m, sb->s_type->name); in show_type()
87 if (sb->s_subtype && sb->s_subtype[0]) { in show_type()
89 mangle(m, sb->s_subtype); in show_type()
99 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsmnt() local
101 if (sb->s_op->show_devname) { in show_vfsmnt()
102 err = sb->s_op->show_devname(m, mnt_path.dentry); in show_vfsmnt()
114 show_type(m, sb); in show_vfsmnt()
116 err = show_sb_opts(m, sb); in show_vfsmnt()
120 if (sb->s_op->show_options) in show_vfsmnt()
121 err = sb->s_op->show_options(m, mnt_path.dentry); in show_vfsmnt()
131 struct super_block *sb = mnt->mnt_sb; in show_mountinfo() local
136 MAJOR(sb->s_dev), MINOR(sb->s_dev)); in show_mountinfo()
137 if (sb->s_op->show_path) in show_mountinfo()
138 err = sb->s_op->show_path(m, mnt->mnt_root); in show_mountinfo()
168 show_type(m, sb); in show_mountinfo()
170 if (sb->s_op->show_devname) in show_mountinfo()
171 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo()
176 seq_puts(m, sb->s_flags & MS_RDONLY ? " ro" : " rw"); in show_mountinfo()
177 err = show_sb_opts(m, sb); in show_mountinfo()
180 if (sb->s_op->show_options) in show_mountinfo()
181 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo()
192 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsstat() local
196 if (sb->s_op->show_devname) { in show_vfsstat()
198 err = sb->s_op->show_devname(m, mnt_path.dentry); in show_vfsstat()
219 show_type(m, sb); in show_vfsstat()
222 if (sb->s_op->show_stats) { in show_vfsstat()
225 err = sb->s_op->show_stats(m, mnt_path.dentry); in show_vfsstat()