Home
last modified time | relevance | path

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

12

/linux/drivers/misc/
H A Dnsm.c232 queue_buf = virtqueue_get_buf(vq, &len); in nsm_sendrecv_msg_locked()
239 queue_buf = virtqueue_get_buf(vq, &len); in nsm_sendrecv_msg_locked()
253 while (virtqueue_get_buf(vq, &len) != NULL) in nsm_sendrecv_msg_locked()
/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/tools/virtio/linux/
H A Dvirtio.h52 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/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_rtc_driver.c250 token = virtqueue_get_buf(vq, &len); in viortc_do_cb()
H A Dvirtio_pci_modern.c59 while ((cmd = virtqueue_get_buf(vq, &len))) { in vp_modern_avq_done()
/linux/arch/um/drivers/
H A Dvirtio_pcidev.c180 void *completed = virtqueue_get_buf(dev->cmd_vq, &len); in virtio_pcidev_send_cmd()
445 while ((cmd = virtqueue_get_buf(vq, &len))) in virtio_pcidev_cmd_vq_cb()
454 while ((msg = virtqueue_get_buf(vq, &len))) { in virtio_pcidev_irq_vq_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/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/nvdimm/
H A Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/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.c468 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
561 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
590 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
636 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1671 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1694 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/include/linux/
H A Dvirtio.h86 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux/drivers/i2c/busses/
H A Di2c-virtio.c53 while ((req = virtqueue_get_buf(vq, &len))) in virtio_i2c_msg_done()
/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/gpio/
H A Dgpio-virtio.c396 irq_line = virtqueue_get_buf(vgpio->event_vq, &len); in virtio_gpio_event_vq()
430 line = virtqueue_get_buf(vq, &len); in virtio_gpio_request_vq()
/linux/drivers/scsi/
H A Dvirtio_scsi.c187 while ((buf = virtqueue_get_buf(vq, &len)) != NULL) in virtscsi_vq_done()
763 while ((buf = virtqueue_get_buf(virtscsi_vq->vq, &len)) != NULL) { in virtscsi_mq_poll()
/linux/drivers/iommu/
H A Dvirtio-iommu.c168 req = virtqueue_get_buf(vq, &len); in __viommu_sync_req()
637 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/net/caif/
H A Dcaif_virtio.c173 buf_info = virtqueue_get_buf(vq_tx, &len); in cfv_release_used_buf()

12