Searched refs:offset_to_sc_index (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cluster.c | 646 sc_index = offset_to_sc_index(s, offset); in qcow2_get_host_offset() 1096 first_sc = offset_to_sc_index(s, written_from); in qcow2_alloc_cluster_link_l2() 1097 last_sc = offset_to_sc_index(s, written_to - 1); in qcow2_alloc_cluster_link_l2() 1185 int first_sc = offset_to_sc_index(s, write_from); in calculate_l2_meta() 1186 int last_sc = offset_to_sc_index(s, write_to - 1); in calculate_l2_meta() 1215 sc_index = offset_to_sc_index(s, guest_offset); in calculate_l2_meta() 1260 sc_index = offset_to_sc_index(s, guest_offset + bytes - 1); in calculate_l2_meta() 2117 int l2_index, ret, sc = offset_to_sc_index(s, offset); in zero_l2_subclusters()
|
H A D | qcow2.h | 702 static inline int offset_to_sc_index(BDRVQcow2State *s, int64_t offset) in offset_to_sc_index() function
|