Home
last modified time | relevance | path

Searched refs:cluster_offset (Results 1 – 10 of 10) sorted by relevance

/qemu/block/
H A Dqcow.c438 if (!cluster_offset || in get_cluster_offset()
457 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset()
472 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset()
528 *result = cluster_offset; in get_cluster_offset()
540 uint64_t cluster_offset; in qcow_co_block_status() local
554 if (!cluster_offset) { in qcow_co_block_status()
635 uint64_t cluster_offset; in qcow_co_preadv() local
663 if (!cluster_offset) { in qcow_co_preadv()
730 uint64_t cluster_offset; in qcow_co_pwritev() local
763 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev()
[all …]
H A Dqcow2-cluster.c834 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local
855 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset()
857 return cluster_offset; in qcow2_alloc_compressed_cluster_offset()
865 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset()
1500 uint64_t l2_entry, cluster_offset; in handle_copied() local
1623 int64_t cluster_offset = in do_alloc_cluster_offset() local
1625 if (cluster_offset < 0) { in do_alloc_cluster_offset()
1626 return cluster_offset; in do_alloc_cluster_offset()
1628 *host_offset = cluster_offset; in do_alloc_cluster_offset()
1790 uint64_t cluster_offset; in qcow2_alloc_host_offset() local
[all …]
H A Dvmdk.c1454 uint64_t cluster_offset, uint64_t offset, in get_whole_cluster() argument
1602 *cluster_offset = extent->flat_start_offset; in get_cluster_offset()
1747 *cluster_offset = cluster_sector << BDRV_SECTOR_BITS; in get_cluster_offset()
1787 uint64_t cluster_offset; in vmdk_co_block_status() local
1814 *map = cluster_offset + index_in_cluster; in vmdk_co_block_status()
1887 write_offset = cluster_offset + offset_in_cluster; in vmdk_write_extent()
1913 vmdk_read_extent(VmdkExtent *extent, int64_t cluster_offset, in vmdk_read_extent() argument
1987 uint64_t cluster_offset; in vmdk_co_preadv() local
2068 uint64_t cluster_offset; in vmdk_pwritev() local
2963 uint64_t cluster_offset; in vmdk_co_check() local
[all …]
H A Dqcow2-refcount.c815 int64_t start, last, cluster_offset; in update_refcount() local
838 for(cluster_offset = start; cluster_offset <= last; in update_refcount()
839 cluster_offset += s->cluster_size) in update_refcount()
843 int64_t cluster_index = cluster_offset >> s->cluster_bits; in update_refcount()
905 update_refcount_discard(bs, cluster_offset, s->cluster_size); in update_refcount()
927 dummy = update_refcount(bs, offset, cluster_offset - offset, addend, in update_refcount()
1532 uint64_t start, last, cluster_offset, k, refcount; in qcow2_inc_refcounts_imrt() local
1560 for(cluster_offset = start; cluster_offset <= last; in qcow2_inc_refcounts_imrt()
1561 cluster_offset += s->cluster_size) { in qcow2_inc_refcounts_imrt()
1562 k = cluster_offset >> s->cluster_bits; in qcow2_inc_refcounts_imrt()
[all …]
H A Dtrace-events17 …set, int64_t bytes, int64_t cluster_offset, int64_t cluster_bytes) "bs %p offset %" PRId64 " bytes…
H A Dqcow2.c4669 uint64_t cluster_offset; in qcow2_co_pwritev_compressed_task() local
4699 &cluster_offset); in qcow2_co_pwritev_compressed_task()
4705 ret = qcow2_pre_write_overlap_check(bs, 0, cluster_offset, out_len, true); in qcow2_co_pwritev_compressed_task()
4712 ret = bdrv_co_pwrite(s->data_file, cluster_offset, out_len, out_buf, 0); in qcow2_co_pwritev_compressed_task()
/qemu/docs/interop/
H A Dqed_spec.txt124 cluster_offset = l2_table[l2_index] & offset_mask
125 return cluster_offset + byte_offset
H A Dqcow2.txt520 cluster_offset = l2_table[l2_index];
522 return cluster_offset + (offset % cluster_size)
/qemu/hw/acpi/
H A Daml-build.c2060 uint32_t socket_offset = 0, cluster_offset = 0, core_offset = 0; in build_pptt() local
2091 cluster_offset = table_data->len - pptt_start; in build_pptt()
2097 cluster_offset = socket_offset; in build_pptt()
2104 cluster_offset, n, NULL, 0); in build_pptt()
2112 cluster_offset, core_id, NULL, 0); in build_pptt()
/qemu/include/block/
H A Dblock-io.h206 int64_t *cluster_offset,