Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
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()
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.1.9/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-6.1.9/tools/virtio/linux/
Dvirtio.h52 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux-6.1.9/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-6.1.9/drivers/bluetooth/
Dvirtio_bt.c218 skb = virtqueue_get_buf(vbt->vqs[VIRTBT_VQ_RX], &len); in virtbt_rx_work()
236 while ((skb = virtqueue_get_buf(vq, &len))) in virtbt_tx_done()
/linux-6.1.9/drivers/nvdimm/
Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/linux-6.1.9/arch/um/drivers/
Dvirt-pci.c149 void *completed = virtqueue_get_buf(dev->cmd_vq, &len); in um_pci_send_cmd()
515 while ((cmd = virtqueue_get_buf(vq, &len))) { in um_pci_cmd_vq_cb()
527 while ((msg = virtqueue_get_buf(vq, &len))) { in um_pci_irq_vq_cb()
/linux-6.1.9/net/vmw_vsock/
Dvirtio_transport.c306 while ((pkt = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
412 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
543 pkt = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/linux-6.1.9/include/linux/
Dvirtio.h70 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux-6.1.9/drivers/char/
Dvirtio_console.c477 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
570 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
599 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
645 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1710 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1733 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/char/hw_random/
Dvirtio-rng.c42 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) in random_recv_done()
/linux-6.1.9/drivers/i2c/busses/
Di2c-virtio.c53 while ((req = virtqueue_get_buf(vq, &len))) in virtio_i2c_msg_done()
/linux-6.1.9/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-6.1.9/drivers/firmware/arm_scmi/
Dvirtio.c284 msg = virtqueue_get_buf(vqueue, &length); in scmi_vio_complete_cb()
728 while ((next_msg = virtqueue_get_buf(vioch->vqueue, &length))) { in virtio_poll_done()
/linux-6.1.9/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-6.1.9/drivers/block/
Dvirtio_blk.c287 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done()
862 while ((vbr = virtqueue_get_buf(vq->vq, &len)) != NULL) { in virtblk_poll()
/linux-6.1.9/drivers/net/
Dvirtio_net.c660 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in virtnet_xdp_xmit()
741 buf = virtqueue_get_buf(rq->vq, &buflen); in xdp_linearize_page()
1191 buf = virtqueue_get_buf(rq->vq, &len); in receive_mergeable()
1561 (buf = virtqueue_get_buf(rq->vq, &len)) != NULL) { in virtnet_receive()
1596 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in free_old_xmit_skbs()
2007 while (!virtqueue_get_buf(vi->cvq, &tmp) && in virtnet_send_command()
/linux-6.1.9/net/9p/
Dtrans_virtio.c140 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/linux-6.1.9/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()

12