Lines Matching refs:bitmap_size
147 uint32_t bitmap_size; member
369 s->bitmap_size = ((s->block_size / (8 * 512)) + 511) & ~511; in vpc_open()
419 s->bitmap_size + s->block_size; in vpc_open()
507 block_offset = bitmap_offset + s->bitmap_size + offset_in_block; in get_image_offset()
515 g_autofree uint8_t *bitmap = g_malloc(s->bitmap_size); in get_image_offset()
519 memset(bitmap, 0xff, s->bitmap_size); in get_image_offset()
520 r = bdrv_co_pwrite_sync(bs->file, bitmap_offset, s->bitmap_size, bitmap, 0); in get_image_offset()
563 g_autofree uint8_t *bitmap = g_malloc(s->bitmap_size); in alloc_block()
576 memset(bitmap, 0xff, s->bitmap_size); in alloc_block()
578 s->bitmap_size, bitmap, 0); in alloc_block()
584 s->free_data_block_offset += s->block_size + s->bitmap_size; in alloc_block()
599 s->free_data_block_offset -= (s->block_size + s->bitmap_size); in alloc_block()