Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/virtio/
Dvirtio_balloon.c157 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
183 wait_event(vb->acked, virtqueue_get_buf(vq, &unused)); in virtballoon_free_page_report()
382 if (!virtqueue_get_buf(vq, &len)) in stats_handle_request()
589 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_start()
608 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_stop()
627 while (virtqueue_get_buf(vq, &unused)) in get_free_page_and_send()
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-v6.6/tools/virtio/
Dvringh_test.c336 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { in parallel_test()
413 dbuf = virtqueue_get_buf(vq, &len); in parallel_test()
565 ret = virtqueue_get_buf(vq, &i); in main()
627 ret = virtqueue_get_buf(vq, &i); in main()
660 assert(virtqueue_get_buf(vq, &len) != NULL); in main()
Dvirtio_test.c228 while (virtqueue_get_buf(vq->vq, &len)) { in run_test()
/Linux-v6.6/tools/virtio/linux/
Dvirtio.h52 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v6.6/sound/virtio/
Dvirtio_card.c90 while ((event = virtqueue_get_buf(vqueue, &length))) { in virtsnd_event_notify_cb()
186 while ((event = virtqueue_get_buf(queue->vqueue, &length))) in virtsnd_disable_event_vq()
Dvirtio_ctl_msg.c304 while ((msg = virtqueue_get_buf(vqueue, &length))) in virtsnd_ctl_notify_cb()
Dvirtio_pcm_msg.c346 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
/Linux-v6.6/drivers/bluetooth/
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-v6.6/net/vmw_vsock/
Dvirtio_transport.c270 while ((skb = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
376 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
509 skb = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/Linux-v6.6/drivers/nvdimm/
Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/Linux-v6.6/Documentation/driver-api/virtio/
Dwriting_virtio_drivers.rst43 while ((buf = virtqueue_get_buf(dev->vq, &len)) != NULL) {
168 driver and notifies it back, the driver can call virtqueue_get_buf() to
/Linux-v6.6/drivers/char/
Dvirtio_console.c470 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
563 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
592 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
638 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1706 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1729 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/Linux-v6.6/include/linux/
Dvirtio.h73 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v6.6/drivers/crypto/virtio/
Dvirtio_crypto_core.c40 while ((vc_ctrl_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_ctrlq_callback()
86 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_dataq_callback()
/Linux-v6.6/drivers/rpmsg/
Dvirtio_rpmsg_bus.c455 ret = virtqueue_get_buf(vrp->svq, &len); in get_a_tx_buf()
785 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
798 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
/Linux-v6.6/arch/um/drivers/
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-v6.6/drivers/char/hw_random/
Dvirtio-rng.c44 if (!virtqueue_get_buf(vi->vq, &len)) in random_recv_done()
/Linux-v6.6/drivers/i2c/busses/
Di2c-virtio.c53 while ((req = virtqueue_get_buf(vq, &len))) in virtio_i2c_msg_done()
/Linux-v6.6/drivers/firmware/arm_scmi/
Dvirtio.c284 msg = virtqueue_get_buf(vqueue, &length); in scmi_vio_complete_cb()
726 while ((next_msg = virtqueue_get_buf(vioch->vqueue, &length))) { in virtio_poll_done()
/Linux-v6.6/drivers/gpio/
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-v6.6/drivers/iommu/
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-v6.6/net/9p/
Dtrans_virtio.c139 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/Linux-v6.6/fs/fuse/
Dvirtio_fs.c344 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_hiprio_done_work()
625 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_requests_done_work()
/Linux-v6.6/drivers/net/caif/
Dcaif_virtio.c173 buf_info = virtqueue_get_buf(vq_tx, &len); in cfv_release_used_buf()

12