Lines Matching defs:heads
503 kfree(vq->heads);
504 vq->heads = NULL;
519 vq->heads = kmalloc_objs(*vq->heads, dev->iov_limit);
522 if (!vq->indirect || !vq->log || !vq->heads || !vq->nheads)
613 vq->heads = NULL;
2990 struct vring_used_elem heads = {
2996 return vhost_add_used_n(vq, &heads, &nheads, 1);
3001 struct vring_used_elem *heads,
3010 if (vhost_put_used(vq, heads, start, count)) {
3033 struct vring_used_elem *heads,
3041 r = __vhost_add_used_n(vq, heads, n);
3044 heads += n;
3047 return __vhost_add_used_n(vq, heads, count);
3051 struct vring_used_elem *heads,
3066 if (vhost_put_used(vq, &heads[i], start, 1)) {
3100 int vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads,
3107 r = vhost_add_used_n_ooo(vq, heads, count);
3109 r = vhost_add_used_n_in_order(vq, heads, nheads, count);
3192 struct vring_used_elem *heads,
3196 vhost_add_used_n(vq, heads, nheads, count);