Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/sof/
H A Dipc3-dtrace.c30 u32 host_offset; member
248 u32 host_offset = READ_ONCE(priv->host_offset); in sof_dtrace_set_host_offset() local
250 if (host_offset != new_offset) { in sof_dtrace_set_host_offset()
252 u32 ret = cmpxchg(&priv->host_offset, host_offset, new_offset); in sof_dtrace_set_host_offset()
254 if (ret == host_offset) in sof_dtrace_set_host_offset()
265 loff_t host_offset = READ_ONCE(priv->host_offset); in sof_dtrace_avail() local
272 if (host_offset < pos) in sof_dtrace_avail()
276 if (host_offset > pos) in sof_dtrace_avail()
277 return host_offset - pos; in sof_dtrace_avail()
570 sof_dtrace_set_host_offset(priv, posn->host_offset)) in ipc3_dtrace_posn_update()
/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.c613 *host_offset = 0; in qcow2_get_host_offset()
677 *host_offset = l2_entry; in qcow2_get_host_offset()
1545 if (*host_offset != INV_OFFSET && cluster_offset != *host_offset) { in handle_copied()
1614 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset()
1622 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset()
1628 *host_offset = cluster_offset; in do_alloc_cluster_offset()
1705 start_of_cluster(s, *host_offset); in handle_alloc()
1800 *host_offset = INV_OFFSET; in qcow2_alloc_host_offset()
1807 *host_offset = cluster_offset; in qcow2_alloc_host_offset()
1889 assert(*host_offset != INV_OFFSET); in qcow2_alloc_host_offset()
[all …]
H A Dqcow2.c2149 uint64_t host_offset; in qcow2_co_block_status() local
2174 *map = host_offset; in qcow2_co_block_status()
2230 uint64_t host_offset, in qcow2_co_preadv_encrypted() argument
2308 .host_offset = host_offset, in qcow2_add_task()
2394 uint64_t host_offset = 0; in qcow2_co_preadv_part() local
2685 uint64_t host_offset; in qcow2_co_pwritev_part() local
3263 uint64_t host_offset = 0; in preallocate_co() local
4239 uint64_t host_offset; in qcow2_co_copy_range_to() local
4557 host_offset = allocation_start; in qcow2_co_truncate()
4568 .alloc_offset = host_offset, in qcow2_co_truncate()
[all …]
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…
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,
/openbmc/qemu/bsd-user/
H A Dmmap.c406 abi_ulong ret, end, real_start, real_end, retaddr, host_offset, host_len; in target_mmap() local
484 host_offset = offset & qemu_host_page_mask; in target_mmap()
491 host_len = len + offset - host_offset; in target_mmap()
540 host_len = len + offset - host_offset; in target_mmap()
556 flags | MAP_FIXED, fd, host_offset); in target_mmap()
561 host_start += offset - host_offset; in target_mmap()
/openbmc/linux/include/sound/sof/
H A Dtrace.h41 uint32_t host_offset; /* Offset of DMA host buffer */ member
/openbmc/qemu/linux-user/
H A Dmmap.c785 off_t host_offset = offset & -host_page_size; in mmap_h_gt_g() local
798 host_len = len + offset - host_offset; in mmap_h_gt_g()
799 p = mmap(want_p, host_len, host_prot, flags, fd, host_offset); in mmap_h_gt_g()
805 p += offset - host_offset; in mmap_h_gt_g()
922 off_t host_offset = offset & -host_page_size; in target_mmap__locked() local
923 size_t real_len = len + offset - host_offset; in target_mmap__locked()
931 start += offset - host_offset; in target_mmap__locked()
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch253 - flags | MAP_FIXED, fd, host_offset);
255 + flags | MAP_FIXED, fd, host_offset);