Lines Matching refs:offset_into_cluster

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()
1558 - offset_into_cluster(s, guest_offset)); in handle_copied()
1579 *host_offset = cluster_offset + offset_into_cluster(s, guest_offset); in handle_copied()
1682 size_to_clusters(s, offset_into_cluster(s, guest_offset) + *bytes); in handle_alloc()
1735 uint64_t requested_bytes = *bytes + offset_into_cluster(s, guest_offset); in handle_alloc()
1739 *host_offset = alloc_cluster_offset + offset_into_cluster(s, guest_offset); in handle_alloc()
1740 *bytes = MIN(*bytes, nb_bytes - offset_into_cluster(s, guest_offset)); in handle_alloc()
1890 assert(offset_into_cluster(s, *host_offset) == in qcow2_alloc_host_offset()
1891 offset_into_cluster(s, offset)); in qcow2_alloc_host_offset()
2290 if (offset_into_cluster(s, l2_offset)) { in expand_zero_clusters_in_l1()
2367 if (offset_into_cluster(s, offset)) { in expand_zero_clusters_in_l1()