Lines Matching refs:bi
71 struct bfs_inode_info *bi = BFS_I(inode); in bfs_get_block() local
73 phys = bi->i_sblock + block; in bfs_get_block()
75 if (phys <= bi->i_eblock) { in bfs_get_block()
87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block()
106 if (bi->i_eblock == info->si_lf_eblk) { in bfs_get_block()
110 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block()
111 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
124 if (bi->i_sblock) { in bfs_get_block()
125 err = bfs_move_blocks(inode->i_sb, bi->i_sblock, in bfs_get_block()
126 bi->i_eblock, phys); in bfs_get_block()
137 bi->i_sblock = phys; in bfs_get_block()
139 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
145 info->si_freeb -= bi->i_eblock - bi->i_sblock + 1 - inode->i_blocks; in bfs_get_block()