Lines Matching refs:sent
437 int sent;
440 sent = sendfile(fd, fp, NULL, iov_length);
442 if (!drop && sent < 0) {
445 return sent;
446 } else if (drop && sent >= 0) {
448 sent, errno);
453 if (sent > 0)
454 s->bytes_sent += sent;
572 int sent;
575 sent = sendmsg(fd, &msg, flags);
577 if (!drop && sent < 0) {
580 } else if (drop && sent >= 0) {
583 sent, errno);
587 if (sent > 0)
588 s->bytes_sent += sent;
602 * of the tool can create cases where no data is sent by
605 * iteration will then pop 1B so no data will ever be sent.
751 if (!iov_buf) /* zero bytes sent case */