Lines Matching defs:outcnt
323 int outcnt = 0, incnt = 0;
331 sgs[outcnt + incnt] = &vcmd;
332 outcnt++;
335 sgs[outcnt + incnt] = vout;
336 outcnt++;
341 sgs[outcnt + incnt] = &vresp;
346 ret = virtqueue_add_sgs(vq, sgs, outcnt, incnt, vbuf, GFP_ATOMIC);
349 wait_event(vgdev->ctrlq.ack_queue, vq->num_free >= outcnt + incnt);
370 int outcnt = 0;
375 &outcnt);
382 outcnt = 1;
397 if (vq->num_free < 2 + outcnt) {
453 int outcnt;
460 outcnt = 1;
464 ret = virtqueue_add_sgs(vq, sgs, outcnt, 0, vbuf, GFP_ATOMIC);
467 wait_event(vgdev->cursorq.ack_queue, vq->num_free >= outcnt);