Searched refs:BFS_BSIZE (Results 1 – 3 of 3) sorted by relevance
13 #define BFS_BSIZE (1<<BFS_BSIZE_BITS) macro66 ((((offset) - BFS_BSIZE) / sizeof(struct bfs_inode)) + BFS_ROOT_INO)69 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)71 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
45 offset = ctx->pos & (BFS_BSIZE - 1); in bfs_readdir()49 ctx->pos += BFS_BSIZE - offset; in bfs_readdir()65 } while ((offset < BFS_BSIZE) && (ctx->pos < dir->i_size)); in bfs_readdir()289 for (off = 0; off < BFS_BSIZE; off += BFS_DIRENT_SIZE) { in bfs_add_entry()292 pos = (block - sblock) * BFS_BSIZE + off; in bfs_add_entry()335 while (block * BFS_BSIZE + offset < dir->i_size) { in bfs_find_entry()
149 di->i_eoffset = cpu_to_le32(i_sblock * BFS_BSIZE + inode->i_size - 1); in bfs_write_inode()328 sb_set_blocksize(s, BFS_BSIZE); 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()414 i_sblock * BFS_BSIZE > i_eoff) { in bfs_fill_super()