Lines Matching refs:cur_index
89 int *cur_index, int *offset, int *c_byte) in get_block_length() argument
95 if (!(bh = sb_bread(s, *cur_index))) in get_block_length()
106 if (!(bh = sb_bread(s, ++(*cur_index)))) in get_block_length()
135 if (!(bh = sb_bread(s, ++(*cur_index)))) in get_block_length()
142 *cur_index); in get_block_length()
163 unsigned int cur_index = index >> msblk->devblksize_log2; in squashfs_read_data() local
178 if (!(bh[0] = sb_getblk(s, cur_index))) in squashfs_read_data()
182 if (!(bh[b] = sb_getblk(s, ++cur_index))) in squashfs_read_data()
188 if (!(bh[0] = get_block_length(s, &cur_index, &offset, in squashfs_read_data()
201 if (!(bh[b] = sb_getblk(s, ++cur_index))) in squashfs_read_data()
259 ERROR("sb_bread failed reading block 0x%x\n", cur_index); in squashfs_read_data()