Home
last modified time | relevance | path

Searched refs:offset_into_cluster (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-cluster.c599 offset_in_cluster = offset_into_cluster(s, offset); in qcow2_get_host_offset()
629 if (offset_into_cluster(s, l2_offset)) { in qcow2_get_host_offset()
687 if (offset_into_cluster(s, host_cluster_offset)) { in qcow2_get_host_offset()
777 if (offset_into_cluster(s, l2_offset)) { in get_cluster_table()
799 assert(offset_into_cluster(s, l2_offset) == 0); in get_cluster_table()
1168 unsigned cow_start_to = offset_into_cluster(s, guest_offset); in calculate_l2_meta()
1509 assert(*host_offset == INV_OFFSET || offset_into_cluster(s, guest_offset) in handle_copied()
1510 == offset_into_cluster(s, *host_offset)); in handle_copied()
1517 size_to_clusters(s, offset_into_cluster(s, guest_offset) + *bytes); in handle_copied()
1534 if (offset_into_cluster( in handle_copied()
[all...]
H A Dqcow2-refcount.c268 if (offset_into_cluster(s, refcount_block_offset)) { in qcow2_get_refcount()
325 if (offset_into_cluster(s, refcount_block_offset)) { in alloc_refcount_block()
1079 assert(!s->free_byte_offset || offset_into_cluster(s, s->free_byte_offset)); in qcow2_alloc_bytes()
1095 free_in_cluster = s->cluster_size - offset_into_cluster(s, offset); in qcow2_alloc_bytes()
1137 if (!offset_into_cluster(s, s->free_byte_offset)) { in qcow2_alloc_bytes()
1191 if (offset_into_cluster(s, l2_entry & L2E_OFFSET_MASK)) { in qcow2_free_any_cluster()
1313 if (offset_into_cluster(s, l2_offset)) { in qcow2_update_snapshot_refcount()
1360 if (offset_into_cluster(s, offset)) { in qcow2_update_snapshot_refcount()
1781 if (offset_into_cluster(s, offset)) { in check_refcounts_l2()
1943 if (offset_into_cluster( in check_refcounts_l1()
[all...]
H A Dqcow2.c391 if (offset_into_cluster(s, bitmaps_ext.bitmap_directory_offset)) { in qcow2_read_extensions()
674 (offset_into_cluster(s, offset) != 0)) { in qcow2_validate_table()
2782 offset_in_cluster = offset_into_cluster(s, offset); in qcow2_inactivate()
4652 unsigned cow_start_length = offset_into_cluster(s, guest_offset); in qcow2_co_truncate()
4873 if (offset_into_cluster(s, offset)) { in make_completely_empty()
4877 if (offset_into_cluster(s, bytes) && in make_completely_empty()
4922 int offset_in_cluster = offset_into_cluster(s, offset); in make_completely_empty()
H A Dqcow2.h664 static inline int64_t offset_into_cluster(BDRVQcow2State *s, int64_t offset) in offset_into_cluster()
661 static inline int64_t offset_into_cluster(BDRVQcow2State *s, int64_t offset) offset_into_cluster() function