Searched refs:virtio_queue_empty (Results 1 – 9 of 9) sorted by relevance
87 if (!virtio_queue_empty(vrng->vq)) { in chr_read()
346 } while (!virtio_queue_empty(svq->vq)); in vhost_handle_guest_kick()
738 int virtio_queue_empty(VirtQueue *vq) in virtio_queue_empty() function2041 while (!virtio_queue_empty(vq) && vq->inuse < vq->vring.num) { in virtqueue_split_drop_all()2593 !vq->inuse && virtio_queue_empty(vq)) { in virtio_split_should_notify()3765 return vq->vring.desc && !virtio_queue_empty(vq); in virtio_queue_host_notifier_aio_poll()
965 if (virtio_queue_empty(q->dataq)) { in virtio_crypto_dataq_bh()
314 int virtio_queue_empty(VirtQueue *vq);
315 virtio_queue_empty(vq)) { in virtio_serial_guest_ready()
867 } while (ret != -EINVAL && !virtio_queue_empty(vq)); in virtio_scsi_handle_cmd_vq()
999 } while (!virtio_queue_empty(vq)); in virtio_blk_handle_vq()
1649 while (virtio_queue_empty(q->rx_vq) || n->mergeable_rx_bufs) { in virtio_net_has_buffers()