Lines Matching defs:heads
388 kfree(vq->heads);
389 vq->heads = NULL;
405 vq->heads = kmalloc_array(dev->iov_limit, sizeof(*vq->heads),
407 if (!vq->indirect || !vq->log || !vq->heads)
501 vq->heads = NULL;
2360 struct vring_used_elem heads = {
2365 return vhost_add_used_n(vq, &heads, 1);
2370 struct vring_used_elem *heads,
2379 if (vhost_put_used(vq, heads, start, count)) {
2403 int vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads,
2411 r = __vhost_add_used_n(vq, heads, n);
2414 heads += n;
2417 r = __vhost_add_used_n(vq, heads, count);
2497 struct vring_used_elem *heads, unsigned count)
2499 vhost_add_used_n(vq, heads, count);