Searched refs:BFS_BSIZE (Results 1 – 3 of 3) sorted by relevance
12 #define BFS_BSIZE (1<<BFS_BSIZE_BITS) macro65 ((((offset) - BFS_BSIZE) / sizeof(struct bfs_inode)) + BFS_ROOT_INO)68 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)70 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
49 offset = f->f_pos & (BFS_BSIZE - 1); in bfs_readdir()53 f->f_pos += BFS_BSIZE - offset; in bfs_readdir()70 } while ((offset < BFS_BSIZE) && (f->f_pos < dir->i_size)); in bfs_readdir()306 for (off = 0; off < BFS_BSIZE; off += BFS_DIRENT_SIZE) { in bfs_add_entry()309 pos = (block - sblock) * BFS_BSIZE + off; in bfs_add_entry()350 while (block * BFS_BSIZE + offset < dir->i_size) { in bfs_find_entry()
151 di->i_eoffset = cpu_to_le32(i_sblock * BFS_BSIZE + inode->i_size - 1); in bfs_write_inode()332 sb_set_blocksize(s, BFS_BSIZE); in bfs_fill_super()354 info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / in bfs_fill_super()420 i_sblock * BFS_BSIZE > i_eoff) { in bfs_fill_super()