Searched refs:offset_into_cluster (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cluster.c | 599 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(s, cluster_offset)) { in handle_copied() [all …]
|
H A D | qcow2-refcount.c | 268 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() 1296 if (offset_into_cluster(s, l2_offset)) { in qcow2_update_snapshot_refcount() 1343 if (offset_into_cluster(s, offset)) { in qcow2_update_snapshot_refcount() 1764 if (offset_into_cluster(s, offset)) { in check_refcounts_l2() 1926 if (offset_into_cluster(s, l2_offset)) { in check_refcounts_l1() [all …]
|
H A D | qcow2.c | 391 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() 2696 offset_in_cluster = offset_into_cluster(s, offset); in qcow2_co_pwritev_part() 4563 unsigned cow_start_length = offset_into_cluster(s, guest_offset); in qcow2_co_truncate() 4784 if (offset_into_cluster(s, offset)) { in qcow2_co_pwritev_compressed_part() 4788 if (offset_into_cluster(s, bytes) && in qcow2_co_pwritev_compressed_part() 4833 int offset_in_cluster = offset_into_cluster(s, offset); in qcow2_co_preadv_compressed()
|
H A D | qcow2.h | 661 static inline int64_t offset_into_cluster(BDRVQcow2State *s, int64_t offset) in offset_into_cluster() function
|