Lines Matching defs:head
234 int head;
483 int head, ret;
492 head = vhost_get_vq_desc(vq, vq->iov,
495 if (head < 0) {
499 if (head == vq->num) {
521 vhost_add_used_and_signal(&vs->dev, vq, head, 0);
825 int head, unsigned out)
836 vhost_add_used_and_signal(&vs->dev, vq, head, 0);
847 vc->head = vhost_get_vq_desc(vq, vq->iov,
851 pr_debug("vhost_get_vq_desc: head: %d, out: %u in: %u\n",
852 vc->head, vc->out, vc->in);
855 if (unlikely(vc->head < 0))
859 if (vc->head == vq->num) {
1134 cmd->tvc_vq_desc = vc.head;
1154 vhost_scsi_send_bad_target(vs, vq, vc.head, vc.out);
1233 tmf->vq_desc = vc->head;
1248 vhost_scsi_send_tmf_resp(vs, vq, vc->in, vc->head, &vq->iov[vc->out],
1269 vhost_add_used_and_signal(&vs->dev, vq, vc->head, 0);
1377 vhost_scsi_send_bad_target(vs, vq, vc.head, vc.out);