/linux/net/rxrpc/ |
H A D | txbuf.c | 27 txb = kmalloc(sizeof(*txb), gfp); in rxrpc_alloc_data_txbuf() 28 if (!txb) in rxrpc_alloc_data_txbuf() 40 kfree(txb); in rxrpc_alloc_data_txbuf() 75 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, 1, in rxrpc_alloc_data_txbuf() 79 return txb; in rxrpc_alloc_data_txbuf() 95 txb = kmalloc(sizeof(*txb), gfp); in rxrpc_alloc_ack_txbuf() 96 if (!txb) in rxrpc_alloc_ack_txbuf() 154 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, 1, in rxrpc_alloc_ack_txbuf() 165 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, r + 1, what); in rxrpc_get_txbuf() 172 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, r, what); in rxrpc_see_txbuf() [all …]
|
H A D | output.c | 205 txb->ack_rwind); in rxrpc_send_ack_packet() 209 iov_iter_kvec(&msg.msg_iter, WRITE, txb->kvec, txb->nr_kvec, txb->len); in rxrpc_send_ack_packet() 243 if (!txb) { in rxrpc_send_ACK() 248 txb->ack_why = why; in rxrpc_send_ACK() 334 _enter("%x,{%d}", txb->seq, txb->len); in rxrpc_prepare_data_subpacket() 339 txb->seq == 1) in rxrpc_prepare_data_subpacket() 378 trace_rxrpc_tx_data(call, txb->seq, txb->serial, txb->flags, false); in rxrpc_prepare_data_subpacket() 393 return txb->len; in rxrpc_prepare_data_packet() 441 _enter("%x,{%d}", txb->seq, txb->len); in rxrpc_send_data_packet() 449 trace_rxrpc_tx_data(call, txb->seq, txb->serial, in rxrpc_send_data_packet() [all …]
|
H A D | call_event.c | 72 struct rxrpc_txbuf *txb; in rxrpc_resend() local 104 if (after(txb->seq, seq)) in rxrpc_resend() 107 if (txb->seq == seq) in rxrpc_resend() 123 trace_rxrpc_retransmit(call, txb->seq, txb->serial, in rxrpc_resend() 127 rxrpc_transmit_one(call, txb); in rxrpc_resend() 133 txb = list_next_entry(txb, call_link); in rxrpc_resend() 167 rxrpc_transmit_one(call, txb); in rxrpc_resend() 251 struct rxrpc_txbuf *txb; in rxrpc_decant_prepared_tx() local 262 list_del(&txb->call_link); in rxrpc_decant_prepared_tx() 265 call->tx_top = txb->seq; in rxrpc_decant_prepared_tx() [all …]
|
H A D | sendmsg.c | 308 if (txb) in rxrpc_send_data() 338 if (!txb) { in rxrpc_send_data() 352 if (!txb) { in rxrpc_send_data() 365 if (!copy_from_iter_full(txb->kvec[0].iov_base + txb->offset, in rxrpc_send_data() 369 txb->space -= copy; in rxrpc_send_data() 370 txb->len += copy; in rxrpc_send_data() 371 txb->offset += copy; in rxrpc_send_data() 383 if (!txb->space || in rxrpc_send_data() 395 txb->kvec[0].iov_len += txb->len; in rxrpc_send_data() 396 txb->len = txb->kvec[0].iov_len; in rxrpc_send_data() [all …]
|
H A D | rxkad.c | 171 if (!txb) in rxkad_alloc_txbuf() 174 txb->offset += shdr; in rxkad_alloc_txbuf() 175 txb->space -= shdr; in rxkad_alloc_txbuf() 176 return txb; in rxkad_alloc_txbuf() 267 pad = txb->len; in rxkad_secure_packet_auth() 271 memset(txb->kvec[0].iov_base + txb->offset, 0, pad); in rxkad_secure_packet_auth() 272 txb->len += pad; in rxkad_secure_packet_auth() 313 pad = txb->len; in rxkad_secure_packet_encrypt() 317 memset(txb->kvec[0].iov_base + txb->offset, 0, pad); in rxkad_secure_packet_encrypt() 318 txb->len += pad; in rxkad_secure_packet_encrypt() [all …]
|
H A D | call_object.c | 674 struct rxrpc_txbuf *txb; in rxrpc_destroy_call() local 680 while ((txb = list_first_entry_or_null(&call->tx_sendmsg, in rxrpc_destroy_call() 682 list_del(&txb->call_link); in rxrpc_destroy_call() 683 rxrpc_put_txbuf(txb, rxrpc_txbuf_put_cleaned); in rxrpc_destroy_call() 685 while ((txb = list_first_entry_or_null(&call->tx_buffer, in rxrpc_destroy_call() 687 list_del(&txb->call_link); in rxrpc_destroy_call() 688 rxrpc_put_txbuf(txb, rxrpc_txbuf_put_cleaned); in rxrpc_destroy_call()
|
H A D | ar-internal.h | 817 static inline bool rxrpc_sending_to_server(const struct rxrpc_txbuf *txb) in rxrpc_sending_to_server() argument 819 return txb->flags & RXRPC_CLIENT_INITIATED; in rxrpc_sending_to_server() 822 static inline bool rxrpc_sending_to_client(const struct rxrpc_txbuf *txb) in rxrpc_sending_to_client() argument 824 return !rxrpc_sending_to_server(txb); in rxrpc_sending_to_client() 1156 void rxrpc_transmit_one(struct rxrpc_call *call, struct rxrpc_txbuf *txb); 1288 void rxrpc_get_txbuf(struct rxrpc_txbuf *txb, enum rxrpc_txbuf_trace what); 1289 void rxrpc_see_txbuf(struct rxrpc_txbuf *txb, enum rxrpc_txbuf_trace what); 1290 void rxrpc_put_txbuf(struct rxrpc_txbuf *txb, enum rxrpc_txbuf_trace what);
|
H A D | insecure.c | 25 static int none_secure_packet(struct rxrpc_call *call, struct rxrpc_txbuf *txb) in none_secure_packet() argument
|
H A D | input.c | 220 struct rxrpc_txbuf *txb; in rxrpc_rotate_tx_window() local 223 list_for_each_entry_rcu(txb, &call->tx_buffer, call_link, false) { in rxrpc_rotate_tx_window() 224 if (before_eq(txb->seq, call->acks_hard_ack)) in rxrpc_rotate_tx_window() 226 if (txb->flags & RXRPC_LAST_PACKET) { in rxrpc_rotate_tx_window() 230 if (txb->seq == to) in rxrpc_rotate_tx_window()
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_tx.c | 169 if (unlikely(!txb)) in libipw_txb_free() 172 if (txb->fragments[i]) in libipw_txb_free() 174 kfree(txb); in libipw_txb_free() 180 struct libipw_txb *txb; in libipw_alloc_txb() local 183 txb = kzalloc(struct_size(txb, fragments, nr_frags), gfp_mask); in libipw_alloc_txb() 184 if (!txb) in libipw_alloc_txb() 202 kfree(txb); in libipw_alloc_txb() 205 return txb; in libipw_alloc_txb() 413 if (unlikely(!txb)) { in libipw_xmit() 497 if (txb) { in libipw_xmit() [all …]
|
H A D | ipw2100.c | 2916 libipw_txb_free(packet->info.d_struct.txb); in __ipw2100_tx_process() 2917 packet->info.d_struct.txb = NULL; in __ipw2100_tx_process() 3115 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data() 3117 packet->info.d_struct.txb->frag_size - in ipw2100_tx_send_data() 3155 txb->fragments[i]->data + in ipw2100_tx_send_data() 3388 packet->info.d_struct.txb = txb; in ipw2100_tx() 3391 printk_buf(IPW_DL_TX, txb->fragments[0]->data, txb->fragments[0]->len); in ipw2100_tx() 4484 txb); in ipw2100_tx_initialize() 4523 txb); in ipw2100_tx_free() 5805 libipw_txb_free(packet->info.d_struct.txb); in ipw2100_close() [all …]
|
H A D | ipw2200.c | 3726 q->txb = kmalloc_array(count, sizeof(q->txb[0]), GFP_KERNEL); in ipw_queue_tx_init() 3727 if (!q->txb) in ipw_queue_tx_init() 3736 kfree(q->txb); in ipw_queue_tx_init() 3737 q->txb = NULL; in ipw_queue_tx_init() 3811 kfree(txq->txb); in ipw_queue_tx_free() 10043 txb->fragments[0]->data; in ipw_tx_skb() 10083 txq->txb[q->first_empty] = txb; in ipw_tx_skb() 10161 txb->nr_frags)); in ipw_tx_skb() 10183 if (i != txb->nr_frags) { in ipw_tx_skb() 10206 txb->fragments[i] = skb; in ipw_tx_skb() [all …]
|
/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_tx.c | 196 if (unlikely(!txb)) in rtllib_txb_free() 198 kfree(txb); in rtllib_txb_free() 207 txb = kzalloc(struct_size(txb, fragments, nr_frags), gfp_mask); in rtllib_alloc_txb() 208 if (!txb) in rtllib_alloc_txb() 218 memset(txb->fragments[i]->cb, 0, sizeof(txb->fragments[i]->cb)); in rtllib_alloc_txb() 221 return txb; in rtllib_alloc_txb() 226 kfree(txb); in rtllib_alloc_txb() 576 txb->encrypted = 0; in rtllib_xmit_inter() 722 if (unlikely(!txb)) { in rtllib_xmit_inter() 820 if (txb) { in rtllib_xmit_inter() [all …]
|
H A D | rtllib_softmac.c | 1801 unsigned int queue_index = txb->queue_index; in rtllib_softmac_xmit() 1813 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + in rtllib_softmac_xmit() 1821 for (i = 0; i < txb->nr_frags; i++) { in rtllib_softmac_xmit() 1832 txb->fragments[i]); in rtllib_softmac_xmit() 1834 kfree_skb(txb->fragments[i]); in rtllib_softmac_xmit() 1836 ieee->softmac_data_hard_start_xmit(txb->fragments[i], in rtllib_softmac_xmit() 1841 rtllib_txb_free(txb); in rtllib_softmac_xmit() 1852 if (ieee->tx_pending.txb) { in rtllib_reset_queue() 1853 rtllib_txb_free(ieee->tx_pending.txb); in rtllib_reset_queue() 1854 ieee->tx_pending.txb = NULL; in rtllib_reset_queue() [all …]
|
/linux/drivers/net/ethernet/micrel/ |
H A D | ks8851_spi.c | 122 __le16 txb[2]; in ks8851_wrreg16_spi() local 126 txb[1] = cpu_to_le16(val); in ks8851_wrreg16_spi() 128 xfer->tx_buf = txb; in ks8851_wrreg16_spi() 163 xfer->tx_buf = txb; in ks8851_rdreg() 175 xfer->tx_buf = txb; in ks8851_rdreg() 218 u8 txb[1]; in ks8851_rdfifo_spi() local 225 txb[0] = KS_SPIOP_RXFIFO; in ks8851_rdfifo_spi() 227 xfer->tx_buf = txb; in ks8851_rdfifo_spi() 315 struct sk_buff *txb; in ks8851_tx_work() local 328 if (txb) { in ks8851_tx_work() [all …]
|
H A D | ks8851.h | 337 u8 txb[6]; member 443 struct sk_buff *txb) in ks8851_done_tx() argument 447 dev->stats.tx_bytes += txb->len; in ks8851_done_tx() 450 dev_kfree_skb(txb); in ks8851_done_tx()
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | adv748x.yaml | 38 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 39 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 40 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 41 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 42 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 43 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 44 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 45 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 46 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 47 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] [all …]
|
/linux/drivers/net/ethernet/vertexcom/ |
H A D | mse102x.c | 153 __be16 txb[2]; in mse102x_tx_cmd_spi() local 156 txb[0] = cpu_to_be16(DET_CMD); in mse102x_tx_cmd_spi() 157 txb[1] = cpu_to_be16(cmd); in mse102x_tx_cmd_spi() 159 xfer->tx_buf = txb; in mse102x_tx_cmd_spi() 181 txb[0] = 0; in mse102x_rx_cmd_spi() 182 txb[1] = 0; in mse102x_rx_cmd_spi() 184 xfer->tx_buf = txb; in mse102x_rx_cmd_spi() 381 if (txb->len < ETH_ZLEN) in mse102x_tx_pkt_spi() 382 pad = ETH_ZLEN - txb->len; in mse102x_tx_pkt_spi() 433 struct sk_buff *txb; in mse102x_tx_work() local [all …]
|
/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x-core.c | 526 adv748x_tx_power(&state->txb, 1); in adv748x_reset() 527 adv748x_tx_power(&state->txb, 0); in adv748x_reset() 537 if (is_tx_enabled(&state->txb)) { in adv748x_reset() 539 adv748x_csi2_set_virtual_channel(&state->txb, 0); in adv748x_reset() 644 state->txb.num_lanes = num_lanes; in adv748x_parse_csi2_lanes() 645 state->txb.active_lanes = num_lanes; in adv748x_parse_csi2_lanes() 732 state->txa.state = state->txb.state = state; in adv748x_probe() 734 state->txb.page = ADV748X_PAGE_TXB; in adv748x_probe() 736 state->txb.port = ADV748X_PORT_TXB; in adv748x_probe() 794 ret = adv748x_csi2_init(state, &state->txb); in adv748x_probe() [all …]
|
H A D | adv748x.h | 95 #define is_txb(_tx) ((_tx) == &(_tx)->state->txb) 196 struct adv748x_csi2 txb; member
|
/linux/drivers/spi/ |
H A D | spi-loopback-test.c | 607 u8 rxb, txb; in spi_test_check_loopback_result() local 630 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result() 632 if (txb != rxb) in spi_test_check_loopback_result() 637 txb = ((u8 *)xfer->rx_buf)[0]; in spi_test_check_loopback_result() 639 if (!((txb == 0) || (txb == 0xff))) { in spi_test_check_loopback_result() 642 txb); in spi_test_check_loopback_result() 648 if (rxb != txb) in spi_test_check_loopback_result() 659 i, txb, rxb); in spi_test_check_loopback_result()
|
/linux/drivers/net/ethernet/adi/ |
H A D | adin1110.c | 370 struct sk_buff *txb) in adin1110_write_fifo() argument 385 if (txb->len + ADIN1110_FEC_LEN < 64) in adin1110_write_fifo() 386 padding = 64 - (txb->len + ADIN1110_FEC_LEN); in adin1110_write_fifo() 388 padded_len = txb->len + padding + ADIN1110_FRAME_HEADER_LEN; in adin1110_write_fifo() 414 txb->data, txb->len); in adin1110_write_fifo() 420 port_priv->tx_bytes += txb->len; in adin1110_write_fifo() 968 struct sk_buff *txb; in adin1110_tx_work() local 976 while ((txb = skb_dequeue(&port_priv->txq))) { in adin1110_tx_work() 977 ret = adin1110_write_fifo(port_priv, txb); in adin1110_tx_work() 982 dev_kfree_skb(txb); in adin1110_tx_work()
|
/linux/drivers/net/fjes/ |
H A D | fjes_hw.h | 74 #define FJES_DEV_COMMAND_SHARE_BUFFER_REQ_LEN(txb, rxb) \ argument 75 (24 + (8 * ((txb) / EP_BUFFER_INFO_SIZE + (rxb) / EP_BUFFER_INFO_SIZE)))
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl,imx-asrc.yaml | 49 - const: txb 173 "txa", "txb", "txc";
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.c | 725 struct ocelot_fdma_tx_buf *txb; in ocelot_fdma_free_tx_ring() local 733 txb = &tx_ring->bufs[idx]; in ocelot_fdma_free_tx_ring() 734 skb = txb->skb; in ocelot_fdma_free_tx_ring() 735 dma_unmap_single(ocelot->dev, dma_unmap_addr(txb, dma_addr), in ocelot_fdma_free_tx_ring()
|