| /Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
| D | txrx.c | 50 struct ath10k_skb_cb *skb_cb; in ath10k_txrx_tx_unref() local 74 skb_cb = ATH10K_SKB_CB(msdu); in ath10k_txrx_tx_unref() 75 txq = skb_cb->txq; in ath10k_txrx_tx_unref() 82 flags = skb_cb->flags; in ath10k_txrx_tx_unref() 90 if (txq && txq->sta && skb_cb->airtime_est) in ath10k_txrx_tx_unref() 92 skb_cb->airtime_est, 0); in ath10k_txrx_tx_unref() 96 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_txrx_tx_unref()
|
| D | htt_tx.c | 1206 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx() local 1231 if (skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP || in ath10k_htt_mgmt_tx() 1232 skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP_256) in ath10k_htt_mgmt_tx() 1245 skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len, in ath10k_htt_mgmt_tx() 1247 res = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htt_mgmt_tx() 1273 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_htt_mgmt_tx() 1297 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_hl() local 1333 if (skb_cb->flags & ATH10K_SKB_F_NO_HWCRYPT) in ath10k_htt_tx_hl() 1409 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_32() local 1444 } else if (!(skb_cb->flags & ATH10K_SKB_F_NO_HWCRYPT) && in ath10k_htt_tx_32() [all …]
|
| D | htc.c | 24 struct ath10k_skb_cb *skb_cb; in ath10k_htc_build_tx_ctrl_skb() local 33 skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_build_tx_ctrl_skb() 34 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_htc_build_tx_ctrl_skb() 43 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_restore_tx_skb() local 46 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb() 159 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_send() local 182 skb_cb->eid = eid; in ath10k_htc_send() 184 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, in ath10k_htc_send() 186 ret = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htc_send() 196 sg_item.paddr = skb_cb->paddr; in ath10k_htc_send() [all …]
|
| D | mac.c | 3706 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx_h_get_txmode() local 3749 skb_cb->flags & ATH10K_SKB_F_RAW_TX) in ath10k_mac_tx_h_get_txmode() 4015 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx() local 4034 !(skb_cb->flags & ATH10K_SKB_F_RAW_TX)) { in ath10k_mac_tx()
|
| D | wmi.c | 1812 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_wmi_cmd_send_nowait() local 1825 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_wmi_cmd_send_nowait()
|
| /Linux-v5.15/drivers/net/ethernet/ti/ |
| D | cpts.c | 85 struct cpts_skb_cb_data *skb_cb; in cpts_purge_txq() local 90 skb_cb = (struct cpts_skb_cb_data *)skb->cb; in cpts_purge_txq() 91 if (time_after(jiffies, skb_cb->tmo)) { in cpts_purge_txq() 347 struct cpts_skb_cb_data *skb_cb = in cpts_match_tx_ts() local 350 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in cpts_match_tx_ts() 362 if (time_after(jiffies, skb_cb->tmo)) { in cpts_match_tx_ts() 507 struct cpts_skb_cb_data *skb_cb = (struct cpts_skb_cb_data *)skb->cb; in cpts_rx_timestamp() local 517 ret = cpts_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in cpts_rx_timestamp() 521 skb_cb->skb_mtype_seqid |= (CPTS_EV_RX << EVENT_TYPE_SHIFT); in cpts_rx_timestamp() 524 __func__, skb_cb->skb_mtype_seqid); in cpts_rx_timestamp() [all …]
|
| D | am65-cpts.c | 649 struct am65_cpts_skb_cb_data *skb_cb = in am65_cpts_match_tx_ts() local 652 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in am65_cpts_match_tx_ts() 667 if (time_after(jiffies, skb_cb->tmo)) { in am65_cpts_match_tx_ts() 784 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_tx_timestamp() local 794 skb_cb->tmo = jiffies + msecs_to_jiffies(100); in am65_cpts_tx_timestamp() 811 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_prep_tx_timestamp() local 817 ret = am65_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in am65_cpts_prep_tx_timestamp() 820 skb_cb->skb_mtype_seqid |= (AM65_CPTS_EV_TX << in am65_cpts_prep_tx_timestamp()
|
| /Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
| D | dp_tx.c | 87 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_dp_tx() local 151 if (skb_cb->flags & ATH11K_SKB_CIPHER_SET) { in ath11k_dp_tx() 153 ath11k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath11k_dp_tx() 217 skb_cb->paddr = ti.paddr; in ath11k_dp_tx() 218 skb_cb->vif = arvif->vif; in ath11k_dp_tx() 219 skb_cb->ar = ar; in ath11k_dp_tx() 289 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_free_txbuf() local 300 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf() 305 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath11k_dp_tx_free_txbuf() 320 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_htt_tx_complete_buf() local [all …]
|
| D | htc.c | 37 struct ath11k_skb_cb *skb_cb; in ath11k_htc_build_tx_ctrl_skb() local 46 skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_build_tx_ctrl_skb() 47 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_htc_build_tx_ctrl_skb() 79 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_send() local 112 skb_cb->eid = eid; in ath11k_htc_send() 113 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, DMA_TO_DEVICE); in ath11k_htc_send() 114 ret = dma_mapping_error(dev, skb_cb->paddr); in ath11k_htc_send() 127 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
|
| D | mac.c | 4158 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB((struct sk_buff *)skb); in ath11k_mac_vif_txmgmt_idr_remove() local 4160 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove() 4163 if (skb_cb->vif == vif) { in ath11k_mac_vif_txmgmt_idr_remove() 4167 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, in ath11k_mac_vif_txmgmt_idr_remove() 4240 struct ath11k_skb_cb *skb_cb; in ath11k_mgmt_over_wmi_tx_work() local 4246 skb_cb = ATH11K_SKB_CB(skb); in ath11k_mgmt_over_wmi_tx_work() 4247 if (!skb_cb->vif) { in ath11k_mgmt_over_wmi_tx_work() 4253 arvif = ath11k_vif_to_arvif(skb_cb->vif); in ath11k_mgmt_over_wmi_tx_work() 4309 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_op_tx() local 4320 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_mac_op_tx() [all …]
|
| D | wmi.c | 238 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local 252 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait() 4762 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local 4777 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp() 4778 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
|
| /Linux-v5.15/net/tipc/ |
| D | crypto.c | 1322 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(skb); in tipc_crypto_key_pick_tx() local 1328 if (!skb_cb->tx_clone_deferred) { in tipc_crypto_key_pick_tx() 1329 skb_cb->tx_clone_deferred = 1; in tipc_crypto_key_pick_tx() 1330 memset(&skb_cb->tx_clone_ctx, 0, sizeof(skb_cb->tx_clone_ctx)); in tipc_crypto_key_pick_tx() 1333 skb_cb->tx_clone_ctx.rx = rx; in tipc_crypto_key_pick_tx() 1334 if (++skb_cb->tx_clone_ctx.recurs > 2) in tipc_crypto_key_pick_tx() 1352 aead == skb_cb->tx_clone_ctx.last) { in tipc_crypto_key_pick_tx() 1357 skb_cb->tx_clone_ctx.last = aead; in tipc_crypto_key_pick_tx() 1899 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(*skb); in tipc_crypto_rcv_complete() local 1907 rx = skb_cb->tx_clone_ctx.rx; in tipc_crypto_rcv_complete() [all …]
|
| D | socket.c | 1889 struct tipc_skb_cb *skb_cb; in tipc_recvmsg() local 1913 skb_cb = TIPC_SKB_CB(skb); in tipc_recvmsg() 1933 int offset = skb_cb->bytes_read; in tipc_recvmsg() 1942 skb_cb->bytes_read = offset + copy; in tipc_recvmsg() 1945 skb_cb->bytes_read = 0; in tipc_recvmsg() 1950 skb_cb->bytes_read = 0; in tipc_recvmsg() 1982 if (skb_cb->bytes_read) in tipc_recvmsg() 2018 struct tipc_skb_cb *skb_cb; in tipc_recvstream() local 2043 skb_cb = TIPC_SKB_CB(skb); in tipc_recvstream() 2066 offset = skb_cb->bytes_read; in tipc_recvstream() [all …]
|
| /Linux-v5.15/net/bluetooth/ |
| D | 6lowpan.c | 31 struct skb_cb { struct 36 #define lowpan_cb(skb) ((struct skb_cb *)((skb)->cb)) argument
|