Lines Matching refs:bfs_sb
313 struct bfs_super_block *bfs_sb; in bfs_fill_super() local
333 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()
334 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()
336 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
339 if (BFS_UNCLEAN(bfs_sb, s) && !silent) in bfs_fill_super()
344 if (le32_to_cpu(bfs_sb->s_start) > le32_to_cpu(bfs_sb->s_end) || in bfs_fill_super()
345 le32_to_cpu(bfs_sb->s_start) < sizeof(struct bfs_super_block) + sizeof(struct bfs_dirent)) { in bfs_fill_super()
350 …info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_… in bfs_fill_super()
372 info->si_blocks = (le32_to_cpu(bfs_sb->s_end) + 1) >> BFS_BSIZE_BITS; in bfs_fill_super()
373 info->si_freeb = (le32_to_cpu(bfs_sb->s_end) + 1 - le32_to_cpu(bfs_sb->s_start)) >> BFS_BSIZE_BITS; in bfs_fill_super()
408 s_size = le32_to_cpu(bfs_sb->s_end); in bfs_fill_super()