Home
last modified time | relevance | path

Searched refs:host_offset (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-threads.c457 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument
464 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec()
475 assert(QEMU_IS_ALIGNED(host_offset, sector_size)); in qcow2_co_encdec()
508 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument
511 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt()
522 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, 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.c587 unsigned int *bytes, uint64_t *host_offset, in qcow2_get_host_offset() argument
613 *host_offset = 0; in qcow2_get_host_offset()
677 *host_offset = l2_entry; in qcow2_get_host_offset()
686 *host_offset = host_cluster_offset + offset_in_cluster; in qcow2_get_host_offset()
696 if (has_data_file(bs) && *host_offset != offset) { in qcow2_get_host_offset()
829 int compressed_size, uint64_t *host_offset) in qcow2_alloc_compressed_cluster_offset() argument
883 *host_offset = cluster_offset & s->cluster_offset_mask; in qcow2_alloc_compressed_cluster_offset()
1496 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_copied() argument
1506 trace_qcow2_handle_copied(qemu_coroutine_self(), guest_offset, *host_offset, in handle_copied()
1509 assert(*host_offset == INV_OFFSET || offset_into_cluster(s, guest_offset) in handle_copied()
[all …]
H A Dqcow2.c2151 uint64_t host_offset; in qcow2_co_block_status() local
2165 ret = qcow2_get_host_offset(bs, offset, &bytes, &host_offset, &type); in qcow2_co_block_status()
2176 *map = host_offset; in qcow2_co_block_status()
2232 uint64_t host_offset, in qcow2_co_preadv_encrypted() argument
2259 ret = bdrv_co_pread(s->data_file, host_offset, bytes, buf, 0); in qcow2_co_preadv_encrypted()
2264 if (qcow2_co_decrypt(bs, host_offset, offset, buf, bytes) < 0) in qcow2_co_preadv_encrypted()
2282 uint64_t host_offset; /* or l2_entry for compressed read */ member
2295 uint64_t host_offset, in qcow2_add_task() argument
2310 .host_offset = host_offset, in qcow2_add_task()
2319 subcluster_type, host_offset, offset, bytes, in qcow2_add_task()
[all …]
H A Dqcow2.h932 unsigned int *bytes, uint64_t *host_offset,
937 unsigned int *bytes, uint64_t *host_offset,
942 int compressed_size, uint64_t *host_offset);
1068 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset,
1071 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset,
H A Dtrace-events76 …, void *bs, void *pool, const char *action, int cluster_type, uint64_t host_offset, uint64_t offse…
88 …d *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset 0x%" PRIx6…
89 …d *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset 0x%" PRIx6…
90 …d *co, uint64_t guest_offset, uint64_t host_offset, int nb_clusters) "co %p guest_offset 0x%" PRIx…
/openbmc/qemu/bsd-user/
H A Dmmap.c402 abi_ulong ret, end, real_start, real_end, retaddr, host_offset, host_len; in target_mmap() local
480 host_offset = offset & qemu_host_page_mask; in target_mmap()
489 host_len = len + offset - host_offset; in target_mmap()
535 host_len = len + offset - host_offset; in target_mmap()
551 flags | MAP_FIXED, fd, host_offset); in target_mmap()
556 host_start += offset - host_offset; in target_mmap()
/openbmc/qemu/linux-user/
H A Dmmap.c789 off_t host_offset = offset & -host_page_size; in mmap_h_gt_g() local
802 host_len = len + offset - host_offset; in mmap_h_gt_g()
803 p = mmap(want_p, host_len, host_prot, flags, fd, host_offset); in mmap_h_gt_g()
809 p += offset - host_offset; in mmap_h_gt_g()
926 off_t host_offset = offset & -host_page_size; in target_mmap__locked() local
927 size_t real_len = len + offset - host_offset; in target_mmap__locked()
935 start += offset - host_offset; in target_mmap__locked()