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;
576 int sent;
579 sent = sendmsg(fd, &msg, flags);
581 if (!drop && sent < 0) {
588 } else if (drop && sent >= 0) {
591 sent, errno);
595 if (sent > 0)
596 s->bytes_sent += sent;
610 * of the tool can create cases where no data is sent by
613 * iteration will then pop 1B so no data will ever be sent.
792 if (!iov_buf) /* zero bytes sent case */