Home
last modified time | relevance | path

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

12

/net/x25/
Dx25_out.c52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output() local
73 return sent; in x25_output()
77 "sent\n", err, sent); in x25_output()
101 sent += len; in x25_output()
107 sent = skb->len - header_len; in x25_output()
109 return sent; in x25_output()
/net/bluetooth/
Dhci_event.c217 void *sent; in hci_cc_write_link_policy() local
224 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY); in hci_cc_write_link_policy()
225 if (!sent) in hci_cc_write_link_policy()
232 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy()
258 void *sent; in hci_cc_write_def_link_policy() local
265 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY); in hci_cc_write_def_link_policy()
266 if (!sent) in hci_cc_write_def_link_policy()
269 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy()
313 struct hci_cp_read_stored_link_key *sent; in hci_cc_read_stored_link_key() local
317 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_STORED_LINK_KEY); in hci_cc_read_stored_link_key()
[all …]
Dhci_codec.c10 struct hci_op_read_local_codec_caps *sent, in hci_codec_list_add() argument
21 entry->id = sent->id; in hci_codec_list_add()
22 if (sent->id == 0xFF) { in hci_codec_list_add()
23 entry->cid = __le16_to_cpu(sent->cid); in hci_codec_list_add()
24 entry->vid = __le16_to_cpu(sent->vid); in hci_codec_list_add()
26 entry->transport = sent->transport; in hci_codec_list_add()
Dhci_core.c3356 if (c->sent < min) { in hci_low_sent()
3357 min = c->sent; in hci_low_sent()
3384 if (c->type == type && c->sent) { in hci_link_tx_to()
3441 if (conn->sent < min) { in hci_chan_sent()
3442 min = conn->sent; in hci_chan_sent()
3486 if (chan->sent) { in hci_prio_recalculate()
3487 chan->sent = 0; in hci_prio_recalculate()
3552 conn->sent++; in hci_sched_sco()
3553 if (conn->sent == ~0) in hci_sched_sco()
3554 conn->sent = 0; in hci_sched_sco()
[all …]
/net/smc/
Dsmc_tx.h23 union smc_host_cursor sent, prep; in smc_tx_prepared_sends() local
25 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_prepared_sends()
27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
Dsmc_tx.c342 union smc_host_cursor *sent, in smc_tx_advance_cursors() argument
352 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors()
467 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local
473 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_rdma_writes()
476 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes()
516 if (sent.count + dst_len <= conn->sndbuf_desc->len) { in smc_tx_rdma_writes()
521 src_len = conn->sndbuf_desc->len - sent.count; in smc_tx_rdma_writes()
525 rc = smcd_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes()
528 rc = smcr_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes()
535 smc_tx_advance_cursors(conn, &prod, &sent, len); in smc_tx_rdma_writes()
[all …]
/net/vmw_vsock/
Dvmci_transport_notify.c121 bool sent; in vmci_transport_handle_waiting_read() local
124 sent = vmci_transport_send_wrote_bh(dst, src) > 0; in vmci_transport_handle_waiting_read()
126 sent = vmci_transport_send_wrote(sk) > 0; in vmci_transport_handle_waiting_read()
128 if (sent) in vmci_transport_handle_waiting_read()
151 bool sent; in vmci_transport_handle_waiting_write() local
154 sent = vmci_transport_send_read_bh(dst, src) > 0; in vmci_transport_handle_waiting_write()
156 sent = vmci_transport_send_read(sk) > 0; in vmci_transport_handle_waiting_write()
158 if (sent) in vmci_transport_handle_waiting_write()
/net/hsr/
DKconfig18 with other HSR capable nodes. All Ethernet frames sent over the HSR
19 device will be sent in both directions on the ring (over both slave
26 frames sent over the PRP device will be sent to both networks giving
Dhsr_forward.c415 bool sent = false; in hsr_forward_do() local
434 if ((port->dev->features & NETIF_F_HW_HSR_DUP) && sent) in hsr_forward_do()
472 sent = true; in hsr_forward_do()
/net/sctp/
Dchunk.c78 int error, sent; in sctp_datamsg_destroy() local
92 sent = chunk->has_tsn ? SCTP_DATA_SENT : SCTP_DATA_UNSENT; in sctp_datamsg_destroy()
96 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, in sctp_datamsg_destroy()
105 sent, error, in sctp_datamsg_destroy()
/net/bluetooth/rfcomm/
Dsock.c560 int sent; in rfcomm_sock_sendmsg() local
575 sent = bt_sock_wait_ready(sk, msg->msg_flags); in rfcomm_sock_sendmsg()
579 if (sent) in rfcomm_sock_sendmsg()
580 return sent; in rfcomm_sock_sendmsg()
587 sent = rfcomm_dlc_send(d, skb); in rfcomm_sock_sendmsg()
588 if (sent < 0) in rfcomm_sock_sendmsg()
591 return sent; in rfcomm_sock_sendmsg()
Dtty.c788 size_t sent = 0, size; in rfcomm_tty_write() local
801 skb_put_data(skb, buf + sent, size); in rfcomm_tty_write()
805 sent += size; in rfcomm_tty_write()
809 return sent; in rfcomm_tty_write()
/net/netfilter/
Dnf_conntrack_ecache.c58 unsigned int sent; in ecache_work_evict_list() local
63 sent = 0; in ecache_work_evict_list()
85 if (sent++ > 16) { in ecache_work_evict_list()
/net/caif/
Dcaif_socket.c592 int sent = 0; in caif_stream_sendmsg() local
608 while (sent < len) { in caif_stream_sendmsg()
610 size = len-sent; in caif_stream_sendmsg()
651 sent += size; in caif_stream_sendmsg()
654 return sent; in caif_stream_sendmsg()
657 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in caif_stream_sendmsg()
661 return sent ? : err; in caif_stream_sendmsg()
/net/sunrpc/
Dxprtsock.c930 unsigned int sent; in xs_local_send_request() local
946 transport->xmit.offset, rm, &sent); in xs_local_send_request()
950 if (likely(sent > 0) || status == 0) { in xs_local_send_request()
951 transport->xmit.offset += sent; in xs_local_send_request()
999 unsigned int sent; in xs_udp_send_request() local
1016 status = xprt_sock_sendmsg(transport->sock, &msg, xdr, 0, 0, &sent); in xs_udp_send_request()
1028 if (sent > 0 || status == 0) { in xs_udp_send_request()
1029 req->rq_xmit_bytes_sent += sent; in xs_udp_send_request()
1030 if (sent >= req->rq_slen) in xs_udp_send_request()
1086 unsigned int sent; in xs_tcp_send_request() local
[all …]
Dsvcsock.c1271 unsigned int sent; in svc_tcp_sendto() local
1280 err = svc_tcp_sendmsg(svsk, rqstp, marker, &sent); in svc_tcp_sendto()
1281 trace_svcsock_tcp_send(xprt, err < 0 ? (long)err : sent); in svc_tcp_sendto()
1282 if (err < 0 || sent != (xdr->len + sizeof(marker))) in svc_tcp_sendto()
1285 return sent; in svc_tcp_sendto()
1294 (err < 0) ? err : sent, xdr->len); in svc_tcp_sendto()
/net/appletalk/
Daarp.c609 goto sent; in aarp_send_ddp()
619 goto sent; in aarp_send_ddp()
663 goto sent; in aarp_send_ddp()
670 sent: in aarp_send_ddp()
/net/netfilter/ipvs/
DKconfig243 destinations changes, a connection will likely be sent to the same
255 sent to the ith server, in which Ci is the number of connections
266 When there is an idle server available, the job will be sent to
268 is no idle server available, the job will be sent to the server
329 the IP address and port number of real servers cannot be sent to
/net/ceph/
Dmessenger_v2.c3459 int sent; in prepare_zero_front() local
3462 sent = front_len(con->out_msg) - resid; in prepare_zero_front()
3463 dout("%s con %p sent %d resid %d\n", __func__, con, sent, resid); in prepare_zero_front()
3465 if (sent) { in prepare_zero_front()
3467 crc32c(-1, con->out_msg->front.iov_base, sent); in prepare_zero_front()
3480 int sent; in prepare_zero_middle() local
3483 sent = middle_len(con->out_msg) - resid; in prepare_zero_middle()
3484 dout("%s con %p sent %d resid %d\n", __func__, con, sent, resid); in prepare_zero_middle()
3486 if (sent) { in prepare_zero_middle()
3488 crc32c(-1, con->out_msg->middle->vec.iov_base, sent); in prepare_zero_middle()
[all …]
/net/mptcp/
Dprotocol.c1115 u16 sent; member
1227 u64 data_seq = dfrag->data_seq + info->sent; in mptcp_sendmsg_frag()
1228 int offset = dfrag->offset + info->sent; in mptcp_sendmsg_frag()
1239 msk, ssk, dfrag->data_seq, dfrag->data_len, info->sent); in mptcp_sendmsg_frag()
1241 if (WARN_ON_ONCE(info->sent > info->limit || in mptcp_sendmsg_frag()
1303 copy = min_t(size_t, copy, info->limit - info->sent); in mptcp_sendmsg_frag()
1486 u32 sent) in mptcp_update_post_push() argument
1490 dfrag->already_sent += sent; in mptcp_update_post_push()
1492 msk->snd_burst -= sent; in mptcp_update_post_push()
1528 info->sent = dfrag->already_sent; in __subflow_push_pending()
[all …]
/net/ipv4/
Dtcp_bpf.c386 u32 tosend, origsize, sent, delta = 0; in tcp_bpf_send_verdict() local
449 sent = origsize - msg->sg.size; in tcp_bpf_send_verdict()
488 sk_mem_charge(sk, tosend - sent); in tcp_bpf_send_verdict()
/net/rds/
Dib_send.c867 int sent; in rds_ib_xmit_rdma() local
914 sent = 0; in rds_ib_xmit_rdma()
954 sent += len; in rds_ib_xmit_rdma()
955 rdsdebug("ic %p sent %d remote_addr %llu\n", ic, sent, remote_addr); in rds_ib_xmit_rdma()
/net/atm/
DKconfig35 Normally, an "ICMP host unreachable" message is sent if a neighbour
/net/unix/
Daf_unix.c2162 int sent = 0; in unix_stream_sendmsg() local
2195 while (sent < len) { in unix_stream_sendmsg()
2196 size = len - sent; in unix_stream_sendmsg()
2259 sent += size; in unix_stream_sendmsg()
2267 sent++; in unix_stream_sendmsg()
2273 return sent; in unix_stream_sendmsg()
2279 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in unix_stream_sendmsg()
2284 return sent ? : err; in unix_stream_sendmsg()
/net/kcm/
Dkcmsock.c620 txm->sent = 0; in kcm_write_msgs()
672 txm->sent += ret; in kcm_write_msgs()
690 sk->sk_wmem_queued -= txm->sent; in kcm_write_msgs()
691 total_sent += txm->sent; in kcm_write_msgs()

12