Searched refs:size_to_clusters (Results 1 – 4 of 4) sorted by relevance
136 static inline int size_to_clusters(BDRVQcowState *s, int64_t size) in size_to_clusters() function
448 nb_clusters = size_to_clusters(s, nb_needed << 9); in qcow2_get_cluster_offset()692 nb_clusters = size_to_clusters(s, n_end << 9); in qcow2_alloc_cluster_offset()
340 nb_clusters = size_to_clusters(s, size); in alloc_clusters_noref()802 nb_clusters = size_to_clusters(s, size); in qcow2_check_refcounts()
927 nb_clusters = size_to_clusters(s, size);