/linux-master/include/linux/ |
H A D | skb_array.h | 10 * Limited-size FIFO of skbs. Can be used more or less whenever 191 struct sk_buff **skbs, int n) 193 ptr_ring_unconsume(&a->ring, (void **)skbs, n, __skb_array_destroy_skb); 190 skb_array_unconsume(struct skb_array *a, struct sk_buff **skbs, int n) argument
|
/linux-master/drivers/net/ethernet/actions/ |
H A D | owl-emac.c | 206 ring->skbs[i] = skb; 252 owl_emac_dma_unmap_rx(priv, ring->skbs[i], ring->skbs_dma[i]); 255 dev_kfree_skb(ring->skbs[i]); 256 ring->skbs[i] = NULL; 271 owl_emac_dma_unmap_tx(priv, ring->skbs[i], ring->skbs_dma[i]); 274 dev_kfree_skb(ring->skbs[i]); 275 ring->skbs[i] = NULL; 288 ring->skbs = devm_kcalloc(dev, size, sizeof(struct sk_buff *), 290 if (!ring->skbs) 530 ring->skbs[tx_hea [all...] |
H A D | owl-emac.h | 247 struct sk_buff **skbs; member in struct:owl_emac_ring
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | selftest.c | 79 * @skbs: An array of skbs transmitted 88 struct sk_buff **skbs; member in struct:efx_loopback_state 432 state->skbs[i] = skb; 460 /* Defer cleaning up the other skbs for the caller */ 488 * skbs not already completed will be free'd when the queue is flushed */ 490 skb = state->skbs[i]; 502 /* Don't free the skbs; they will be picked up on TX 546 state->skbs = kcalloc(state->packet_count, 547 sizeof(state->skbs[ [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | selftest.c | 76 * @skbs: An array of skbs transmitted 85 struct sk_buff **skbs; member in struct:ef4_loopback_state 434 state->skbs[i] = skb; 462 /* Defer cleaning up the other skbs for the caller */ 490 * skbs not already completed will be free'd when the queue is flushed */ 492 skb = state->skbs[i]; 504 /* Don't free the skbs; they will be picked up on TX 548 state->skbs = kcalloc(state->packet_count, 549 sizeof(state->skbs[ [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 78 * @skbs: An array of skbs transmitted 87 struct sk_buff **skbs; member in struct:efx_loopback_state 431 state->skbs[i] = skb; 459 /* Defer cleaning up the other skbs for the caller */ 487 * skbs not already completed will be free'd when the queue is flushed */ 489 skb = state->skbs[i]; 501 /* Don't free the skbs; they will be picked up on TX 545 state->skbs = kcalloc(state->packet_count, 546 sizeof(state->skbs[ [all...] |
/linux-master/drivers/net/ethernet/socionext/ |
H A D | sni_ave.c | 227 struct sk_buff *skbs; member in struct:ave_desc 586 skb = priv->rx.desc[entry].skbs; 619 priv->rx.desc[entry].skbs = skb; 716 if (priv->tx.desc[done_idx].skbs) { 719 dev_consume_skb_any(priv->tx.desc[done_idx].skbs); 720 priv->tx.desc[done_idx].skbs = NULL; 777 skb = priv->rx.desc[proc_idx].skbs; 778 priv->rx.desc[proc_idx].skbs = NULL; 1372 if (!priv->tx.desc[entry].skbs) 1376 dev_kfree_skb_any(priv->tx.desc[entry].skbs); [all...] |
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | dma.c | 283 struct sk_buff_head skbs; local 286 __skb_queue_head_init(&skbs); 295 skb_queue_splice_init(&dev->tx_skb_done, &skbs); 299 while (!skb_queue_empty(&skbs)) { 300 struct sk_buff *skb = __skb_dequeue(&skbs);
|
/linux-master/net/mac80211/ |
H A D | wpa.c | 255 skb_queue_walk(&tx->skbs, skb) { 505 skb_queue_walk(&tx->skbs, skb) { 707 skb_queue_walk(&tx->skbs, skb) { 843 if (WARN_ON(skb_queue_len(&tx->skbs) != 1)) 846 skb = skb_peek(&tx->skbs); 891 if (WARN_ON(skb_queue_len(&tx->skbs) != 1)) 894 skb = skb_peek(&tx->skbs); 1036 if (WARN_ON(skb_queue_len(&tx->skbs) != 1)) 1039 skb = skb_peek(&tx->skbs);
|
H A D | tx.c | 919 __skb_queue_tail(&tx->skbs, tmp); 960 /* no matter what happens, tx->skb moves to tx->skbs */ 961 __skb_queue_tail(&tx->skbs, skb); 998 skb_queue_walk(&tx->skbs, skb) { 1004 if (!skb_queue_is_last(&tx->skbs, skb)) { 1034 skb_queue_walk(&tx->skbs, skb) { 1085 skb_queue_walk(&tx->skbs, skb) { 1089 if (!skb_queue_is_last(&tx->skbs, skb)) { 1090 struct sk_buff *next = skb_queue_next(&tx->skbs, skb); 1217 __skb_queue_head_init(&tx->skbs); 1664 ieee80211_tx_frags(struct ieee80211_local *local, struct ieee80211_vif *vif, struct sta_info *sta, struct sk_buff_head *skbs, bool txpending) argument 1740 __ieee80211_tx(struct ieee80211_local *local, struct sk_buff_head *skbs, struct sta_info *sta, bool txpending) argument 4602 unsigned int skbs = 0, len = 0; local 4821 struct sk_buff_head skbs; local [all...] |
H A D | wep.c | 299 skb_queue_walk(&tx->skbs, skb) {
|
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | xsk.c | 391 unsigned int pkts_polled, skbs = 0; local 393 pkts_polled = nfp_nfd3_xsk_rx(r_vec->rx_ring, budget, &skbs); 404 if (pkts_polled < budget && napi_complete_done(napi, skbs))
|
/linux-master/kernel/bpf/ |
H A D | cpumap.c | 282 void *skbs[CPUMAP_BATCH]; local 334 gfp, nframes, skbs); 337 skbs[i] = NULL; /* effect: xdp_return_frame */ 345 struct sk_buff *skb = skbs[i]; 447 * stop the kthread prematurely and all pending frames or skbs
|
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_fp.c | 79 struct sk_buff *skb = txq->sw_tx_ring.skbs[idx].skb; 84 bool data_split = txq->sw_tx_ring.skbs[idx].flags & QEDE_TSO_SPLIT_BD; 124 txq->sw_tx_ring.skbs[idx].skb = NULL; 125 txq->sw_tx_ring.skbs[idx].flags = 0; 136 struct sk_buff *skb = txq->sw_tx_ring.skbs[idx].skb; 172 txq->sw_tx_ring.skbs[idx].skb = NULL; 173 txq->sw_tx_ring.skbs[idx].flags = 0; 1519 txq->sw_tx_ring.skbs[idx].skb = skb; 1641 txq->sw_tx_ring.skbs[idx].flags |= QEDE_TSO_SPLIT_BD;
|
/linux-master/net/bpf/ |
H A D | test_run.c | 117 struct sk_buff **skbs; member in struct:xdp_test_data 177 xdp->skbs = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL); 178 if (!xdp->skbs) 208 kvfree(xdp->skbs); 219 kfree(xdp->skbs); 251 struct sk_buff **skbs, 259 (void **)skbs); 268 struct sk_buff *skb = skbs[i]; 356 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); 250 xdp_recv_frames(struct xdp_frame **frames, int nframes, struct sk_buff **skbs, struct net_device *dev) argument
|
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tx.c | 1123 struct sk_buff_head skbs; local 1144 __skb_queue_head_init(&skbs); 1173 iwl_trans_reclaim(priv->trans, txq_id, ssn, &skbs, false); 1178 skb_queue_walk(&skbs, skb) { 1249 while (!skb_queue_empty(&skbs)) { 1250 skb = __skb_dequeue(&skbs);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.h | 184 struct sk_buff_head *skbs, bool is_flush);
|
/linux-master/drivers/net/ethernet/renesas/ |
H A D | rswitch.c | 285 kfree(gq->skbs); 286 gq->skbs = NULL; 324 gq->skbs = kcalloc(gq->ring_size, sizeof(*gq->skbs), GFP_KERNEL); 325 if (!gq->skbs) 872 skb = gq->skbs[gq->dirty]; 877 dev_kfree_skb_any(gq->skbs[gq->dirty]); 878 gq->skbs[gq->dirty] = NULL; 1684 gq->skbs[gq->cur] = skb;
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945.c | 283 skb = txq->skbs[txq->q.read_ptr]; 285 txq->skbs[txq->q.read_ptr] = NULL; 332 info = IEEE80211_SKB_CB(txq->skbs[txq->q.read_ptr]); 667 if (txq->skbs) { 668 struct sk_buff *skb = txq->skbs[txq->q.read_ptr]; 673 txq->skbs[txq->q.read_ptr] = NULL;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_star_emac.c | 241 struct sk_buff *skbs[MTK_STAR_RING_NUM_DESCS]; member in struct:mtk_star_ring 325 desc_data->skb = ring->skbs[ring->tail]; 328 ring->skbs[ring->tail] = NULL; 349 ring->skbs[ring->head] = desc_data->skb; 718 ring->skbs[i] = skb; 738 desc_data.skb = ring->skbs[i];
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_main.c | 422 struct sk_buff **skbs, const __be64 *rsp) 424 struct sk_buff *skb = *skbs; 421 chtls_recv(struct chtls_dev *cdev, struct sk_buff **skbs, const __be64 *rsp) argument
|
/linux-master/net/core/ |
H A D | xdp.c | 591 int xdp_alloc_skb_bulk(void **skbs, int n_skb, gfp_t gfp) argument 593 n_skb = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, gfp, n_skb, skbs);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.c | 480 static int rx_offload_blackhole(struct t3cdev *dev, struct sk_buff **skbs, argument 484 dev_kfree_skb_any(skbs[n]); 1019 static int process_rx(struct t3cdev *dev, struct sk_buff **skbs, int n) argument 1022 struct sk_buff *skb = *skbs++;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.h | 593 struct sk_buff_head *skbs, bool is_flush); 1313 int ssn, struct sk_buff_head *skbs, 1321 trans->ops->reclaim(trans, queue, ssn, skbs, is_flush); 1312 iwl_trans_reclaim(struct iwl_trans *trans, int queue, int ssn, struct sk_buff_head *skbs, bool is_flush) argument
|
/linux-master/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | 401 struct sk_buff *skbs[NR_RX_DESC]; member in struct:rx_info 524 BUG_ON(NULL != dev->rx_info.skbs[next_empty]); 525 dev->rx_info.skbs[next_empty] = skb; 790 struct sk_buff *skb = dev->rx_info.skbs[i]; 791 dev->rx_info.skbs[i] = NULL; 856 skb = info->skbs[next_rx]; 857 info->skbs[next_rx] = NULL;
|