bfs_sb 315 fs/bfs/inode.c struct bfs_super_block *bfs_sb; bfs_sb 335 fs/bfs/inode.c bfs_sb = (struct bfs_super_block *)sbh->b_data; bfs_sb 336 fs/bfs/inode.c if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { bfs_sb 338 fs/bfs/inode.c printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); bfs_sb 341 fs/bfs/inode.c if (BFS_UNCLEAN(bfs_sb, s) && !silent) bfs_sb 346 fs/bfs/inode.c if (le32_to_cpu(bfs_sb->s_start) > le32_to_cpu(bfs_sb->s_end) || bfs_sb 347 fs/bfs/inode.c le32_to_cpu(bfs_sb->s_start) < sizeof(struct bfs_super_block) + sizeof(struct bfs_dirent)) { bfs_sb 352 fs/bfs/inode.c info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_INO - 1; bfs_sb 374 fs/bfs/inode.c info->si_blocks = (le32_to_cpu(bfs_sb->s_end) + 1) >> BFS_BSIZE_BITS; bfs_sb 375 fs/bfs/inode.c info->si_freeb = (le32_to_cpu(bfs_sb->s_end) + 1 - le32_to_cpu(bfs_sb->s_start)) >> BFS_BSIZE_BITS; bfs_sb 410 fs/bfs/inode.c s_size = le32_to_cpu(bfs_sb->s_end); bfs_sb 78 include/uapi/linux/bfs_fs.h #define BFS_UNCLEAN(bfs_sb, sb) \ bfs_sb 79 include/uapi/linux/bfs_fs.h ((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY))