Searched refs:host_off (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/block/ |
H A D | parallels.c | 230 int64_t host_off = bat2sect(s, i) << BDRV_SECTOR_BITS; in parallels_fill_used_bitmap() local 231 if (host_off == 0) { in parallels_fill_used_bitmap() 235 err2 = mark_used(bs, s->used_bmap, s->used_bmap_size, host_off, 1); in parallels_fill_used_bitmap() 256 int64_t i, pos, idx, to_allocate, first_free, host_off; in allocate_clusters() local 285 host_off = s->data_end * BDRV_SECTOR_SIZE; in allocate_clusters() 293 ret = bdrv_co_truncate(bs->file, host_off + bytes, in allocate_clusters() 301 ret = bdrv_co_pwrite_zeroes(bs->file, host_off, bytes, 0); in allocate_clusters() 321 host_off = s->data_start * BDRV_SECTOR_SIZE; in allocate_clusters() 322 host_off += first_free * s->cluster_size; in allocate_clusters() 330 host_off < s->data_end * BDRV_SECTOR_SIZE) { in allocate_clusters() [all …]
|