Lines Matching refs:aiov
317 struct iovec aiov[2];
330 bzero(&aiov, sizeof(aiov));
334 aiov[0].iov_base = alq->aq_entbuf + alq->aq_writetail;
338 totlen = aiov[0].iov_len = alq->aq_writehead - alq->aq_writetail;
341 totlen = aiov[0].iov_len = alq->aq_buflen - alq->aq_writetail -
345 * Buffer wrapped, requires 2 aiov entries:
349 aiov[0].iov_len = alq->aq_buflen - alq->aq_writetail -
352 aiov[1].iov_base = alq->aq_entbuf;
353 aiov[1].iov_len = alq->aq_writehead;
354 totlen = aiov[0].iov_len + aiov[1].iov_len;
360 auio.uio_iov = &aiov[0];