Searched refs:offset_to_l2_slice_index (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cluster.c | 216 (offset_to_l2_index(s, offset) - offset_to_l2_slice_index(s, offset)); in l2_load() 606 ((uint64_t) (s->l2_slice_size - offset_to_l2_slice_index(s, offset))) in qcow2_get_host_offset() 645 l2_index = offset_to_l2_slice_index(s, offset); in qcow2_get_host_offset() 810 l2_index = offset_to_l2_slice_index(s, offset); in get_cluster_table() 1165 int sc_index, l2_index = offset_to_l2_slice_index(s, guest_offset); in calculate_l2_meta() 1519 l2_index = offset_to_l2_slice_index(s, guest_offset); in handle_copied() 1684 l2_index = offset_to_l2_slice_index(s, guest_offset); in handle_alloc()
|
H A D | qcow2.h | 697 static inline int offset_to_l2_slice_index(BDRVQcow2State *s, int64_t offset) in offset_to_l2_slice_index() function
|
H A D | qcow2.c | 4562 s->l2_slice_size - offset_to_l2_slice_index(s, guest_offset)); in qcow2_co_truncate()
|