Home
last modified time | relevance | path

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

/Linux-v4.19/tools/virtio/linux/
Dvirtio.h48 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v4.19/tools/virtio/
Dvringh_test.c334 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { in parallel_test()
411 dbuf = virtqueue_get_buf(vq, &len); in parallel_test()
561 ret = virtqueue_get_buf(vq, &i); in main()
623 ret = virtqueue_get_buf(vq, &i); in main()
656 assert(virtqueue_get_buf(vq, &len) != NULL); in main()
Dvirtio_test.c183 if (virtqueue_get_buf(vq->vq, &len)) { in run_test()
/Linux-v4.19/net/vmw_vsock/
Dvirtio_transport.c313 while ((pkt = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
360 pkt = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
460 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
/Linux-v4.19/include/linux/
Dvirtio.h67 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v4.19/drivers/char/hw_random/
Dvirtio-rng.c47 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) in random_recv_done()
/Linux-v4.19/drivers/virtio/
Dvirtio_input.c39 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events()
96 while ((stsbuf = virtqueue_get_buf(vi->sts, &len)) != NULL) in virtinput_recv_status()
Dvirtio_balloon.c120 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
316 if (!virtqueue_get_buf(vq, &len)) in stats_handle_request()
Dvirtio_ring.c756 void *virtqueue_get_buf(struct virtqueue *_vq, unsigned int *len) in virtqueue_get_buf() function
760 EXPORT_SYMBOL_GPL(virtqueue_get_buf);
/Linux-v4.19/drivers/rpmsg/
Dvirtio_rpmsg_bus.c457 ret = virtqueue_get_buf(vrp->svq, &len); in get_a_tx_buf()
774 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
787 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
/Linux-v4.19/drivers/char/
Dvirtio_console.c489 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
582 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
611 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
657 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1736 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1759 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/Linux-v4.19/drivers/crypto/virtio/
Dvirtio_crypto_algs.c194 while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && in virtio_crypto_alg_ablkcipher_init_session()
263 while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && in virtio_crypto_alg_ablkcipher_close_session()
Dvirtio_crypto_core.c48 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_dataq_callback()
/Linux-v4.19/drivers/net/
Dvirtio_net.c509 while ((xdpf_sent = virtqueue_get_buf(sq->vq, &len)) != NULL) in virtnet_xdp_xmit()
577 buf = virtqueue_get_buf(rq->vq, &buflen); in xdp_linearize_page()
968 buf = virtqueue_get_buf(rq->vq, &len); in receive_mergeable()
1303 (buf = virtqueue_get_buf(rq->vq, &len)) != NULL) { in virtnet_receive()
1334 while ((skb = virtqueue_get_buf(sq->vq, &len)) != NULL) { in free_old_xmit_skbs()
1610 while (!virtqueue_get_buf(vi->cvq, &tmp) && in virtnet_send_command()
/Linux-v4.19/net/9p/
Dtrans_virtio.c151 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/Linux-v4.19/drivers/net/caif/
Dcaif_virtio.c173 buf_info = virtqueue_get_buf(vq_tx, &len); in cfv_release_used_buf()
/Linux-v4.19/drivers/scsi/
Dvirtio_scsi.c222 while ((buf = virtqueue_get_buf(vq, &len)) != NULL) in virtscsi_vq_done()
/Linux-v4.19/drivers/block/
Dvirtio_blk.c201 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c187 while ((vbuf = virtqueue_get_buf(vq, &len))) { in reclaim_vbufs()