Searched refs:bfs_sb (Results 1 – 2 of 2) sorted by relevance
314 struct bfs_super_block *bfs_sb; in bfs_fill_super() local334 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()335 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()337 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()340 if (BFS_UNCLEAN(bfs_sb, s) && !silent) in bfs_fill_super()345 if (le32_to_cpu(bfs_sb->s_start) > le32_to_cpu(bfs_sb->s_end) || in bfs_fill_super()346 le32_to_cpu(bfs_sb->s_start) < sizeof(struct bfs_super_block) + sizeof(struct bfs_dirent)) { in bfs_fill_super()351 …info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_… in bfs_fill_super()373 info->si_blocks = (le32_to_cpu(bfs_sb->s_end) + 1) >> BFS_BSIZE_BITS; in bfs_fill_super()374 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()[all …]
78 #define BFS_UNCLEAN(bfs_sb, sb) \ argument79 …((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RD…