Searched refs:BFS_INODES_PER_BLOCK (Results 1 – 2 of 2) sorted by relevance
52 block = (ino - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; in bfs_iget()60 off = (ino - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK; in bfs_iget()107 *p = sb_bread(sb, 1 + ino / BFS_INODES_PER_BLOCK); in find_inode()113 return (struct bfs_inode *)(*p)->b_data + ino % BFS_INODES_PER_BLOCK; in find_inode()389 int block = (i - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; in bfs_fill_super()390 int off = (i - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK; in bfs_fill_super()
17 #define BFS_INODES_PER_BLOCK 8 macro