Home
last modified time | relevance | path

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

/linux/drivers/misc/
H A Dnsm.c232 queue_buf = virtqueue_get_buf(vq, &len); in nsm_sendrecv_msg_locked()
239 queue_buf = virtqueue_get_buf(vq, &len); in nsm_sendrecv_msg_locked()
253 while (virtqueue_get_buf(vq, &len) != NULL) in nsm_sendrecv_msg_locked()
/linux/tools/virtio/
H A Dvringh_test.c344 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { in parallel_test()
421 dbuf = virtqueue_get_buf(vq, &len); in parallel_test()
573 ret = virtqueue_get_buf(vq, &i); in main()
635 ret = virtqueue_get_buf(vq, &i); in main()
668 assert(virtqueue_get_buf(vq, &len) != NULL); in main()
H A Dvhost_net_test.c310 while (virtqueue_get_buf(vq->vq, &len)) { in run_tx_test()
379 while (virtqueue_get_buf(vq->vq, &len)) { in run_rx_test()
H A Dvirtio_test.c228 while (virtqueue_get_buf(vq->vq, &len)) { in run_test()
/linux/drivers/virtio/
H A Dvirtio_balloon.c199 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
224 wait_event(vb->acked, virtqueue_get_buf(vq, &unused)); in virtballoon_free_page_report()
454 if (!virtqueue_get_buf(vq, &len)) in stats_handle_request()
670 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_start()
689 while (virtqueue_get_buf(vq, &unused)) in send_cmd_id_stop()
708 while (virtqueue_get_buf(vq, &unused)) in get_free_page_and_send()
H A Dvirtio_input.c45 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events()
117 while ((stsbuf = virtqueue_get_buf(vi->sts, &len)) != NULL) in virtinput_recv_status()
H A Dvirtio_rtc_driver.c250 token = virtqueue_get_buf(vq, &len); in viortc_do_cb()
H A Dvirtio_pci_modern.c59 while ((cmd = virtqueue_get_buf(vq, &len))) { in vp_modern_avq_done()
H A Dvirtio_ring.c3133 void *virtqueue_get_buf(struct virtqueue *_vq, unsigned int *len) in virtqueue_get_buf() function
3137 EXPORT_SYMBOL_GPL(virtqueue_get_buf);
H A Dvirtio_mem.c1414 wait_event(vm->host_resp, virtqueue_get_buf(vm->vq, &len)); in virtio_mem_send_request()
/linux/arch/um/drivers/
H A Dvirtio_pcidev.c180 void *completed = virtqueue_get_buf(dev->cmd_vq, &len); in virtio_pcidev_send_cmd()
445 while ((cmd = virtqueue_get_buf(vq, &len))) in virtio_pcidev_cmd_vq_cb()
454 while ((msg = virtqueue_get_buf(vq, &len))) { in virtio_pcidev_irq_vq_cb()
/linux/drivers/nvdimm/
H A Dnd_virtio.c105 while ((req = virtqueue_get_buf(vpmem->req_vq, &len)) != NULL) { in virtio_pmem_drain()
128 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
/linux/sound/virtio/
H A Dvirtio_card.c92 while ((event = virtqueue_get_buf(vqueue, &length))) { in virtsnd_event_notify_cb()
180 while ((event = virtqueue_get_buf(queue->vqueue, &length))) in virtsnd_disable_event_vq()
H A Dvirtio_pcm_msg.c351 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
/linux/drivers/bluetooth/
H A Dvirtio_bt.c248 skb = virtqueue_get_buf(vbt->vqs[VIRTBT_VQ_RX], &len); in virtbt_rx_work()
273 while ((skb = virtqueue_get_buf(vq, &len))) in virtbt_tx_done()
/linux/net/vmw_vsock/
H A Dvirtio_transport.c361 while ((skb = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_tx_work()
467 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
660 skb = virtqueue_get_buf(vq, &len); in virtio_transport_rx_work()
/linux/Documentation/driver-api/virtio/
H A Dwriting_virtio_drivers.rst43 while ((buf = virtqueue_get_buf(dev->vq, &len)) != NULL) {
167 driver and notifies it back, the driver can call virtqueue_get_buf() to
/linux/drivers/i2c/busses/
H A Di2c-virtio.c53 while ((req = virtqueue_get_buf(vq, &len))) in virtio_i2c_msg_done()
/linux/include/linux/
H A Dvirtio.h102 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len);
/linux/drivers/iommu/
H A Dvirtio-iommu.c168 req = virtqueue_get_buf(vq, &len); in __viommu_sync_req()
637 while ((evt = virtqueue_get_buf(vq, &len)) != NULL) { in viommu_event_handler()
/linux/drivers/net/
H A Dvirtio_net.c588 while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { in __free_old_xmit()
1157 xdp = virtqueue_get_buf(rq->vq, &len); in xsk_drop_follow_bufs()
1185 buf = virtqueue_get_buf(rq->vq, &len); in xsk_append_merge_buffer()
2878 buf = virtqueue_get_buf(rq->vq, &len); in virtnet_receive_xsk_bufs()
2908 (buf = virtqueue_get_buf(rq->vq, &len)) != NULL) { in virtnet_receive_packets()
3599 while (!virtqueue_get_buf(vi->cvq, &tmp) && in virtnet_send_command_reply()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c217 while ((vbuf = virtqueue_get_buf(vq, &len))) { in reclaim_vbufs()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim_main.c7291 while ((skb = virtqueue_get_buf(vq, &len))) in hwsim_virtio_tx_done()
7349 skb = virtqueue_get_buf(hwsim_vqs[HWSIM_VQ_RX], &len); in hwsim_virtio_rx_work()