Lines Matching defs:sent
61 int sent;
145 /* Just part of request header or data payload is sent successfully */
331 nsock->sent = 0;
500 * were sent out on.
552 struct iov_iter *iter, int msg_flags, int *sent)
585 if (sent)
586 *sent += result;
600 struct iov_iter *iter, int msg_flags, int *sent)
605 return __sock_xmit(nbd, sock, send, iter, msg_flags, sent);
618 * We've already sent header or part of data payload, have no choice but
623 * been sent out with old tag, and this way does confuse reply handling.
627 struct nbd_cmd *cmd, int sent)
635 nsock->sent = sent;
659 int sent = nsock->sent, skip = 0;
682 /* We did a partial send previously, and we at least sent the whole
686 if (sent) {
687 if (sent >= sizeof(request)) {
688 skip = sent - sizeof(request);
695 iov_iter_advance(&from, sent);
716 (type == NBD_CMD_WRITE) ? MSG_MORE : 0, &sent);
720 /* If we haven't sent anything we can just return BUSY,
721 * however if we have sent something we need to make
722 * sure we only allow this req to be sent until we are
725 if (sent) {
726 nbd_sched_pending_work(nbd, nsock, cmd, sent);
761 result = sock_xmit(nbd, index, 1, &from, flags, &sent);
764 nbd_sched_pending_work(nbd, nsock, cmd, sent);
786 nsock->sent = 0;
1335 nsock->sent = 0;