Lines Matching refs:cur_bytes
1406 uint64_t *cur_bytes, QCowL2Meta **m) in handle_dependencies() argument
1410 uint64_t bytes = *cur_bytes; in handle_dependencies()
1451 *cur_bytes = 0; in handle_dependencies()
1467 *cur_bytes = bytes; in handle_dependencies()
1791 uint64_t cur_bytes; in qcow2_alloc_host_offset() local
1801 cur_bytes = 0; in qcow2_alloc_host_offset()
1810 assert(remaining >= cur_bytes); in qcow2_alloc_host_offset()
1812 start += cur_bytes; in qcow2_alloc_host_offset()
1813 remaining -= cur_bytes; in qcow2_alloc_host_offset()
1816 cluster_offset += cur_bytes; in qcow2_alloc_host_offset()
1823 cur_bytes = remaining; in qcow2_alloc_host_offset()
1843 ret = handle_dependencies(bs, start, &cur_bytes, m); in qcow2_alloc_host_offset()
1852 } else if (cur_bytes == 0) { in qcow2_alloc_host_offset()
1863 ret = handle_copied(bs, start, &cluster_offset, &cur_bytes, m); in qcow2_alloc_host_offset()
1868 } else if (cur_bytes == 0) { in qcow2_alloc_host_offset()
1876 ret = handle_alloc(bs, start, &cluster_offset, &cur_bytes, m); in qcow2_alloc_host_offset()
1882 assert(cur_bytes == 0); in qcow2_alloc_host_offset()