Searched refs:bfs_sb (Results 1 – 2 of 2) sorted by relevance
311 struct bfs_super_block *bfs_sb; in bfs_fill_super() local331 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()332 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()334 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()337 if (BFS_UNCLEAN(bfs_sb, s) && !silent) in bfs_fill_super()342 if (le32_to_cpu(bfs_sb->s_start) > le32_to_cpu(bfs_sb->s_end) || in bfs_fill_super()343 le32_to_cpu(bfs_sb->s_start) < sizeof(struct bfs_super_block) + sizeof(struct bfs_dirent)) { in bfs_fill_super()348 …info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_… in bfs_fill_super()370 info->si_blocks = (le32_to_cpu(bfs_sb->s_end) + 1) >> BFS_BSIZE_BITS; in bfs_fill_super()371 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…