Lines Matching full:serial
76 rxrpc_serial_t serial; in rxrpc_fill_out_ack() local
90 serial = call->ackr_serial; in rxrpc_fill_out_ack()
100 pkt->ack.serial = htonl(serial); in rxrpc_fill_out_ack()
136 static int rxrpc_begin_rtt_probe(struct rxrpc_call *call, rxrpc_serial_t serial, in rxrpc_begin_rtt_probe() argument
149 call->rtt_serial[rtt_slot] = serial; in rxrpc_begin_rtt_probe()
154 trace_rxrpc_rtt_tx(call, why, rtt_slot, serial); in rxrpc_begin_rtt_probe()
158 trace_rxrpc_rtt_tx(call, rxrpc_rtt_tx_no_slot, rtt_slot, serial); in rxrpc_begin_rtt_probe()
166 rxrpc_serial_t serial, int rtt_slot) in rxrpc_cancel_rtt_probe() argument
172 trace_rxrpc_rtt_tx(call, rxrpc_rtt_tx_cancel, rtt_slot, serial); in rxrpc_cancel_rtt_probe()
186 rxrpc_serial_t serial; in rxrpc_send_ack_packet() local
244 serial = atomic_inc_return(&conn->serial); in rxrpc_send_ack_packet()
245 pkt->whdr.serial = htonl(serial); in rxrpc_send_ack_packet()
246 trace_rxrpc_tx_ack(call->debug_id, serial, in rxrpc_send_ack_packet()
248 ntohl(pkt->ack.serial), in rxrpc_send_ack_packet()
251 *_serial = serial; in rxrpc_send_ack_packet()
254 rtt_slot = rxrpc_begin_rtt_probe(call, serial, rxrpc_rtt_tx_ping); in rxrpc_send_ack_packet()
259 trace_rxrpc_tx_fail(call->debug_id, serial, ret, in rxrpc_send_ack_packet()
268 rxrpc_cancel_rtt_probe(call, serial, rtt_slot); in rxrpc_send_ack_packet()
270 ntohl(pkt->ack.serial), in rxrpc_send_ack_packet()
292 rxrpc_serial_t serial; in rxrpc_send_abort_packet() local
331 serial = atomic_inc_return(&conn->serial); in rxrpc_send_abort_packet()
332 pkt.whdr.serial = htonl(serial); in rxrpc_send_abort_packet()
338 trace_rxrpc_tx_fail(call->debug_id, serial, ret, in rxrpc_send_abort_packet()
358 rxrpc_serial_t serial; in rxrpc_send_data_packet() local
370 /* Each transmission of a Tx packet needs a new serial number */ in rxrpc_send_data_packet()
371 serial = atomic_inc_return(&conn->serial); in rxrpc_send_data_packet()
377 whdr.serial = htonl(serial); in rxrpc_send_data_packet()
423 trace_rxrpc_tx_data(call, sp->hdr.seq, serial, in rxrpc_send_data_packet()
429 trace_rxrpc_tx_data(call, sp->hdr.seq, serial, whdr.flags, retrans, in rxrpc_send_data_packet()
439 sp->hdr.serial = serial; in rxrpc_send_data_packet()
440 smp_wmb(); /* Set serial before timestamp */ in rxrpc_send_data_packet()
443 rtt_slot = rxrpc_begin_rtt_probe(call, serial, rxrpc_rtt_tx_data); in rxrpc_send_data_packet()
456 rxrpc_cancel_rtt_probe(call, serial, rtt_slot); in rxrpc_send_data_packet()
457 trace_rxrpc_tx_fail(call->debug_id, serial, ret, in rxrpc_send_data_packet()
515 sp->hdr.serial = serial; in rxrpc_send_data_packet()
516 smp_wmb(); /* Set serial before timestamp */ in rxrpc_send_data_packet()
519 rtt_slot = rxrpc_begin_rtt_probe(call, serial, rxrpc_rtt_tx_data); in rxrpc_send_data_packet()
539 rxrpc_cancel_rtt_probe(call, serial, rtt_slot); in rxrpc_send_data_packet()
540 trace_rxrpc_tx_fail(call->debug_id, serial, ret, in rxrpc_send_data_packet()
652 whdr.serial = 0; in rxrpc_send_keepalive()