Home
last modified time | relevance | path

Searched refs:skbs (Results 1 – 20 of 20) sorted by relevance

/drivers/isdn/hysdn/
Dhysdn_net.c45 struct sk_buff *skbs[MAX_SKB_BUFFERS]; /* pointers to tx-skbs */ member
92 dev_kfree_skb(nl->skbs[nl->out_idx++]); /* free skb */ in flush_tx_buffers()
126 lp->skbs[lp->in_idx++] = skb; /* add to buffer list */ in net_send_packet()
170 lp->dev->stats.tx_bytes += lp->skbs[lp->out_idx]->len; in hysdn_tx_netack()
172 dev_kfree_skb(lp->skbs[lp->out_idx++]); /* free skb */ in hysdn_tx_netack()
228 return (lp->skbs[lp->out_idx]); /* next packet to send */ in hysdn_tx_netget()
Dhycapi.c126 cinfo->skbs[cinfo->in_idx++] = skb; /* add to buffer list */ in hycapi_sendmsg_internal()
643 kfree_skb(cinfo->skbs[cinfo->out_idx]); /* free skb */ in hycapi_tx_capiack()
644 cinfo->skbs[cinfo->out_idx++] = NULL; in hycapi_tx_capiack()
670 return (cinfo->skbs[cinfo->out_idx]); /* next packet to send */ in hycapi_tx_capiget()
Dhysdn_defs.h205 struct sk_buff *skbs[HYSDN_MAX_CAPI_SKB]; member
/drivers/net/ethernet/sfc/
Dselftest.c83 struct sk_buff **skbs; member
412 state->skbs[i] = skb; in efx_begin_loopback()
467 skb = state->skbs[i]; in efx_end_loopback()
523 state->skbs = kcalloc(state->packet_count, in efx_test_loopback()
524 sizeof(state->skbs[0]), GFP_KERNEL); in efx_test_loopback()
525 if (!state->skbs) in efx_test_loopback()
546 kfree(state->skbs); in efx_test_loopback()
/drivers/net/wireless/iwlwifi/mvm/
Dtx.c619 struct sk_buff_head skbs; in iwl_mvm_rx_tx_cmd_single() local
623 __skb_queue_head_init(&skbs); in iwl_mvm_rx_tx_cmd_single()
628 iwl_trans_reclaim(mvm->trans, txq_id, ssn, &skbs); in iwl_mvm_rx_tx_cmd_single()
630 while (!skb_queue_empty(&skbs)) { in iwl_mvm_rx_tx_cmd_single()
631 struct sk_buff *skb = __skb_dequeue(&skbs); in iwl_mvm_rx_tx_cmd_single()
/drivers/net/wireless/iwlwifi/dvm/
Dtx.c1146 struct sk_buff_head skbs; in iwlagn_rx_reply_tx() local
1167 __skb_queue_head_init(&skbs); in iwlagn_rx_reply_tx()
1195 iwl_trans_reclaim(priv->trans, txq_id, ssn, &skbs); in iwlagn_rx_reply_tx()
1201 skb_queue_walk(&skbs, skb) { in iwlagn_rx_reply_tx()
1272 while (!skb_queue_empty(&skbs)) { in iwlagn_rx_reply_tx()
1273 skb = __skb_dequeue(&skbs); in iwlagn_rx_reply_tx()
/drivers/net/wireless/iwlwifi/
Diwl-trans.h507 struct sk_buff_head *skbs);
778 int ssn, struct sk_buff_head *skbs) in iwl_trans_reclaim() argument
783 trans->ops->reclaim(trans, queue, ssn, skbs); in iwl_trans_reclaim()
/drivers/net/ethernet/natsemi/
Dns83820.c415 struct sk_buff *skbs[NR_RX_DESC]; member
538 BUG_ON(NULL != dev->rx_info.skbs[next_empty]); in ns83820_add_rx_skb()
539 dev->rx_info.skbs[next_empty] = skb; in ns83820_add_rx_skb()
802 struct sk_buff *skb = dev->rx_info.skbs[i]; in ns83820_cleanup_rx()
803 dev->rx_info.skbs[i] = NULL; in ns83820_cleanup_rx()
868 skb = info->skbs[next_rx];
869 info->skbs[next_rx] = NULL;
/drivers/net/wireless/iwlegacy/
D3945.c298 skb = txq->skbs[txq->q.read_ptr]; in il3945_tx_queue_reclaim()
300 txq->skbs[txq->q.read_ptr] = NULL; in il3945_tx_queue_reclaim()
347 info = IEEE80211_SKB_CB(txq->skbs[txq->q.read_ptr]); in il3945_hdl_tx()
682 if (txq->skbs) { in il3945_hw_txq_free_tfd()
683 struct sk_buff *skb = txq->skbs[txq->q.read_ptr]; in il3945_hw_txq_free_tfd()
688 txq->skbs[txq->q.read_ptr] = NULL; in il3945_hw_txq_free_tfd()
D4965-mac.c1782 txq->skbs[q->write_ptr] = skb; in il4965_tx_skb()
2490 skb = txq->skbs[txq->q.read_ptr]; in il4965_tx_queue_reclaim()
2501 txq->skbs[txq->q.read_ptr] = NULL; in il4965_tx_queue_reclaim()
2565 info = IEEE80211_SKB_CB(il->txq[scd_flow].skbs[agg->start_idx]); in il4965_tx_status_reply_compressed_ba()
2692 info = IEEE80211_SKB_CB(il->txq[txq_id].skbs[idx]); in il4965_tx_status_reply_tx()
2725 skb = il->txq[txq_id].skbs[idx]; in il4965_tx_status_reply_tx()
2803 skb = txq->skbs[txq->q.read_ptr]; in il4965_hdl_tx()
3965 if (txq->skbs) { in il4965_hw_txq_free_tfd()
3966 struct sk_buff *skb = txq->skbs[txq->q.read_ptr]; in il4965_hw_txq_free_tfd()
3971 txq->skbs[txq->q.read_ptr] = NULL; in il4965_hw_txq_free_tfd()
Dcommon.c2806 kfree(txq->skbs); in il_tx_queue_free()
2807 txq->skbs = NULL; in il_tx_queue_free()
2983 txq->skbs = kcalloc(TFD_QUEUE_SIZE_MAX, in il_tx_queue_alloc()
2986 if (!txq->skbs) { in il_tx_queue_alloc()
2991 txq->skbs = NULL; in il_tx_queue_alloc()
3005 kfree(txq->skbs); in il_tx_queue_alloc()
3006 txq->skbs = NULL; in il_tx_queue_alloc()
Dcommon.h169 struct sk_buff **skbs; member
D3945-mac.c544 txq->skbs[q->write_ptr] = skb; in il3945_tx_skb()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c480 static int rx_offload_blackhole(struct t3cdev *dev, struct sk_buff **skbs, in rx_offload_blackhole() argument
484 dev_kfree_skb_any(skbs[n]); in rx_offload_blackhole()
1019 static int process_rx(struct t3cdev *dev, struct sk_buff **skbs, int n) in process_rx() argument
1022 struct sk_buff *skb = *skbs++; in process_rx()
Dsge.c1811 struct sk_buff *skbs[], int n) in deliver_partial_bundle() argument
1815 tdev->recv(tdev, skbs, n); in deliver_partial_bundle()
1838 struct sk_buff *skb, *tmp, *skbs[RX_BUNDLE_SIZE]; in ofld_poll() local
1860 skbs[ngathered] = skb; in ofld_poll()
1863 adapter->tdev.recv(&adapter->tdev, skbs, in ofld_poll()
1874 deliver_partial_bundle(&adapter->tdev, q, skbs, ngathered); in ofld_poll()
/drivers/net/wireless/iwlwifi/pcie/
Dinternal.h381 struct sk_buff_head *skbs);
Dtx.c932 struct sk_buff_head *skbs) in iwl_trans_pcie_reclaim() argument
970 if (WARN_ON(!skb_queue_empty(skbs))) in iwl_trans_pcie_reclaim()
980 __skb_queue_tail(skbs, txq->entries[txq->q.read_ptr].skb); in iwl_trans_pcie_reclaim()
/drivers/net/ethernet/sun/
Dcassini.c1857 struct sk_buff **skbs; in cas_tx_ringN() local
1863 skbs = cp->tx_skbs[ring]; in cas_tx_ringN()
1868 struct sk_buff *skb = skbs[entry]; in cas_tx_ringN()
1888 skbs[entry] = NULL; in cas_tx_ringN()
3897 struct sk_buff *skb, **skbs = cp->tx_skbs[ring]; in cas_clean_txd() local
3905 if (skbs[i] == NULL) in cas_clean_txd()
3908 skb = skbs[i]; in cas_clean_txd()
3909 skbs[i] = NULL; in cas_clean_txd()
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c872 struct sk_buff *skbs[TX_CLEAN_BATCHSIZE]; in pasemi_mac_clean_tx() local
929 skbs[descr_count] = skb; in pasemi_mac_clean_tx()
943 pasemi_mac_unmap_tx_skb(mac, nf[i], skbs[i], dmas[i]); in pasemi_mac_clean_tx()
/drivers/net/
DKconfig244 This option enables a monitoring net device for netlink skbs. The