Lines Matching refs:sb

42 static int show_sb_opts(struct seq_file *m, struct super_block *sb)  in show_sb_opts()  argument
54 if (sb->s_flags & fs_infop->flag) in show_sb_opts()
58 return security_sb_show_options(m, sb); in show_sb_opts()
85 static void show_type(struct seq_file *m, struct super_block *sb) in show_type() argument
87 mangle(m, sb->s_type->name); in show_type()
88 if (sb->s_subtype && sb->s_subtype[0]) { in show_type()
90 mangle(m, sb->s_subtype); in show_type()
100 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsmnt() local
102 if (sb->s_op->show_devname) { in show_vfsmnt()
103 err = sb->s_op->show_devname(m, mnt_path.dentry); in show_vfsmnt()
115 show_type(m, sb); in show_vfsmnt()
117 err = show_sb_opts(m, sb); in show_vfsmnt()
121 if (sb->s_op->show_options) in show_vfsmnt()
122 err = sb->s_op->show_options(m, mnt_path.dentry); in show_vfsmnt()
132 struct super_block *sb = mnt->mnt_sb; in show_mountinfo() local
137 MAJOR(sb->s_dev), MINOR(sb->s_dev)); in show_mountinfo()
138 if (sb->s_op->show_path) in show_mountinfo()
139 err = sb->s_op->show_path(m, mnt->mnt_root); in show_mountinfo()
169 show_type(m, sb); in show_mountinfo()
171 if (sb->s_op->show_devname) in show_mountinfo()
172 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo()
177 seq_puts(m, sb->s_flags & MS_RDONLY ? " ro" : " rw"); in show_mountinfo()
178 err = show_sb_opts(m, sb); in show_mountinfo()
181 if (sb->s_op->show_options) in show_mountinfo()
182 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo()
193 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsstat() local
197 if (sb->s_op->show_devname) { in show_vfsstat()
199 err = sb->s_op->show_devname(m, mnt_path.dentry); in show_vfsstat()
220 show_type(m, sb); in show_vfsstat()
223 if (sb->s_op->show_stats) { in show_vfsstat()
226 err = sb->s_op->show_stats(m, mnt_path.dentry); in show_vfsstat()