Searched refs:copied_seq (Results 1 – 13 of 13) sorted by relevance
/net/ipv4/ |
D | tcp.c | 484 int avail = READ_ONCE(tp->rcv_nxt) - READ_ONCE(tp->copied_seq); in tcp_stream_is_readable() 565 if (READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll() 627 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl() 1549 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf() 1551 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf() 1638 u32 seq = tp->copied_seq; in tcp_read_sock() 1692 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock() 1694 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock() 1904 u32 seq = tp->copied_seq; in tcp_zerocopy_receive() 2002 WRITE_ONCE(tp->copied_seq, seq); in tcp_zerocopy_receive() [all …]
|
D | tcp_diag.c | 30 READ_ONCE(tp->copied_seq), 0); in tcp_diag_get_info()
|
D | tcp_input.c | 550 tp->rcvq_space.seq = tp->copied_seq; in tcp_init_buffer_space() 719 copied = tp->copied_seq - tp->rcvq_space.seq; in tcp_rcv_space_adjust() 764 tp->rcvq_space.seq = tp->copied_seq; in tcp_rcv_space_adjust() 4990 int avail = tp->rcv_nxt - tp->copied_seq; in tcp_data_ready() 5381 tp->copied_seq, tp->rcv_nxt); in tcp_prune_queue() 5486 (tp->rcv_nxt - tp->copied_seq < sk->sk_rcvlowat || in __tcp_ack_snd_check() 5562 if (after(tp->copied_seq, ptr)) in tcp_check_urg() 5600 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg() 5601 !sock_flag(sk, SOCK_URGINLINE) && tp->copied_seq != tp->rcv_nxt) { in tcp_check_urg() 5603 tp->copied_seq++; in tcp_check_urg() [all …]
|
D | tcp_minisocks.c | 481 WRITE_ONCE(newtp->copied_seq, seq); in tcp_create_openreq_child()
|
D | tcp_ipv4.c | 2609 READ_ONCE(tp->copied_seq), 0); in get_tcp4_sock()
|
D | tcp_output.c | 3739 WRITE_ONCE(tp->copied_seq, tp->rcv_nxt); in tcp_connect_init()
|
/net/mptcp/ |
D | subflow.c | 694 skb_consumed = tcp_sk(ssk)->copied_seq - TCP_SKB_CB(skb)->seq; in skb_is_fully_mapped() 705 u32 ssn = tcp_sk(ssk)->copied_seq - subflow->ssn_offset; in validate_mapping() 870 tcp_sk(ssk)->copied_seq += incr; in mptcp_subflow_discard_data() 871 if (!before(tcp_sk(ssk)->copied_seq, TCP_SKB_CB(skb)->end_seq)) in mptcp_subflow_discard_data() 910 subflow->map_subflow_seq = tcp_sk(ssk)->copied_seq - in subflow_check_data_avail()
|
D | protocol.h | 353 return tcp_sk(mptcp_subflow_tcp_sock(subflow))->copied_seq - in mptcp_subflow_get_map_offset()
|
D | protocol.c | 474 old_copied_seq = tp->copied_seq; in __mptcp_move_skbs_from_subflow() 477 u32 seq = tp->copied_seq; in __mptcp_move_skbs_from_subflow() 530 WRITE_ONCE(tp->copied_seq, seq); in __mptcp_move_skbs_from_subflow() 540 if (tp->copied_seq != old_copied_seq) in __mptcp_move_skbs_from_subflow()
|
/net/llc/ |
D | af_llc.c | 781 seq = &llc->copied_seq; in llc_ui_recvmsg() 783 peek_seq = llc->copied_seq; in llc_ui_recvmsg() 858 if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { in llc_ui_recvmsg() 862 peek_seq = llc->copied_seq; in llc_ui_recvmsg()
|
D | llc_proc.c | 152 sk_rmem_alloc_get(sk) - llc->copied_seq, in llc_seq_socket_show()
|
/net/tls/ |
D | tls_device.c | 861 tls_device_resync_rx(tls_ctx, sk, tcp_sk(sk)->copied_seq, in tls_device_core_ctrl_rx_resync() 965 trace_tls_device_decrypted(sk, tcp_sk(sk)->copied_seq - rxm->full_len, in tls_device_decrypted() 1238 tcp_sk(sk)->copied_seq); in tls_set_device_offload_rx() 1241 tcp_sk(sk)->copied_seq, info->rec_seq, rc); in tls_set_device_offload_rx()
|
/net/ipv6/ |
D | tcp_ipv6.c | 2015 READ_ONCE(tp->copied_seq), 0); in get_tcp6_sock()
|