Searched refs:shadow_avail_idx (Results 1 – 8 of 8) sorted by relevance
209 avail_idx = svq->shadow_avail_idx & (svq->vring.num - 1); in vhost_svq_add_split()211 svq->shadow_avail_idx++; in vhost_svq_add_split()215 avail->idx = cpu_to_le16(svq->shadow_avail_idx); in vhost_svq_add_split()232 … needs_kick = vring_need_event(avail_event, svq->shadow_avail_idx, svq->shadow_avail_idx - 1); in vhost_svq_kick()664 svq->shadow_avail_idx = 0; in vhost_svq_start()
130 uint16_t shadow_avail_idx; member377 return vq->shadow_avail_idx; in vring_avail_idx()1177 avail_idx = (vq->shadow_avail_idx != idx) ? vq->shadow_avail_idx in virtqueue_num_heads()1482 vq->shadow_avail_idx = idx; in virtqueue_packed_get_avail_bytes()1534 return (int)vq->shadow_avail_idx; in virtqueue_get_avail_bytes()1954 vq->shadow_avail_idx = vq->last_avail_idx; in virtqueue_packed_pop()2273 vdev->vq[i].shadow_avail_idx = 0; in __virtio_queue_reset()2464 vq->shadow_avail_idx = shadow_avail_idx & 0x7FFF; in virtio_queue_set_shadow_avail_idx()2466 vq->shadow_avail_idx = shadow_avail_idx; in virtio_queue_set_shadow_avail_idx()3623 vdev->vq[n].shadow_avail_idx = idx; in virtio_queue_split_set_last_avail_idx()[all …]
100 uint16_t shadow_avail_idx; member
250 s->shadow_avail_idx); in hmp_virtio_queue_status()
99 uint16_t shadow_avail_idx; member256 vq->shadow_avail_idx = vq->last_avail_idx = vq->inuse + vq->used_idx; in vduse_queue_check_inflights()431 vq->shadow_avail_idx = le16toh(vq->vring.avail->idx); in vring_avail_idx()433 return vq->shadow_avail_idx; in vring_avail_idx()532 if (vq->shadow_avail_idx != vq->last_avail_idx) { in vduse_queue_empty()
1244 vq->shadow_avail_idx = vq->last_avail_idx = vq->used_idx; in vu_set_vring_addr_exec()1259 dev->vq[index].shadow_avail_idx = dev->vq[index].last_avail_idx = num; in vu_set_vring_base_exec()1369 vq->shadow_avail_idx = vq->last_avail_idx = vq->inuse + vq->used_idx; in vu_check_queue_inflights()2336 vq->shadow_avail_idx = le16toh(vq->vring.avail->idx); in vring_avail_idx()2338 return vq->shadow_avail_idx; in vring_avail_idx()2361 idx, vq->shadow_avail_idx); in virtqueue_num_heads()2580 if (vq->shadow_avail_idx != vq->last_avail_idx) { in vu_queue_empty()
353 uint16_t shadow_avail_idx; member
527 # @shadow-avail-idx: VirtQueue shadow_avail_idx572 # shadow_avail_idx will not be displayed in the case where the