Searched refs:BFS_INODES_PER_BLOCK (Results 1 – 2 of 2) sorted by relevance
53 block = (ino - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; in bfs_iget()61 off = (ino - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK; in bfs_iget()109 *p = sb_bread(sb, 1 + ino / BFS_INODES_PER_BLOCK); in find_inode()115 return (struct bfs_inode *)(*p)->b_data + ino % BFS_INODES_PER_BLOCK; in find_inode()396 int block = (i - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; in bfs_fill_super()397 int off = (i - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK; in bfs_fill_super()
16 #define BFS_INODES_PER_BLOCK 8 macro