Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/virtio/
Dvirtio_balloon.c164 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
190 wait_event(vb->acked, virtqueue_get_buf(vq, &unused)); in virtballoon_free_page_report()
389 if (!virtqueue_get_buf(vq, &len)) in stats_handle_request()
592 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_start()
611 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_stop()
630 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-v5.15/tools/virtio/
Dvringh_test.c335 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { in parallel_test()
412 dbuf = virtqueue_get_buf(vq, &len); in parallel_test()
563 ret = virtqueue_get_buf(vq, &i); in main()
625 ret = virtqueue_get_buf(vq, &i); in main()
658 assert(virtqueue_get_buf(vq, &len) != NULL); in main()
Dvirtio_test.c227 while (virtqueue_get_buf(vq->vq, &len)) { in run_test()
/Linux-v5.15/tools/virtio/linux/
Dvirtio.h49 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v5.15/drivers/bluetooth/
Dvirtio_bt.c215 skb = virtqueue_get_buf(vbt->vqs[VIRTBT_VQ_RX], &len); in virtbt_rx_work()
233 while ((skb = virtqueue_get_buf(vq, &len))) in virtbt_tx_done()
/Linux-v5.15/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.c347 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
/Linux-v5.15/drivers/nvdimm/
Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/Linux-v5.15/net/vmw_vsock/
Dvirtio_transport.c305 while ((pkt = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
410 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
541 pkt = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/Linux-v5.15/include/linux/
Dvirtio.h66 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v5.15/arch/um/drivers/
Dvirt-pci.c148 void *completed = virtqueue_get_buf(dev->cmd_vq, &len); in um_pci_send_cmd()
512 while ((cmd = virtqueue_get_buf(vq, &len))) { in um_pci_cmd_vq_cb()
524 while ((msg = virtqueue_get_buf(vq, &len))) { in um_pci_irq_vq_cb()
/Linux-v5.15/drivers/char/hw_random/
Dvirtio-rng.c35 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) in random_recv_done()
/Linux-v5.15/drivers/char/
Dvirtio_console.c476 buf = virtqueue_get_buf(port->in_vq, &len); in get_inbuf()
569 while (!virtqueue_get_buf(vq, &len) in __send_control_msg()
598 while ((buf = virtqueue_get_buf(port->out_vq, &len))) { in reclaim_consumed_buffers()
644 while (!virtqueue_get_buf(out_vq, &len) in __send_to_port()
1709 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1732 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/Linux-v5.15/drivers/rpmsg/
Dvirtio_rpmsg_bus.c454 ret = virtqueue_get_buf(vrp->svq, &len); in get_a_tx_buf()
776 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
789 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
/Linux-v5.15/drivers/i2c/busses/
Di2c-virtio.c119 req = virtqueue_get_buf(vq, &len); in virtio_i2c_complete_reqs()
/Linux-v5.15/drivers/crypto/virtio/
Dvirtio_crypto_algs.c179 while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && in virtio_crypto_alg_skcipher_init_session()
248 while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && in virtio_crypto_alg_skcipher_close_session()
Dvirtio_crypto_core.c36 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_dataq_callback()
/Linux-v5.15/drivers/gpio/
Dgpio-virtio.c195 line = virtqueue_get_buf(vq, &len); in virtio_gpio_request_vq()
/Linux-v5.15/drivers/firmware/arm_scmi/
Dvirtio.c147 msg = virtqueue_get_buf(vqueue, &length); in scmi_vio_complete_cb()
/Linux-v5.15/drivers/iommu/
Dvirtio-iommu.c167 req = virtqueue_get_buf(vq, &len); in __viommu_sync_req()
566 while ((evt = virtqueue_get_buf(vq, &len)) != NULL) { in viommu_event_handler()
/Linux-v5.15/drivers/net/
Dvirtio_net.c595 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in virtnet_xdp_xmit()
676 buf = virtqueue_get_buf(rq->vq, &buflen); in xdp_linearize_page()
1094 buf = virtqueue_get_buf(rq->vq, &len); in receive_mergeable()
1432 (buf = virtqueue_get_buf(rq->vq, &len)) != NULL) { in virtnet_receive()
1463 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in free_old_xmit_skbs()
1801 while (!virtqueue_get_buf(vi->cvq, &tmp) && in virtnet_send_command()
/Linux-v5.15/net/9p/
Dtrans_virtio.c140 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/Linux-v5.15/fs/fuse/
Dvirtio_fs.c331 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_hiprio_done_work()
612 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_requests_done_work()

12