Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.c1645 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in handle_urg_ptr()
1647 tp->copied_seq != tp->rcv_nxt) { in handle_urg_ptr()
1650 tp->copied_seq++; in handle_urg_ptr()
1651 if (skb && tp->copied_seq - ULP_SKB_CB(skb)->seq >= skb->len) in handle_urg_ptr()
/Linux-v6.1/net/ipv4/
Dtcp.c554 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()
615 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()
1625 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1627 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
1684 u32 seq = tp->copied_seq; in tcp_read_sock()
1738 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1740 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1756 u32 seq = tp->copied_seq; in tcp_read_skb()
1786 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_skb()
1801 u32 seq = tp->copied_seq; in tcp_read_done()
[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()
5517 (tp->rcv_nxt - tp->copied_seq < sk->sk_rcvlowat || in __tcp_ack_snd_check()
5593 if (after(tp->copied_seq, ptr)) in tcp_check_urg()
5631 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg()
5632 !sock_flag(sk, SOCK_URGINLINE) && tp->copied_seq != tp->rcv_nxt) { in tcp_check_urg()
5634 tp->copied_seq++; in tcp_check_urg()
5635 if (skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq)) { in tcp_check_urg()
[all …]
Dtcp_minisocks.c495 WRITE_ONCE(newtp->copied_seq, seq); in tcp_create_openreq_child()
/Linux-v6.1/include/net/
Dllc_conn.h42 u32 copied_seq; /* head of yet unread data */ member
Dtcp.h1492 int avail = READ_ONCE(tp->rcv_nxt) - READ_ONCE(tp->copied_seq); in tcp_epollin_ready()
2198 before(tp->urg_seq, tp->copied_seq) || in tcp_inq()
2201 answ = tp->rcv_nxt - tp->copied_seq; in tcp_inq()
2207 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()
/Linux-v6.1/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-v6.1/net/mptcp/
Dsubflow.c844 skb_consumed = tcp_sk(ssk)->copied_seq - TCP_SKB_CB(skb)->seq; in skb_is_fully_mapped()
855 u32 ssn = tcp_sk(ssk)->copied_seq - subflow->ssn_offset; in validate_mapping()
895 seq = tcp_sk(ssk)->copied_seq + subflow->map_csum_len; in validate_data_csum()
1109 tcp_sk(ssk)->copied_seq += incr; in mptcp_subflow_discard_data()
1110 if (!before(tcp_sk(ssk)->copied_seq, TCP_SKB_CB(skb)->end_seq)) in mptcp_subflow_discard_data()
1271 subflow->map_subflow_seq = tcp_sk(ssk)->copied_seq - subflow->ssn_offset; in subflow_check_data_avail()
Dprotocol.h532 return tcp_sk(mptcp_subflow_tcp_sock(subflow))->copied_seq - in mptcp_subflow_get_map_offset()
Dprotocol.c655 u32 seq = tp->copied_seq; in __mptcp_move_skbs_from_subflow()
708 WRITE_ONCE(tp->copied_seq, seq); in __mptcp_move_skbs_from_subflow()
/Linux-v6.1/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-v6.1/net/tls/
Dtls_device.c899 tls_device_resync_rx(tls_ctx, sk, tcp_sk(sk)->copied_seq, in tls_device_core_ctrl_rx_resync()
1024 trace_tls_device_decrypted(sk, tcp_sk(sk)->copied_seq - rxm->full_len, in tls_device_decrypted()
1300 tcp_sk(sk)->copied_seq); in tls_set_device_offload_rx()
1303 tcp_sk(sk)->copied_seq, info->rec_seq, rc); in tls_set_device_offload_rx()
Dtls_strp.c345 first = tcp_recv_skb(strp->sk, tp->copied_seq, &offset); in tls_strp_load_anchor_with_queue()
/Linux-v6.1/include/linux/
Dtcp.h203 u32 copied_seq; /* Head of yet unread data */ member
/Linux-v6.1/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-v6.1/drivers/block/drbd/
Ddrbd_debugfs.c389 int answ = tp->rcv_nxt - tp->copied_seq; in in_flight_summary_show()
/Linux-v6.1/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c506 csk->copied_seq = csk->rcv_wup = csk->rcv_nxt = rcv_isn; in do_act_establish()
/Linux-v6.1/net/ipv6/
Dtcp_ipv6.c2039 READ_ONCE(tp->copied_seq), 0); in get_tcp6_sock()
/Linux-v6.1/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c937 csk->copied_seq = csk->rcv_wup = csk->rcv_nxt = rcv_isn; in do_act_establish()

12