Lines Matching full:total
156 ssize_t total = 0; in iov_send_recv_with_flags() local
217 if (errno == EAGAIN && total > 0) { in iov_send_recv_with_flags()
218 return total; in iov_send_recv_with_flags()
231 total += ret; in iov_send_recv_with_flags()
236 return total; in iov_send_recv_with_flags()
320 * dst copies up to `sbytes' bytes total, or up to the end
355 * dst copies up to `sbytes' bytes total, or up to the end
627 size_t total = 0; in iov_discard_front_undoable() local
643 total += bytes; in iov_discard_front_undoable()
648 total += cur->iov_len; in iov_discard_front_undoable()
653 return total; in iov_discard_front_undoable()
667 size_t total = 0; in iov_discard_back_undoable() local
688 total += bytes; in iov_discard_back_undoable()
693 total += cur->iov_len; in iov_discard_back_undoable()
698 return total; in iov_discard_back_undoable()
709 size_t total; in qemu_iovec_discard_back() local
713 total = iov_discard_back(qiov->iov, &niov, bytes); in qemu_iovec_discard_back()
714 assert(total == bytes); in qemu_iovec_discard_back()