Home
last modified time | relevance | path

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

/Linux-v5.4/tools/virtio/linux/
Dvirtio.h48 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v5.4/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-v5.4/drivers/virtio/
Dvirtio_balloon.c151 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
347 if (!virtqueue_get_buf(vq, &len)) in stats_handle_request()
543 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_start()
562 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_stop()
581 while (virtqueue_get_buf(vq, &unused)) in get_free_page_and_send()
Dvirtio_input.c40 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events()
97 while ((stsbuf = virtqueue_get_buf(vi->sts, &len)) != NULL) in virtinput_recv_status()
Dvirtio_ring.c1904 void *virtqueue_get_buf(struct virtqueue *_vq, unsigned int *len) in virtqueue_get_buf() function
1908 EXPORT_SYMBOL_GPL(virtqueue_get_buf);
/Linux-v5.4/drivers/nvdimm/
Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/Linux-v5.4/include/linux/
Dvirtio.h67 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v5.4/net/vmw_vsock/
Dvirtio_transport.c348 while ((pkt = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
400 pkt = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
503 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
/Linux-v5.4/drivers/char/hw_random/
Dvirtio-rng.c34 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) in random_recv_done()
/Linux-v5.4/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-v5.4/drivers/char/
Dvirtio_console.c476 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
569 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
598 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
644 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1714 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1737 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/Linux-v5.4/drivers/crypto/virtio/
Dvirtio_crypto_algs.c180 while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && in virtio_crypto_alg_ablkcipher_init_session()
249 while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && in virtio_crypto_alg_ablkcipher_close_session()
Dvirtio_crypto_core.c36 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_dataq_callback()
/Linux-v5.4/drivers/net/
Dvirtio_net.c517 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in virtnet_xdp_xmit()
599 buf = virtqueue_get_buf(rq->vq, &buflen); in xdp_linearize_page()
992 buf = virtqueue_get_buf(rq->vq, &len); in receive_mergeable()
1328 (buf = virtqueue_get_buf(rq->vq, &len)) != NULL) { in virtnet_receive()
1359 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in free_old_xmit_skbs()
1662 while (!virtqueue_get_buf(vi->cvq, &tmp) && in virtnet_send_command()
/Linux-v5.4/drivers/iommu/
Dvirtio-iommu.c168 req = virtqueue_get_buf(vq, &len); in __viommu_sync_req()
567 while ((evt = virtqueue_get_buf(vq, &len)) != NULL) { in viommu_event_handler()
/Linux-v5.4/fs/fuse/
Dvirtio_fs.c252 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_hiprio_done_work()
466 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_requests_done_work()
/Linux-v5.4/net/9p/
Dtrans_virtio.c136 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/Linux-v5.4/drivers/net/caif/
Dcaif_virtio.c173 buf_info = virtqueue_get_buf(vq_tx, &len); in cfv_release_used_buf()
/Linux-v5.4/drivers/scsi/
Dvirtio_scsi.c183 while ((buf = virtqueue_get_buf(vq, &len)) != NULL) in virtscsi_vq_done()
/Linux-v5.4/drivers/block/
Dvirtio_blk.c241 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done()
/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c168 while ((vbuf = virtqueue_get_buf(vq, &len))) { in reclaim_vbufs()