Home
last modified time | relevance | path

Searched refs:send_top (Results 1 – 6 of 6) sorted by relevance

/linux/net/rxrpc/
H A Dcall_event.c200 if (call->send_top == call->tx_top) in rxrpc_transmit_fresh_data()
214 rxrpc_seq_t send_top, seq; in rxrpc_transmit_fresh_data() local
220 send_top = smp_load_acquire(&call->send_top); in rxrpc_transmit_fresh_data()
221 if (call->tx_top == send_top) in rxrpc_transmit_fresh_data()
224 trace_rxrpc_transmit(call, send_top, space); in rxrpc_transmit_fresh_data()
245 } while (req.n < limit && before(seq, send_top)); in rxrpc_transmit_fresh_data()
264 if (call->tx_bottom == READ_ONCE(call->send_top)) in rxrpc_transmit_some_data()
273 if (call->tx_bottom == READ_ONCE(call->send_top)) { in rxrpc_transmit_some_data()
H A Dsendmsg.c101 return call->send_top - tx_bottom < 256; in rxrpc_check_tx_space()
251 ASSERTCMP(txb->seq, ==, call->send_top + 1); in rxrpc_queue_packet()
264 poke = (READ_ONCE(call->tx_bottom) == call->send_top); in rxrpc_queue_packet()
266 /* Order send_top after the queue->next pointer and txb content. */ in rxrpc_queue_packet()
267 smp_store_release(&call->send_top, seq); in rxrpc_queue_packet()
294 tq->qbase = call->send_top + 1; in rxrpc_alloc_txqueue()
311 trace_rxrpc_tq(call, tq, call->send_top, rxrpc_tq_alloc); in rxrpc_alloc_txqueue()
397 if (!call->send_queue || !((call->send_top + 1) & RXRPC_TXQ_MASK)) { in rxrpc_send_data()
H A Dtxbuf.c53 txb->seq = call->send_top + 1; in rxrpc_alloc_data_txbuf()
H A Dar-internal.h753 rxrpc_seq_t send_top; /* Highest Tx slot filled by sendmsg. */ member
H A Doutput.c480 else if (!last && !after(READ_ONCE(call->send_top), txb->seq)) in rxrpc_prepare_data_subpacket()
/linux/include/trace/events/
H A Drxrpc.h1004 __field(rxrpc_seq_t, send_top)
1014 __entry->send_top = call->send_top;
1025 __entry->send_top - __entry->tx_top,
1030 TP_PROTO(struct rxrpc_call *call, rxrpc_seq_t send_top, int space),
1032 TP_ARGS(call, send_top, space),
1053 __entry->prepared = send_top - call->tx_bottom;
1967 __entry->prepared = call->send_top - call->tx_bottom;