Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dvfio-helpers.c755 uint64_t iova0; in qemu_vfio_dma_map() local
763 iova0 = mapping->iova + ((uint8_t *)host - (uint8_t *)mapping->host); in qemu_vfio_dma_map()
771 if (!qemu_vfio_find_fixed_iova(s, size, &iova0, errp)) { in qemu_vfio_dma_map()
775 mapping = qemu_vfio_add_mapping(s, host, size, index + 1, iova0); in qemu_vfio_dma_map()
777 ret = qemu_vfio_do_mapping(s, host, size, iova0, errp); in qemu_vfio_dma_map()
784 if (!qemu_vfio_find_temp_iova(s, size, &iova0, errp)) { in qemu_vfio_dma_map()
787 ret = qemu_vfio_do_mapping(s, host, size, iova0, errp); in qemu_vfio_dma_map()
793 trace_qemu_vfio_dma_mapped(s, host, iova0, size); in qemu_vfio_dma_map()
795 *iova = iova0; in qemu_vfio_dma_map()