Lines Matching defs:nbytes_remaining
1523 unsigned int nbytes_remaining;
1529 nbytes_remaining = _t_bytecount_upto_intmax(tiov, tiovcount);
1530 for (i = 0; i < tiovcount && nbytes_remaining != 0; i++) {
1531 if (tiov[i].iov_len <= nbytes_remaining)
1534 cur_count = nbytes_remaining;
1537 nbytes_remaining -= cur_count;
1549 unsigned int nbytes_remaining;
1559 nbytes_remaining = pdatabuf->len;
1560 for (i = 0; i < tiovcount && nbytes_remaining != 0; i++) {
1561 if (tiov[i].iov_len < nbytes_remaining)
1564 curlen = nbytes_remaining;
1567 nbytes_remaining -= curlen;
1611 unsigned int nbytes_remaining;
1613 nbytes_remaining = _t_bytecount_upto_intmax(tiov, tiovcount);
1617 if (tiov[i].iov_len > nbytes_remaining)
1618 iov[i].iov_len = nbytes_remaining;
1621 nbytes_remaining -= iov[i].iov_len;
1623 } while (nbytes_remaining != 0 && i < tiovcount);