Home
last modified time | relevance | path

Searched refs:guest_offset (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-threads.c458 uint64_t guest_offset, void *buf, size_t len, in qcow2_co_encdec() argument
464 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec()
474 assert(QEMU_IS_ALIGNED(guest_offset, sector_size)); in qcow2_co_encdec()
509 uint64_t guest_offset, void *buf, size_t len) in qcow2_co_encrypt() argument
511 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt()
523 uint64_t guest_offset, void *buf, size_t len) in qcow2_co_decrypt() argument
525 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
H A Dqcow2-cluster.c1161 uint64_t guest_offset, unsigned bytes, uint64_t *l2_slice, in calculate_l2_meta() argument
1165 int sc_index, l2_index = offset_to_l2_slice_index(s, guest_offset); in calculate_l2_meta()
1168 unsigned cow_start_to = offset_into_cluster(s, guest_offset); in calculate_l2_meta()
1198 int l1_index = offset_to_l1_index(s, guest_offset); 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()
1306 .offset = start_of_cluster(s, guest_offset), in calculate_l2_meta()
1405 uint64_t guest_offset, in handle_dependencies() argument
1414 uint64_t start = guest_offset; in handle_dependencies()
1495 handle_copied(BlockDriverState *bs, uint64_t guest_offset, in handle_copied() argument
[all …]
H A Dtrace-events88 qcow2_handle_copied(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p g…
89 qcow2_handle_alloc(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p gu…
90 …lloc_clusters_offset(void *co, uint64_t guest_offset, uint64_t host_offset, int nb_clusters) "co %…
H A Dqcow2.h1069 uint64_t guest_offset, void *buf, size_t len);
1072 uint64_t guest_offset, void *buf, size_t len);
H A Dqcow2.c4452 int64_t allocation_start, host_offset, guest_offset; in qcow2_co_truncate() local
4558 guest_offset = old_length; in qcow2_co_truncate()
4562 s->l2_slice_size - offset_to_l2_slice_index(s, guest_offset)); in qcow2_co_truncate()
4563 unsigned cow_start_length = offset_into_cluster(s, guest_offset); in qcow2_co_truncate()
4565 guest_offset = start_of_cluster(s, guest_offset); in qcow2_co_truncate()
4567 .offset = guest_offset, in qcow2_co_truncate()
4591 guest_offset += nb_clusters * s->cluster_size; in qcow2_co_truncate()
/openbmc/qemu/hw/net/
H A Dvirtio-net.c1921 size_t offset, i, guest_offset, j; in virtio_net_receive_rcu() local
1997 guest_offset = n->has_vnet_hdr ? in virtio_net_receive_rcu()
2002 iov_from_buf(sg, elem->in_num, 0, &hdr, guest_offset); in virtio_net_receive_rcu()
2003 total += guest_offset; in virtio_net_receive_rcu()
2005 guest_offset = 0; in virtio_net_receive_rcu()
2009 len = iov_from_buf(sg, elem->in_num, guest_offset, in virtio_net_receive_rcu()