Lines Matching defs:nbytes_remaining
1528 unsigned int nbytes_remaining;
1534 nbytes_remaining = _t_bytecount_upto_intmax(tiov, tiovcount);
1535 for (i = 0; i < tiovcount && nbytes_remaining != 0; i++) {
1536 if (tiov[i].iov_len <= nbytes_remaining)
1539 cur_count = nbytes_remaining;
1542 nbytes_remaining -= cur_count;
1554 unsigned int nbytes_remaining;
1564 nbytes_remaining = pdatabuf->len;
1565 for (i = 0; i < tiovcount && nbytes_remaining != 0; i++) {
1566 if (tiov[i].iov_len < nbytes_remaining)
1569 curlen = nbytes_remaining;
1572 nbytes_remaining -= curlen;
1616 unsigned int nbytes_remaining;
1618 nbytes_remaining = _t_bytecount_upto_intmax(tiov, tiovcount);
1622 if (tiov[i].iov_len > nbytes_remaining)
1623 iov[i].iov_len = nbytes_remaining;
1626 nbytes_remaining -= iov[i].iov_len;
1628 } while (nbytes_remaining != 0 && i < tiovcount);