Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/virtio/
H A Dvirtio_net.c102 if (virtqueue_get_buf(priv->tx_vq, NULL)) in virtio_net_send()
115 buf = virtqueue_get_buf(priv->rx_vq, &len); in virtio_net_recv()
H A Dvirtio_blk.c51 while (!virtqueue_get_buf(priv->vq, NULL)) in virtio_blk_do_req()
H A Dvirtio_ring.c160 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len) in virtqueue_get_buf() function
/openbmc/linux/drivers/virtio/
H A 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()
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()
/openbmc/linux/tools/virtio/
H A 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()
H A Dvirtio_test.c228 while (virtqueue_get_buf(vq->vq, &len)) { in run_test()
/openbmc/linux/tools/virtio/linux/
H A Dvirtio.h52 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/openbmc/linux/sound/virtio/
H A 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()
H A Dvirtio_ctl_msg.c304 while ((msg = virtqueue_get_buf(vqueue, &length))) in virtsnd_ctl_notify_cb()
H A Dvirtio_pcm_msg.c346 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
/openbmc/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()
/openbmc/u-boot/include/
H A Dvirtio_ring.h211 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/openbmc/linux/net/vmw_vsock/
H A Dvirtio_transport.c271 while ((skb = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
377 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
511 skb = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/openbmc/linux/drivers/nvdimm/
H A Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/openbmc/linux/drivers/char/
H A 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()
/openbmc/linux/Documentation/driver-api/virtio/
H A 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
/openbmc/linux/include/linux/
H A Dvirtio.h73 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c40 while ((vc_ctrl_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_ctrlq_callback()
84 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_done_task()
/openbmc/linux/drivers/char/hw_random/
H A Dvirtio-rng.c44 if (!virtqueue_get_buf(vi->vq, &len)) in random_recv_done()
/openbmc/linux/drivers/firmware/arm_scmi/
H A 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()
/openbmc/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()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-virtio.c53 while ((req = virtqueue_get_buf(vq, &len))) in virtio_i2c_msg_done()

12