Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/vhost/
Dnet.c113 int upend_idx; member
310 n->vqs[i].upend_idx = 0; in vhost_net_vq_reset()
366 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used()
604 return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > in vhost_exceeds_maxpend()
908 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy()
909 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx_zerocopy()
910 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; in handle_tx_zerocopy()
912 ubuf->desc = nvq->upend_idx; in handle_tx_zerocopy()
922 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx_zerocopy()
940 nvq->upend_idx = ((unsigned)nvq->upend_idx - 1) in handle_tx_zerocopy()
[all …]