Lines Matching refs:desc_cache

1228                                           MemoryRegionCache *desc_cache,  in virtqueue_split_read_next_desc()  argument
1242 vring_split_desc_read(vdev, desc, desc_cache, desc->next); in virtqueue_split_read_next_desc()
1265 MemoryRegionCache *desc_cache = &caches->desc; in virtqueue_split_get_avail_bytes() local
1277 vring_split_desc_read(vdev, &desc, desc_cache, i); in virtqueue_split_get_avail_bytes()
1295 desc_cache = &indirect_desc_cache; in virtqueue_split_get_avail_bytes()
1303 vring_split_desc_read(vdev, &desc, desc_cache, i); in virtqueue_split_get_avail_bytes()
1322 rc = virtqueue_split_read_next_desc(vdev, &desc, desc_cache, max); in virtqueue_split_get_avail_bytes()
1329 if (desc_cache == &indirect_desc_cache) { in virtqueue_split_get_avail_bytes()
1359 *desc_cache, in virtqueue_packed_read_next_desc() argument
1378 vring_packed_desc_read(vq->vdev, desc, desc_cache, *next, false); in virtqueue_packed_read_next_desc()
1394 MemoryRegionCache *desc_cache; in virtqueue_packed_get_avail_bytes() local
1411 desc_cache = &caches->desc; in virtqueue_packed_get_avail_bytes()
1413 vring_packed_desc_read(vdev, &desc, desc_cache, idx, true); in virtqueue_packed_get_avail_bytes()
1434 desc_cache = &indirect_desc_cache; in virtqueue_packed_get_avail_bytes()
1442 vring_packed_desc_read(vdev, &desc, desc_cache, i, false); in virtqueue_packed_get_avail_bytes()
1461 rc = virtqueue_packed_read_next_desc(vq, &desc, desc_cache, max, in virtqueue_packed_get_avail_bytes()
1462 &i, desc_cache == in virtqueue_packed_get_avail_bytes()
1466 if (desc_cache == &indirect_desc_cache) { in virtqueue_packed_get_avail_bytes()
1678 MemoryRegionCache *desc_cache; in virtqueue_split_pop() local
1729 desc_cache = &caches->desc; in virtqueue_split_pop()
1730 vring_split_desc_read(vdev, &desc, desc_cache, i); in virtqueue_split_pop()
1740 desc_cache = &indirect_desc_cache; in virtqueue_split_pop()
1748 vring_split_desc_read(vdev, &desc, desc_cache, i); in virtqueue_split_pop()
1779 rc = virtqueue_split_read_next_desc(vdev, &desc, desc_cache, max); in virtqueue_split_pop()
1824 MemoryRegionCache *desc_cache; in virtqueue_packed_pop() local
1865 desc_cache = &caches->desc; in virtqueue_packed_pop()
1866 vring_packed_desc_read(vdev, &desc, desc_cache, i, true); in virtqueue_packed_pop()
1877 desc_cache = &indirect_desc_cache; in virtqueue_packed_pop()
1885 vring_packed_desc_read(vdev, &desc, desc_cache, i, false); in virtqueue_packed_pop()
1916 rc = virtqueue_packed_read_next_desc(vq, &desc, desc_cache, max, &i, in virtqueue_packed_pop()
1917 desc_cache == in virtqueue_packed_pop()
1921 if (desc_cache != &indirect_desc_cache) { in virtqueue_packed_pop()
1938 elem->ndescs = (desc_cache == &indirect_desc_cache) ? 1 : elem_entries; in virtqueue_packed_pop()
1984 MemoryRegionCache *desc_cache; in virtqueue_packed_drop_all() local
1997 desc_cache = &caches->desc; in virtqueue_packed_drop_all()
2007 vring_packed_desc_read(vdev, &desc, desc_cache, in virtqueue_packed_drop_all()
2014 while (virtqueue_packed_read_next_desc(vq, &desc, desc_cache, in virtqueue_packed_drop_all()
4276 MemoryRegionCache *desc_cache; in qmp_x_query_virtio_queue_element() local
4305 desc_cache = &caches->desc; in qmp_x_query_virtio_queue_element()
4306 vring_split_desc_read(vdev, &desc, desc_cache, i); in qmp_x_query_virtio_queue_element()
4311 desc_cache = &indirect_desc_cache; in qmp_x_query_virtio_queue_element()
4319 vring_split_desc_read(vdev, &desc, desc_cache, i); in qmp_x_query_virtio_queue_element()
4348 rc = virtqueue_split_read_next_desc(vdev, &desc, desc_cache, max); in qmp_x_query_virtio_queue_element()