Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/virtio/
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()
585 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_start()
604 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_stop()
623 while (virtqueue_get_buf(vq, &unused)) in get_free_page_and_send()
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-6.3-rc2/tools/virtio/
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()
A Dvirtio_test.c228 while (virtqueue_get_buf(vq->vq, &len)) { in run_test()
/linux-6.3-rc2/tools/virtio/linux/
A Dvirtio.h52 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux-6.3-rc2/sound/virtio/
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()
A Dvirtio_ctl_msg.c304 while ((msg = virtqueue_get_buf(vqueue, &length))) in virtsnd_ctl_notify_cb()
A Dvirtio_pcm_msg.c346 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
/linux-6.3-rc2/drivers/bluetooth/
A Dvirtio_bt.c225 skb = virtqueue_get_buf(vbt->vqs[VIRTBT_VQ_RX], &len); in virtbt_rx_work()
243 while ((skb = virtqueue_get_buf(vq, &len))) in virtbt_tx_done()
/linux-6.3-rc2/net/vmw_vsock/
A 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()
507 skb = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/linux-6.3-rc2/drivers/nvdimm/
A Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/linux-6.3-rc2/include/linux/
A Dvirtio.h70 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux-6.3-rc2/Documentation/driver-api/virtio/
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
/linux-6.3-rc2/drivers/char/
A Dvirtio_console.c469 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
562 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
591 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
637 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1705 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1728 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/linux-6.3-rc2/drivers/crypto/virtio/
A 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-6.3-rc2/drivers/rpmsg/
A 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-6.3-rc2/arch/um/drivers/
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-6.3-rc2/drivers/char/hw_random/
A Dvirtio-rng.c42 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) in random_recv_done()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-virtio.c53 while ((req = virtqueue_get_buf(vq, &len))) in virtio_i2c_msg_done()
/linux-6.3-rc2/drivers/gpio/
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-6.3-rc2/drivers/firmware/arm_scmi/
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()
/linux-6.3-rc2/drivers/iommu/
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-6.3-rc2/drivers/net/
A Dvirtio_net.c665 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in virtnet_xdp_xmit()
746 buf = virtqueue_get_buf(rq->vq, &buflen); in xdp_linearize_page()
1322 buf = virtqueue_get_buf(rq->vq, &len); in receive_mergeable()
1689 (buf = virtqueue_get_buf(rq->vq, &len)) != NULL) { in virtnet_receive()
1724 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in free_old_xmit_skbs()
2135 while (!virtqueue_get_buf(vi->cvq, &tmp) && in virtnet_send_command()
/linux-6.3-rc2/net/9p/
A Dtrans_virtio.c139 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/linux-6.3-rc2/fs/fuse/
A 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()

Completed in 46 milliseconds

12