Searched refs:free_byte_offset (Results 1 – 2 of 2) sorted by relevance
640 if (s->free_byte_offset == 0) { in qcow2_alloc_bytes()641 s->free_byte_offset = qcow2_alloc_clusters(bs, s->cluster_size); in qcow2_alloc_bytes()642 if (s->free_byte_offset < 0) { in qcow2_alloc_bytes()643 return s->free_byte_offset; in qcow2_alloc_bytes()648 (s->free_byte_offset & (s->cluster_size - 1)); in qcow2_alloc_bytes()651 offset = s->free_byte_offset; in qcow2_alloc_bytes()652 s->free_byte_offset += size; in qcow2_alloc_bytes()655 s->free_byte_offset = 0; in qcow2_alloc_bytes()663 cluster_offset = s->free_byte_offset & ~(s->cluster_size - 1); in qcow2_alloc_bytes()666 offset = s->free_byte_offset; in qcow2_alloc_bytes()[all …]
109 int64_t free_byte_offset; member