Lines Matching refs:blk
40 blk64_t blk; in write_bitmaps() local
98 blk = ext2fs_block_bitmap_loc(fs, i); in write_bitmaps()
99 if (blk) { in write_bitmaps()
100 retval = io_channel_write_blk64(fs->io, blk, 1, in write_bitmaps()
129 blk = ext2fs_inode_bitmap_loc(fs, i); in write_bitmaps()
130 if (blk) { in write_bitmaps()
131 retval = io_channel_write_blk64(fs->io, blk, 1, in write_bitmaps()
162 blk64_t blk; in mark_uninit_bg_group_blocks() local
174 blk = ext2fs_inode_table_loc(fs, i); in mark_uninit_bg_group_blocks()
175 if (blk) in mark_uninit_bg_group_blocks()
176 ext2fs_mark_block_bitmap_range2(bmap, blk, in mark_uninit_bg_group_blocks()
182 blk = ext2fs_block_bitmap_loc(fs, i); in mark_uninit_bg_group_blocks()
183 if (blk) in mark_uninit_bg_group_blocks()
184 ext2fs_mark_block_bitmap2(bmap, blk); in mark_uninit_bg_group_blocks()
189 blk = ext2fs_inode_bitmap_loc(fs, i); in mark_uninit_bg_group_blocks()
190 if (blk) in mark_uninit_bg_group_blocks()
191 ext2fs_mark_block_bitmap2(bmap, blk); in mark_uninit_bg_group_blocks()
206 blk64_t blk; in read_bitmaps() local
254 blk = (fs->image_header->offset_inodemap / fs->blocksize); in read_bitmaps()
257 retval = io_channel_read_blk64(fs->image_io, blk++, in read_bitmaps()
272 blk = (fs->image_header->offset_blockmap / in read_bitmaps()
277 retval = io_channel_read_blk64(fs->image_io, blk++, in read_bitmaps()
297 blk = ext2fs_block_bitmap_loc(fs, i); in read_bitmaps()
301 blk = 0; in read_bitmaps()
302 if (blk) { in read_bitmaps()
303 retval = io_channel_read_blk64(fs->io, blk, in read_bitmaps()
328 blk = ext2fs_inode_bitmap_loc(fs, i); in read_bitmaps()
332 blk = 0; in read_bitmaps()
333 if (blk) { in read_bitmaps()
334 retval = io_channel_read_blk64(fs->io, blk, in read_bitmaps()