Home
last modified time | relevance | path

Searched refs:free_byte_offset (Results 1 – 2 of 2) sorted by relevance

/external/qemu/block/
Dqcow2-refcount.c373 if (s->free_byte_offset == 0) { in qcow2_alloc_bytes()
374 s->free_byte_offset = qcow2_alloc_clusters(bs, s->cluster_size); in qcow2_alloc_bytes()
378 (s->free_byte_offset & (s->cluster_size - 1)); in qcow2_alloc_bytes()
381 offset = s->free_byte_offset; in qcow2_alloc_bytes()
382 s->free_byte_offset += size; in qcow2_alloc_bytes()
385 s->free_byte_offset = 0; in qcow2_alloc_bytes()
390 cluster_offset = s->free_byte_offset & ~(s->cluster_size - 1); in qcow2_alloc_bytes()
393 offset = s->free_byte_offset; in qcow2_alloc_bytes()
395 s->free_byte_offset += size; in qcow2_alloc_bytes()
397 s->free_byte_offset = offset; in qcow2_alloc_bytes()
Dqcow2.h104 int64_t free_byte_offset; member