Home
last modified time | relevance | path

Searched refs:sent (Results 1 – 24 of 24) sorted by relevance

/net/x25/
Dx25_out.c57 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output() local
78 return sent; in x25_output()
82 "sent\n", err, sent); in x25_output()
106 sent += len; in x25_output()
112 sent = skb->len - header_len; in x25_output()
114 return sent; in x25_output()
/net/bluetooth/
Dhci_event.c133 void *sent; in hci_cc_write_link_policy() local
140 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY); in hci_cc_write_link_policy()
141 if (!sent) in hci_cc_write_link_policy()
148 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy()
170 void *sent; in hci_cc_write_def_link_policy() local
177 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY); in hci_cc_write_def_link_policy()
178 if (!sent) in hci_cc_write_def_link_policy()
181 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy()
215 void *sent; in hci_cc_write_local_name() local
219 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LOCAL_NAME); in hci_cc_write_local_name()
[all …]
Dhci_core.c3427 struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data; in hci_cmd_timeout() local
3428 u16 opcode = __le16_to_cpu(sent->opcode); in hci_cmd_timeout()
4742 if (c->sent < min) { in hci_low_sent()
4743 min = c->sent; in hci_low_sent()
4792 if (c->type == type && c->sent) { in hci_link_tx_to()
4844 if (conn->sent < min) { in hci_chan_sent()
4845 min = conn->sent; in hci_chan_sent()
4908 if (chan->sent) { in hci_prio_recalculate()
4909 chan->sent = 0; in hci_prio_recalculate()
4980 chan->sent++; in hci_sched_acl_pkt()
[all …]
Dhci_conn.c518 hdev->acl_cnt += conn->sent; in hci_conn_del()
523 hdev->le_cnt += conn->sent; in hci_conn_del()
525 hdev->acl_cnt += conn->sent; in hci_conn_del()
Dl2cap_core.c1847 int sent = 0; in l2cap_ertm_send() local
1896 sent++; in l2cap_ertm_send()
1907 BT_DBG("Sent %d, %u unacked, %u in ERTM queue", sent, in l2cap_ertm_send()
1910 return sent; in l2cap_ertm_send()
2093 int sent = 0; in l2cap_skbuff_fromiovec() local
2099 sent += count; in l2cap_skbuff_fromiovec()
2120 sent += count; in l2cap_skbuff_fromiovec()
2129 return sent; in l2cap_skbuff_fromiovec()
/net/vmw_vsock/
Dvmci_transport_notify.c129 bool sent; in vmci_transport_handle_waiting_read() local
132 sent = vmci_transport_send_wrote_bh(dst, src) > 0; in vmci_transport_handle_waiting_read()
134 sent = vmci_transport_send_wrote(sk) > 0; in vmci_transport_handle_waiting_read()
136 if (sent) in vmci_transport_handle_waiting_read()
159 bool sent; in vmci_transport_handle_waiting_write() local
162 sent = vmci_transport_send_read_bh(dst, src) > 0; in vmci_transport_handle_waiting_write()
164 sent = vmci_transport_send_read(sk) > 0; in vmci_transport_handle_waiting_write()
166 if (sent) in vmci_transport_handle_waiting_write()
/net/openvswitch/
Dvport.c472 int sent = vport->ops->send(vport, skb); in ovs_vport_send() local
474 if (likely(sent > 0)) { in ovs_vport_send()
481 stats->tx_bytes += sent; in ovs_vport_send()
483 } else if (sent < 0) { in ovs_vport_send()
489 return sent; in ovs_vport_send()
/net/bluetooth/rfcomm/
Dsock.c563 int sent; in rfcomm_sock_sendmsg() local
578 sent = bt_sock_wait_ready(sk, msg->msg_flags); in rfcomm_sock_sendmsg()
579 if (sent) in rfcomm_sock_sendmsg()
589 if (sent == 0) in rfcomm_sock_sendmsg()
590 sent = err; in rfcomm_sock_sendmsg()
598 if (sent == 0) in rfcomm_sock_sendmsg()
599 sent = err; in rfcomm_sock_sendmsg()
608 if (sent == 0) in rfcomm_sock_sendmsg()
609 sent = err; in rfcomm_sock_sendmsg()
613 sent += size; in rfcomm_sock_sendmsg()
[all …]
Dtty.c788 int sent = 0, size; in rfcomm_tty_write() local
801 memcpy(skb_put(skb, size), buf + sent, size); in rfcomm_tty_write()
805 sent += size; in rfcomm_tty_write()
809 return sent; in rfcomm_tty_write()
/net/sctp/
Dchunk.c118 int sent; in sctp_datamsg_destroy() local
120 sent = SCTP_DATA_SENT; in sctp_datamsg_destroy()
122 sent = SCTP_DATA_UNSENT; in sctp_datamsg_destroy()
124 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, in sctp_datamsg_destroy()
/net/rds/
Diw_send.c513 int sent; in rds_iw_xmit() local
626 sent = 0; in rds_iw_xmit()
689 sent += len; in rds_iw_xmit()
729 sent += sizeof(struct rds_header); in rds_iw_xmit()
762 ret = sent; in rds_iw_xmit()
803 int sent; in rds_iw_xmit_rdma() local
857 sent = 0; in rds_iw_xmit_rdma()
908 sent += len; in rds_iw_xmit_rdma()
909 rdsdebug("ic %p sent %d remote_addr %llu\n", ic, sent, remote_addr); in rds_iw_xmit_rdma()
947 op->op_count, sent, conn->c_xmit_rm->m_rs->rs_user_addr); in rds_iw_xmit_rdma()
Dib_send.c895 int sent; in rds_ib_xmit_rdma() local
933 sent = 0; in rds_ib_xmit_rdma()
966 sent += len; in rds_ib_xmit_rdma()
967 rdsdebug("ic %p sent %d remote_addr %llu\n", ic, sent, remote_addr); in rds_ib_xmit_rdma()
/net/sunrpc/
Dxprtsock.c453 int sent = 0; in xs_sendpages() local
478 err = xs_send_pagedata(sock, xdr, base, remainder != 0, zerocopy, &sent); in xs_sendpages()
479 *sent_p += sent; in xs_sendpages()
480 if (remainder == 0 || sent != len) in xs_sendpages()
578 int sent = 0; in xs_local_send_request() local
586 true, &sent); in xs_local_send_request()
589 if (likely(sent > 0) || status == 0) { in xs_local_send_request()
590 req->rq_bytes_sent += sent; in xs_local_send_request()
591 req->rq_xmit_bytes_sent += sent; in xs_local_send_request()
632 int sent = 0; in xs_udp_send_request() local
[all …]
Dsvcsock.c1187 int sent; in svc_tcp_sendto() local
1197 sent = svc_sendto(rqstp, &rqstp->rq_res); in svc_tcp_sendto()
1198 if (sent != xbufp->len) { in svc_tcp_sendto()
1203 (sent<0)?"got error":"sent only", in svc_tcp_sendto()
1204 sent, xbufp->len); in svc_tcp_sendto()
1207 sent = -EAGAIN; in svc_tcp_sendto()
1209 return sent; in svc_tcp_sendto()
/net/hsr/
DKconfig14 All Ethernet frames sent over the hsr device will be sent in both
/net/caif/
Dcaif_socket.c604 int sent = 0; in caif_stream_sendmsg() local
620 while (sent < len) { in caif_stream_sendmsg()
622 size = len-sent; in caif_stream_sendmsg()
663 sent += size; in caif_stream_sendmsg()
666 return sent; in caif_stream_sendmsg()
669 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in caif_stream_sendmsg()
673 return sent ? : err; in caif_stream_sendmsg()
/net/appletalk/
Daarp.c615 goto sent; in aarp_send_ddp()
625 goto sent; in aarp_send_ddp()
669 goto sent; in aarp_send_ddp()
676 sent: in aarp_send_ddp()
/net/netfilter/ipvs/
DKconfig223 sent to the ith server, in which Ci is the number of connections
234 When there is an idle server available, the job will be sent to
236 is no idle server available, the job will be sent to the server
268 the IP address and port number of real servers cannot be sent to
/net/decnet/
Daf_decnet.c1920 size_t sent = 0; in dn_sendmsg() local
1980 while(sent < size) { in dn_sendmsg()
1993 len = size - sent; in dn_sendmsg()
2054 if (((sent + len) == size) && (flags & MSG_EOR)) { in dn_sendmsg()
2064 sent += len; in dn_sendmsg()
2077 return sent ? sent : err; in dn_sendmsg()
/net/unix/
Daf_unix.c1800 int sent = 0; in unix_stream_sendmsg() local
1830 while (sent < len) { in unix_stream_sendmsg()
1831 size = len - sent; in unix_stream_sendmsg()
1862 sent, size); in unix_stream_sendmsg()
1880 sent += size; in unix_stream_sendmsg()
1886 return sent; in unix_stream_sendmsg()
1892 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in unix_stream_sendmsg()
1898 return sent ? : err; in unix_stream_sendmsg()
/net/tipc/
Dsocket.c1060 uint mtu, send, sent = 0; in tipc_send_stream() local
1088 send = min_t(uint, dsz - sent, TIPC_MAX_USER_MSG_SIZE); in tipc_send_stream()
1089 rc = tipc_msg_build(mhdr, m->msg_iov, sent, send, mtu, &buf); in tipc_send_stream()
1097 sent += send; in tipc_send_stream()
1098 if (sent == dsz) in tipc_send_stream()
1117 return sent ? sent : rc; in tipc_send_stream()
/net/atm/
DKconfig34 Normally, an "ICMP host unreachable" message is sent if a neighbour
/net/irda/
DKconfig54 makes sense since most frames will be sent/received on the same
/net/netfilter/
DKconfig241 NetBIOS name service requests are sent as broadcast messages from an
261 SNMP service requests are sent as broadcast messages from an