Home
last modified time | relevance | path

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

/Linux-v5.10/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.c41 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events()
98 while ((stsbuf = virtqueue_get_buf(vi->sts, &len)) != NULL) in virtinput_recv_status()
Dvirtio_ring.c1904 void *virtqueue_get_buf(struct virtqueue *_vq, unsigned int *len) in virtqueue_get_buf() function
1908 EXPORT_SYMBOL_GPL(virtqueue_get_buf);
Dvirtio_mem.c859 wait_event(vm->host_resp, virtqueue_get_buf(vm->vq, &len)); in virtio_mem_send_request()
/Linux-v5.10/tools/virtio/linux/
Dvirtio.h47 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v5.10/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.10/drivers/nvdimm/
Dnd_virtio.c21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/Linux-v5.10/net/vmw_vsock/
Dvirtio_transport.c304 while ((pkt = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
406 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
515 pkt = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/Linux-v5.10/include/linux/
Dvirtio.h66 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/Linux-v5.10/drivers/char/hw_random/
Dvirtio-rng.c35 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) in random_recv_done()
/Linux-v5.10/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()
1712 while ((buf = virtqueue_get_buf(vq, &len))) { in control_work_handler()
1735 while ((buf = virtqueue_get_buf(vq, &len))) in flush_bufs()
/Linux-v5.10/drivers/rpmsg/
Dvirtio_rpmsg_bus.c463 ret = virtqueue_get_buf(vrp->svq, &len); in get_a_tx_buf()
784 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
797 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
/Linux-v5.10/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.10/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.10/drivers/net/
Dvirtio_net.c524 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in virtnet_xdp_xmit()
606 buf = virtqueue_get_buf(rq->vq, &buflen); in xdp_linearize_page()
1018 buf = virtqueue_get_buf(rq->vq, &len); in receive_mergeable()
1356 (buf = virtqueue_get_buf(rq->vq, &len)) != NULL) { in virtnet_receive()
1387 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in free_old_xmit_skbs()
1690 while (!virtqueue_get_buf(vi->cvq, &tmp) && in virtnet_send_command()
/Linux-v5.10/net/9p/
Dtrans_virtio.c136 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
/Linux-v5.10/fs/fuse/
Dvirtio_fs.c330 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_hiprio_done_work()
611 while ((req = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_fs_requests_done_work()
/Linux-v5.10/drivers/net/caif/
Dcaif_virtio.c173 buf_info = virtqueue_get_buf(vq_tx, &len); in cfv_release_used_buf()
/Linux-v5.10/drivers/scsi/
Dvirtio_scsi.c183 while ((buf = virtqueue_get_buf(vq, &len)) != NULL) in virtscsi_vq_done()
/Linux-v5.10/drivers/block/
Dvirtio_blk.c186 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done()
/Linux-v5.10/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c192 while ((vbuf = virtqueue_get_buf(vq, &len))) { in reclaim_vbufs()
/Linux-v5.10/drivers/net/wireless/
Dmac80211_hwsim.c4146 while ((skb = virtqueue_get_buf(vq, &len))) in hwsim_virtio_tx_done()
4197 skb = virtqueue_get_buf(hwsim_vqs[HWSIM_VQ_RX], &len); in hwsim_virtio_rx_work()