Home
last modified time | relevance | path

Searched refs:copied_seq (Results 1 – 25 of 26) sorted by relevance

12

/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c1414 credits = tp->copied_seq - tp->rcv_wup; in chtls_cleanup_rbuf()
1455 tp->urg_seq == tp->copied_seq)) { in chtls_pt_recvmsg()
1536 offset = hws->copied_seq; in chtls_pt_recvmsg()
1542 u32 urg_offset = tp->urg_seq - tp->copied_seq; in chtls_pt_recvmsg()
1549 tp->copied_seq++; in chtls_pt_recvmsg()
1584 hws->copied_seq += avail; in chtls_pt_recvmsg()
1586 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) in chtls_pt_recvmsg()
1592 tp->copied_seq += skb->len; in chtls_pt_recvmsg()
1596 tp->copied_seq += hws->rcvpld; in chtls_pt_recvmsg()
1600 hws->copied_seq = 0; in chtls_pt_recvmsg()
[all …]
Dchtls.h269 u32 copied_seq; member
Dchtls_cm.c1646 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in handle_urg_ptr()
1648 tp->copied_seq != tp->rcv_nxt) { in handle_urg_ptr()
1651 tp->copied_seq++; in handle_urg_ptr()
1652 if (skb && tp->copied_seq - ULP_SKB_CB(skb)->seq >= skb->len) in handle_urg_ptr()
/linux-5.19.10/net/ipv4/
Dtcp.c551 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()
612 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()
1568 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1570 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
1669 u32 seq = tp->copied_seq; in tcp_read_sock()
1723 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1725 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1919 skb = tcp_recv_skb(sk, tcp_sk(sk)->copied_seq, &offset); in receive_fallback_to_copy()
2099 u32 seq = tp->copied_seq; in tcp_zerocopy_receive()
2211 WRITE_ONCE(tp->copied_seq, seq); in tcp_zerocopy_receive()
[all …]
Dtcp_diag.c30 READ_ONCE(tp->copied_seq), 0); in tcp_diag_get_info()
Dtcp_input.c546 tp->rcvq_space.seq = tp->copied_seq; in tcp_init_buffer_space()
715 copied = tp->copied_seq - tp->rcvq_space.seq; in tcp_rcv_space_adjust()
760 tp->rcvq_space.seq = tp->copied_seq; in tcp_rcv_space_adjust()
5403 tp->copied_seq, tp->rcv_nxt); in tcp_prune_queue()
5518 (tp->rcv_nxt - tp->copied_seq < sk->sk_rcvlowat || in __tcp_ack_snd_check()
5594 if (after(tp->copied_seq, ptr)) in tcp_check_urg()
5632 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg()
5633 !sock_flag(sk, SOCK_URGINLINE) && tp->copied_seq != tp->rcv_nxt) { in tcp_check_urg()
5635 tp->copied_seq++; in tcp_check_urg()
5636 if (skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq)) { in tcp_check_urg()
[all …]
Dtcp_minisocks.c474 WRITE_ONCE(newtp->copied_seq, seq); in tcp_create_openreq_child()
Dtcp_ipv4.c2608 READ_ONCE(tp->copied_seq), 0); in get_tcp4_sock()
/linux-5.19.10/include/net/
Dllc_conn.h42 u32 copied_seq; /* head of yet unread data */ member
Dtcp.h1476 int avail = READ_ONCE(tp->rcv_nxt) - READ_ONCE(tp->copied_seq); in tcp_epollin_ready()
2182 before(tp->urg_seq, tp->copied_seq) || in tcp_inq()
2185 answ = tp->rcv_nxt - tp->copied_seq; in tcp_inq()
2191 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()
/linux-5.19.10/net/llc/
Daf_llc.c778 seq = &llc->copied_seq; in llc_ui_recvmsg()
780 peek_seq = llc->copied_seq; in llc_ui_recvmsg()
855 if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { in llc_ui_recvmsg()
859 peek_seq = llc->copied_seq; in llc_ui_recvmsg()
Dllc_proc.c152 sk_rmem_alloc_get(sk) - llc->copied_seq, in llc_seq_socket_show()
/linux-5.19.10/net/mptcp/
Dsubflow.c862 skb_consumed = tcp_sk(ssk)->copied_seq - TCP_SKB_CB(skb)->seq; in skb_is_fully_mapped()
873 u32 ssn = tcp_sk(ssk)->copied_seq - subflow->ssn_offset; in validate_mapping()
913 seq = tcp_sk(ssk)->copied_seq + subflow->map_csum_len; in validate_data_csum()
1127 tcp_sk(ssk)->copied_seq += incr; in mptcp_subflow_discard_data()
1128 if (!before(tcp_sk(ssk)->copied_seq, TCP_SKB_CB(skb)->end_seq)) in mptcp_subflow_discard_data()
1289 subflow->map_subflow_seq = tcp_sk(ssk)->copied_seq - subflow->ssn_offset; in subflow_check_data_avail()
Dprotocol.h528 return tcp_sk(mptcp_subflow_tcp_sock(subflow))->copied_seq - in mptcp_subflow_get_map_offset()
Dprotocol.c654 u32 seq = tp->copied_seq; in __mptcp_move_skbs_from_subflow()
707 WRITE_ONCE(tp->copied_seq, seq); in __mptcp_move_skbs_from_subflow()
/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c118 rx_queue = tp->rcv_nxt - tp->copied_seq; in dump_tcp_sock()
Dbpf_iter_tcp6.c118 rx_queue = tp->tcp.rcv_nxt - tp->tcp.copied_seq; in dump_tcp6_sock()
/linux-5.19.10/net/tls/
Dtls_device.c888 tls_device_resync_rx(tls_ctx, sk, tcp_sk(sk)->copied_seq, in tls_device_core_ctrl_rx_resync()
992 trace_tls_device_decrypted(sk, tcp_sk(sk)->copied_seq - rxm->full_len, in tls_device_decrypted()
1265 tcp_sk(sk)->copied_seq); in tls_set_device_offload_rx()
1268 tcp_sk(sk)->copied_seq, info->rec_seq, rc); in tls_set_device_offload_rx()
/linux-5.19.10/include/linux/
Dtcp.h173 u32 copied_seq; /* Head of yet unread data */ member
/linux-5.19.10/drivers/scsi/cxgbi/
Dlibcxgbi.h166 u32 copied_seq; member
Dlibcxgbi.c1608 csk, csk->state, csk->flags, csk->tid, csk->copied_seq, in csk_return_rx_credits()
1618 credits = csk->copied_seq - csk->rcv_wup; in csk_return_rx_credits()
1729 csk->copied_seq += read; in cxgbi_conn_pdu_ready()
/linux-5.19.10/drivers/block/drbd/
Ddrbd_debugfs.c389 int answ = tp->rcv_nxt - tp->copied_seq; in in_flight_summary_show()
/linux-5.19.10/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c506 csk->copied_seq = csk->rcv_wup = csk->rcv_nxt = rcv_isn; in do_act_establish()
/linux-5.19.10/net/ipv6/
Dtcp_ipv6.c2024 READ_ONCE(tp->copied_seq), 0); in get_tcp6_sock()
/linux-5.19.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c937 csk->copied_seq = csk->rcv_wup = csk->rcv_nxt = rcv_isn; in do_act_establish()

12