Home
last modified time | relevance | path

Searched refs:iov_idx (Results 1 – 1 of 1) sorted by relevance

/xen/tools/libxc/
A Dxc_private.c683 int rc = 0, iov_idx = 0, saved_errno = 0; in writev_exact() local
686 while ( iov_idx < iovcnt ) in writev_exact()
695 while ( iov[iov_idx].iov_len == 0 ) in writev_exact()
696 if ( ++iov_idx == iovcnt ) in writev_exact()
699 len = writev(fd, &iov[iov_idx], min(iovcnt - iov_idx, IOV_MAX)); in writev_exact()
711 while ( (len > 0) && (iov_idx < iovcnt) ) in writev_exact()
713 if ( len >= iov[iov_idx].iov_len ) in writev_exact()
714 len -= iov[iov_idx++].iov_len; in writev_exact()
732 local_iov[iov_idx].iov_base += len; in writev_exact()
733 local_iov[iov_idx].iov_len -= len; in writev_exact()

Completed in 3 milliseconds