Home
last modified time | relevance | path

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

12

/linux/tools/virtio/
H A Dvringh_test.c339 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { in parallel_test()
416 dbuf = virtqueue_get_buf(vq, &len); in parallel_test()
568 ret = virtqueue_get_buf(vq, &i); in main()
630 ret = virtqueue_get_buf(vq, &i); in main()
663 assert(virtqueue_get_buf(vq, &len) != NULL); in main()
H A Dvhost_net_test.c310 while (virtqueue_get_buf(vq->vq, &len)) { in run_tx_test()
379 while (virtqueue_get_buf(vq->vq, &len)) { in run_rx_test()
H A Dvirtio_test.c228 while (virtqueue_get_buf(vq->vq, &len)) { in run_test()
/linux/drivers/virtio/
H A Dvirtio_balloon.c195 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
221 wait_event(vb->acked, virtqueue_get_buf(vq, &unused)); in virtballoon_free_page_report()
455 if (!virtqueue_get_buf(vq, &len)) in stats_handle_request()
666 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_start()
685 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_stop()
704 while (virtqueue_get_buf(vq, &unused)) in get_free_page_and_send()
H A Dvirtio_input.c42 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events()
114 while ((stsbuf = virtqueue_get_buf(vi->sts, &len)) != NULL) in virtinput_recv_status()
/linux/tools/virtio/linux/
H A Dvirtio.h52 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux/sound/virtio/
H A Dvirtio_card.c93 while ((event = virtqueue_get_buf(vqueue, &length))) { in virtsnd_event_notify_cb()
184 while ((event = virtqueue_get_buf(queue->vqueue, &length))) in virtsnd_disable_event_vq()
H A Dvirtio_ctl_msg.c304 while ((msg = virtqueue_get_buf(vqueue, &length))) in virtsnd_ctl_notify_cb()
H A Dvirtio_pcm_msg.c359 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
/linux/drivers/bluetooth/
H A Dvirtio_bt.c226 skb = virtqueue_get_buf(vbt->vqs[VIRTBT_VQ_RX], &len); in virtbt_rx_work()
244 while ((skb = virtqueue_get_buf(vq, &len))) in virtbt_tx_done()
/linux/net/vmw_vsock/
H A Dvirtio_transport.c357 while ((skb = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
463 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
638 skb = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/linux/Documentation/driver-api/virtio/
H A Dwriting_virtio_drivers.rst43 while ((buf = virtqueue_get_buf(dev->vq, &len)) != NULL) {
167 driver and notifies it back, the driver can call virtqueue_get_buf() to
/linux/drivers/char/
H A Dvirtio_console.c467 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
560 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
589 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
635 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1673 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1696 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c40 while ((vc_ctrl_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_ctrlq_callback()
82 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_done_task()
/linux/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c456 ret = virtqueue_get_buf(vrp->svq, &len); in get_a_tx_buf()
786 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
799 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
/linux/arch/um/drivers/
H A Dvirt-pci.c157 void *completed = virtqueue_get_buf(dev->cmd_vq, &len); in um_pci_send_cmd()
526 while ((cmd = virtqueue_get_buf(vq, &len))) { in um_pci_cmd_vq_cb()
538 while ((msg = virtqueue_get_buf(vq, &len))) { in um_pci_irq_vq_cb()
/linux/include/linux/
H A Dvirtio.h85 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux/drivers/gpio/
H A Dgpio-virtio.c408 irq_line = virtqueue_get_buf(vgpio->event_vq, &len); in virtio_gpio_event_vq()
442 line = virtqueue_get_buf(vq, &len); in virtio_gpio_request_vq()
/linux/drivers/firmware/arm_scmi/transports/
H A Dvirtio.c289 msg = virtqueue_get_buf(vqueue, &length); in scmi_vio_complete_cb()
714 while ((next_msg = virtqueue_get_buf(vioch->vqueue, &length))) { in virtio_poll_done()
/linux/drivers/i2c/busses/
H A Di2c-virtio.c53 while ((req = virtqueue_get_buf(vq, &len))) in virtio_i2c_msg_done()
/linux/drivers/scsi/
H A Dvirtio_scsi.c188 while ((buf = virtqueue_get_buf(vq, &len)) != NULL) in virtscsi_vq_done()
764 while ((buf = virtqueue_get_buf(virtscsi_vq->vq, &len)) != NULL) { in virtscsi_mq_poll()
/linux/drivers/iommu/
H A Dvirtio-iommu.c167 req = virtqueue_get_buf(vq, &len); in __viommu_sync_req()
620 while ((evt = virtqueue_get_buf(vq, &len)) != NULL) { in viommu_event_handler()
/linux/net/9p/
H A Dtrans_virtio.c139 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/linux/drivers/block/
H A Dvirtio_blk.c363 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done()
1210 while ((vbr = virtqueue_get_buf(vq->vq, &len)) != NULL) { in virtblk_poll()
/linux/drivers/net/caif/
H A Dcaif_virtio.c173 buf_info = virtqueue_get_buf(vq_tx, &len); in cfv_release_used_buf()

12