Searched refs:txb (Results 1 – 8 of 8) sorted by relevance
| /net/rxrpc/ |
| A D | txbuf.c | 26 txb = kzalloc(sizeof(*txb), gfp); in rxrpc_alloc_data_txbuf() 27 if (!txb) in rxrpc_alloc_data_txbuf() 42 kfree(txb); in rxrpc_alloc_data_txbuf() 51 txb->offset = 0; in rxrpc_alloc_data_txbuf() 56 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, 1, in rxrpc_alloc_data_txbuf() 60 return txb; in rxrpc_alloc_data_txbuf() 67 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, r, what); in rxrpc_see_txbuf() 72 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, 0, in rxrpc_free_txbuf() 74 if (txb->data) in rxrpc_free_txbuf() 76 kfree(txb); in rxrpc_free_txbuf() [all …]
|
| A D | rxkad.c | 177 if (!txb) in rxkad_alloc_txbuf() 183 txb->space = part; in rxkad_alloc_txbuf() 184 return txb; in rxkad_alloc_txbuf() 273 txb->pkt_len = sizeof(struct rxkad_level1_hdr) + txb->len; in rxkad_secure_packet_auth() 274 pad = txb->pkt_len; in rxkad_secure_packet_auth() 278 memset(txb->data + txb->offset, 0, pad); in rxkad_secure_packet_auth() 322 memset(txb->data + txb->offset, 0, pad); in rxkad_secure_packet_encrypt() 353 txb->seq, txb->len); in rxkad_secure_packet() 390 txb->pkt_len = txb->len; in rxkad_secure_packet() 409 if (txb->pkt_len < txb->alloc_size) { in rxkad_secure_packet() [all …]
|
| A D | rxgk.c | 326 if (!txb) in rxgk_alloc_txbuf() 332 txb->space = part; in rxgk_alloc_txbuf() 337 return txb; in rxgk_alloc_txbuf() 368 sg_set_buf(&sg[0], txb->data, txb->alloc_size); in rxgk_secure_packet_integrity() 372 txb->crypto_header, txb->sec_header + txb->len); in rxgk_secure_packet_integrity() 374 txb->pkt_len = ret; in rxgk_secure_packet_integrity() 400 hdr = txb->data + txb->crypto_header; in rxgk_secure_packet_encrypted() 409 sg_set_buf(&sg[0], txb->data, txb->alloc_size); in rxgk_secure_packet_encrypted() 413 txb->crypto_header, txb->sec_header + txb->len, in rxgk_secure_packet_encrypted() 416 txb->pkt_len = ret; in rxgk_secure_packet_encrypted() [all …]
|
| A D | sendmsg.c | 265 sq->bufs[ix] = txb; in rxrpc_queue_packet() 356 txb = call->tx_pending; in rxrpc_send_data() 358 if (txb) in rxrpc_send_data() 388 if (!txb) { in rxrpc_send_data() 409 if (!txb) { in rxrpc_send_data() 422 if (!copy_from_iter_full(txb->data + txb->offset, in rxrpc_send_data() 426 txb->space -= copy; in rxrpc_send_data() 427 txb->len += copy; in rxrpc_send_data() 428 txb->offset += copy; in rxrpc_send_data() 440 if (!txb->space || in rxrpc_send_data() [all …]
|
| A D | insecure.c | 25 static int none_secure_packet(struct rxrpc_call *call, struct rxrpc_txbuf *txb) in none_secure_packet() argument 27 txb->pkt_len = txb->len; in none_secure_packet() 28 if (txb->len == RXRPC_JUMBO_DATALEN) in none_secure_packet() 29 txb->jumboable = true; in none_secure_packet()
|
| A D | output.c | 430 struct rxrpc_txbuf *txb, in rxrpc_prepare_data_subpacket() argument 438 size_t len = txb->pkt_len; in rxrpc_prepare_data_subpacket() 442 _enter("%x,%zd", txb->seq, len); in rxrpc_prepare_data_subpacket() 444 txb->serial = serial; in rxrpc_prepare_data_subpacket() 447 txb->seq == 1) in rxrpc_prepare_data_subpacket() 501 whdr->cksum = txb->cksum; in rxrpc_prepare_data_subpacket() 502 kv->iov_base = txb->data; in rxrpc_prepare_data_subpacket() 506 jumbo->cksum = txb->cksum; in rxrpc_prepare_data_subpacket() 511 trace_rxrpc_tx_data(call, txb->seq, txb->serial, flags, req->trace); in rxrpc_prepare_data_subpacket() 645 struct rxrpc_txbuf *txb; in rxrpc_send_data_packet() local [all …]
|
| A D | call_event.c | 65 struct rxrpc_txbuf *txb = tq->bufs[ix]; in rxrpc_retransmit_data() local 67 _enter("%x,%x,%x,%x", tq->qbase, req->seq, ix, txb->debug_id); in rxrpc_retransmit_data() 70 trace_rxrpc_retransmit(call, req, txb); in rxrpc_retransmit_data() 72 txb->flags |= RXRPC_TXBUF_RESENT; in rxrpc_retransmit_data() 112 struct rxrpc_txbuf *txb = tq->bufs[ix]; in rxrpc_resend() local 115 rxrpc_see_txbuf(txb, rxrpc_txbuf_see_lost); in rxrpc_resend() 213 struct rxrpc_txbuf *txb; in rxrpc_transmit_fresh_data() local 241 txb = tq->bufs[ix]; in rxrpc_transmit_fresh_data() 243 if (!txb->jumboable) in rxrpc_transmit_fresh_data() 247 if (txb->flags & RXRPC_LAST_PACKET) { in rxrpc_transmit_fresh_data()
|
| A D | ar-internal.h | 935 static inline bool rxrpc_sending_to_server(const struct rxrpc_txbuf *txb) in rxrpc_sending_to_server() argument 937 return txb->flags & RXRPC_CLIENT_INITIATED; in rxrpc_sending_to_server() 940 static inline bool rxrpc_sending_to_client(const struct rxrpc_txbuf *txb) in rxrpc_sending_to_client() argument 942 return !rxrpc_sending_to_server(txb); in rxrpc_sending_to_client() 1513 void rxrpc_see_txbuf(struct rxrpc_txbuf *txb, enum rxrpc_txbuf_trace what); 1514 void rxrpc_put_txbuf(struct rxrpc_txbuf *txb, enum rxrpc_txbuf_trace what);
|
Completed in 23 milliseconds