Home
last modified time | relevance | path

Searched refs:hard_ack (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/rxrpc/
Drecvmsg.c227 rxrpc_seq_t hard_ack, top; in rxrpc_rotate_rx_window() local
234 hard_ack = call->rx_hard_ack; in rxrpc_rotate_rx_window()
236 ASSERT(before(hard_ack, top)); in rxrpc_rotate_rx_window()
238 hard_ack++; in rxrpc_rotate_rx_window()
239 ix = hard_ack & RXRPC_RXTX_BUFF_MASK; in rxrpc_rotate_rx_window()
254 smp_store_release(&call->rx_hard_ack, hard_ack); in rxrpc_rotate_rx_window()
258 trace_rxrpc_receive(call, rxrpc_receive_rotate, serial, hard_ack); in rxrpc_rotate_rx_window()
263 if (after_eq(hard_ack, call->ackr_consumed + 2) || in rxrpc_rotate_rx_window()
265 (hard_ack == top && after(hard_ack, call->ackr_consumed))) in rxrpc_rotate_rx_window()
363 rxrpc_seq_t hard_ack, top, seq; in rxrpc_recvmsg_data() local
[all …]
Doutput.c77 rxrpc_seq_t hard_ack, top, seq; in rxrpc_fill_out_ack() local
84 hard_ack = READ_ONCE(call->rx_hard_ack); in rxrpc_fill_out_ack()
86 *_hard_ack = hard_ack; in rxrpc_fill_out_ack()
91 pkt->ack.firstPacket = htonl(hard_ack + 1); in rxrpc_fill_out_ack()
95 pkt->ack.nAcks = top - hard_ack; in rxrpc_fill_out_ack()
100 if (after(top, hard_ack)) { in rxrpc_fill_out_ack()
101 seq = hard_ack + 1; in rxrpc_fill_out_ack()
123 return top - hard_ack + 3; in rxrpc_fill_out_ack()
180 rxrpc_seq_t hard_ack, top; in rxrpc_send_ack_packet() local
223 n = rxrpc_fill_out_ack(conn, call, pkt, &hard_ack, &top, reason); in rxrpc_send_ack_packet()
[all …]
Dinput.c417 rxrpc_seq_t seq0 = sp->hdr.seq, hard_ack; in rxrpc_input_data() local
457 hard_ack = READ_ONCE(call->rx_hard_ack); in rxrpc_input_data()
502 if (before_eq(seq, hard_ack)) { in rxrpc_input_data()
519 if (after(seq, hard_ack + call->rx_winsize)) { in rxrpc_input_data()
852 rxrpc_seq_t first_soft_ack, hard_ack, prev_pkt; in rxrpc_input_ack() local
868 hard_ack = first_soft_ack - 1; in rxrpc_input_ack()
954 if (before(hard_ack, call->tx_hard_ack) || in rxrpc_input_ack()
955 after(hard_ack, call->tx_top)) { in rxrpc_input_ack()
959 if (nr_acks > call->tx_top - hard_ack) { in rxrpc_input_ack()
964 if (after(hard_ack, call->tx_hard_ack)) { in rxrpc_input_ack()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Drxrpc.h1017 __field(rxrpc_seq_t, hard_ack )
1026 __entry->hard_ack = call->rx_hard_ack;
1035 __entry->hard_ack,
1279 __field(rxrpc_seq_t, hard_ack )
1289 __entry->hard_ack = call->tx_hard_ack;
1300 __entry->hard_ack,
1307 __entry->top - __entry->hard_ack,