Lines Matching defs:heads
426 kfree(vq->heads);
427 vq->heads = NULL;
443 vq->heads = kmalloc_array(dev->iov_limit, sizeof(*vq->heads),
445 if (!vq->indirect || !vq->log || !vq->heads)
535 vq->heads = NULL;
2646 struct vring_used_elem heads = {
2651 return vhost_add_used_n(vq, &heads, 1);
2656 struct vring_used_elem *heads,
2665 if (vhost_put_used(vq, heads, start, count)) {
2689 int vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads,
2697 r = __vhost_add_used_n(vq, heads, n);
2700 heads += n;
2703 r = __vhost_add_used_n(vq, heads, count);
2783 struct vring_used_elem *heads, unsigned count)
2785 vhost_add_used_n(vq, heads, count);