Searched refs:qcow2_alloc_clusters (Results 1 – 4 of 4) sorted by relevance
54 new_l1_table_offset = qcow2_alloc_clusters(bs, new_l1_size2); in qcow2_grow_l1_table()219 l2_offset = qcow2_alloc_clusters(bs, s->l2_size * sizeof(uint64_t)); in l2_allocate()737 cluster_offset = qcow2_alloc_clusters(bs, nb_clusters * s->cluster_size); in qcow2_alloc_cluster_offset()
355 int64_t qcow2_alloc_clusters(BlockDriverState *bs, int64_t size) in qcow2_alloc_clusters() function374 s->free_byte_offset = qcow2_alloc_clusters(bs, s->cluster_size); in qcow2_alloc_bytes()389 offset = qcow2_alloc_clusters(bs, s->cluster_size); in qcow2_alloc_bytes()
140 snapshots_offset = qcow2_alloc_clusters(bs, snapshots_size); in qcow_write_snapshots()266 sn->l1_table_offset = qcow2_alloc_clusters(bs, s->l1_size * sizeof(uint64_t)); in qcow2_snapshot_create()
158 int64_t qcow2_alloc_clusters(BlockDriverState *bs, int64_t size);