Lines Matching refs:iov_len
1503 if (tiov[i].iov_len >= INT_MAX) {
1507 nbytes += tiov[i].iov_len;
1536 if (tiov[i].iov_len <= nbytes_remaining)
1537 cur_count = (int)tiov[i].iov_len;
1566 if (tiov[i].iov_len < nbytes_remaining)
1567 curlen = (unsigned int)tiov[i].iov_len;
1578 * iovec array,and zero out the iov_len if the buffer was sent fully.
1579 * otherwise the buffer was only partially sent, so adjust both iov_len and
1590 if (iov[i].iov_len == 0)
1592 if (bytes_sent < iov[i].iov_len)
1595 bytes_sent -= iov[i].iov_len;
1596 iov[i].iov_len = 0;
1599 iov[i].iov_len -= bytes_sent;
1622 if (tiov[i].iov_len > nbytes_remaining)
1623 iov[i].iov_len = nbytes_remaining;
1625 iov[i].iov_len = tiov[i].iov_len;
1626 nbytes_remaining -= iov[i].iov_len;