Lines Matching refs:bi
70 struct bfs_inode_info *bi = BFS_I(inode); in bfs_get_block() local
72 phys = bi->i_sblock + block; in bfs_get_block()
74 if (phys <= bi->i_eblock) { in bfs_get_block()
86 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block()
105 if (bi->i_eblock == info->si_lf_eblk) { in bfs_get_block()
109 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block()
110 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
123 if (bi->i_sblock) { in bfs_get_block()
124 err = bfs_move_blocks(inode->i_sb, bi->i_sblock, in bfs_get_block()
125 bi->i_eblock, phys); in bfs_get_block()
136 bi->i_sblock = phys; in bfs_get_block()
138 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
144 info->si_freeb -= bi->i_eblock - bi->i_sblock + 1 - inode->i_blocks; in bfs_get_block()