Searched refs:size_to_clusters (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-refcount.c | 980 nb_clusters = size_to_clusters(s, size); in alloc_clusters_noref() 1486 old_byte_size = size_to_clusters(s, refcount_array_byte_size(s, *size)) in realloc_refcount_array() 1488 new_byte_size = size_to_clusters(s, refcount_array_byte_size(s, new_size)) in realloc_refcount_array() 2142 new_nb_clusters = size_to_clusters(s, size); in check_refblocks() 2679 reftable_clusters = size_to_clusters(s, reftable_length); in rebuild_refcount_structure() 2798 nb_clusters = size_to_clusters(s, size); in qcow2_check_refcounts() 2805 size_to_clusters(s, bs->total_sectors * BDRV_SECTOR_SIZE); in qcow2_check_refcounts() 3700 for (i = size_to_clusters(s, size) - 1; i >= 0; i--) { in qcow2_get_last_cluster() 3739 end_cluster = size_to_clusters(s, file_length); in qcow2_detect_metadata_preallocation()
|
H A D | qcow2-cluster.c | 650 nb_clusters = size_to_clusters(s, bytes_needed); in qcow2_get_host_offset() 1170 unsigned nb_clusters = size_to_clusters(s, cow_end_from); in calculate_l2_meta() 1517 size_to_clusters(s, offset_into_cluster(s, guest_offset) + *bytes); in handle_copied() 1682 size_to_clusters(s, offset_into_cluster(s, guest_offset) + *bytes); in handle_alloc() 2010 nb_clusters = size_to_clusters(s, bytes); in qcow2_cluster_discard() 2212 nb_clusters = size_to_clusters(s, end_offset - offset); in qcow2_subcluster_zeroize()
|
H A D | qcow2-bitmap.c | 298 size_to_clusters(s, in load_bitmap_data() 1292 size_to_clusters(s, in store_bitmap_data()
|
H A D | qcow2.h | 671 static inline uint64_t size_to_clusters(BDRVQcow2State *s, uint64_t size) in size_to_clusters() function
|
H A D | qcow2.c | 147 clusterlen = size_to_clusters(s, headerlen) * s->cluster_size; in qcow2_crypto_hdr_init_func()
|