Searched refs:iov_idx (Results 1 – 1 of 1) sorted by relevance
683 int rc = 0, iov_idx = 0, saved_errno = 0; in writev_exact() local686 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