Home
last modified time | relevance | path

Searched refs:rx_skbuff (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dwinbond-840.c352 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
862 np->rx_skbuff[i] = 0; in init_rxtx_rings()
870 np->rx_skbuff[i] = skb; in init_rxtx_rings()
904 if (np->rx_skbuff[i]) { in free_rxtx_rings()
907 np->rx_skbuff[i]->len, in free_rxtx_rings()
909 dev_kfree_skb(np->rx_skbuff[i]); in free_rxtx_rings()
911 np->rx_skbuff[i] = 0; in free_rxtx_rings()
1292 np->rx_skbuff[entry]->len, in netdev_rx()
1296 eth_copy_and_sum(skb, np->rx_skbuff[entry]->tail, pkt_len, 0); in netdev_rx()
1299 memcpy(skb_put(skb, pkt_len), np->rx_skbuff[entry]->tail, in netdev_rx()
[all …]
Dpcnet32.c350 struct sk_buff *rx_skbuff[RX_RING_SIZE]; member
757 skb = lp->rx_skbuff[x]; in pcnet32_loopback_test()
768 skb = lp->rx_skbuff[x]; in pcnet32_loopback_test()
1509 if (lp->rx_skbuff[i]) {
1512 dev_kfree_skb(lp->rx_skbuff[i]);
1514 lp->rx_skbuff[i] = NULL;
1574 struct sk_buff *rx_skbuff = lp->rx_skbuff[i]; local
1575 if (rx_skbuff == NULL) {
1576 if (!(rx_skbuff = lp->rx_skbuff[i] = dev_alloc_skb (PKT_BUF_SZ))) {
1583 skb_reserve (rx_skbuff, 2);
[all …]
Dhamachi.c497 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
1127 struct sk_buff *skb = hmp->rx_skbuff[i]; in hamachi_tx_timeout()
1133 hmp->rx_skbuff[i] = 0; in hamachi_tx_timeout()
1139 hmp->rx_skbuff[i] = skb; in hamachi_tx_timeout()
1195 hmp->rx_skbuff[i] = 0; in hamachi_init_ring()
1200 hmp->rx_skbuff[i] = skb; in hamachi_init_ring()
1463 hmp->rx_skbuff[entry]->data, pkt_len, 0); in hamachi_rx()
1473 skb_put(skb = hmp->rx_skbuff[entry], pkt_len); in hamachi_rx()
1474 hmp->rx_skbuff[entry] = NULL; in hamachi_rx()
1549 if (hmp->rx_skbuff[entry] == NULL) { in hamachi_rx()
[all …]
Depic100.c326 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
942 ep->rx_skbuff[i] = 0; in epic_init_ring()
950 ep->rx_skbuff[i] = skb; in epic_init_ring()
1216 eth_copy_and_sum(skb, ep->rx_skbuff[entry]->tail, pkt_len, 0); in epic_rx()
1219 memcpy(skb_put(skb, pkt_len), ep->rx_skbuff[entry]->tail, in epic_rx()
1226 skb_put(skb = ep->rx_skbuff[entry], pkt_len); in epic_rx()
1227 ep->rx_skbuff[entry] = NULL; in epic_rx()
1242 if (ep->rx_skbuff[entry] == NULL) { in epic_rx()
1244 skb = ep->rx_skbuff[entry] = dev_alloc_skb(ep->rx_buf_sz); in epic_rx()
1277 skb = ep->rx_skbuff[i]; in epic_close()
[all …]
Drrunner.c740 rrpriv->rx_skbuff[i] = skb; in rr_init1()
786 if (rrpriv->rx_skbuff[i]) { in rr_init1()
789 dev_kfree_skb(rrpriv->rx_skbuff[i]); in rr_init1()
1033 rrpriv->rx_skbuff[index]->data, in rx_int()
1041 skb = rrpriv->rx_skbuff[index]; in rx_int()
1043 rrpriv->rx_skbuff[index] = newskb; in rx_int()
1175 if (rrpriv->rx_skbuff[i]) { in rr_timer()
1178 dev_kfree_skb(rrpriv->rx_skbuff[i]); in rr_timer()
1179 rrpriv->rx_skbuff[i] = NULL; in rr_timer()
1395 if (rrpriv->rx_skbuff[i]) { in rr_close()
[all …]
Dvia-rhine.c501 struct sk_buff *rx_skbuff[RX_RING_SIZE]; member
961 np->rx_skbuff[i] = 0; in alloc_rbufs()
969 np->rx_skbuff[i] = skb; in alloc_rbufs()
993 if (np->rx_skbuff[i]) { in free_rbufs()
997 dev_kfree_skb(np->rx_skbuff[i]); in free_rbufs()
999 np->rx_skbuff[i] = 0; in free_rbufs()
1543 eth_copy_and_sum(skb, np->rx_skbuff[entry]->tail, pkt_len, 0); in via_rhine_rx()
1546 memcpy(skb_put(skb, pkt_len), np->rx_skbuff[entry]->tail, in via_rhine_rx()
1550 skb = np->rx_skbuff[entry]; in via_rhine_rx()
1556 np->rx_skbuff[entry] = NULL; in via_rhine_rx()
[all …]
Damd8111e.c251 struct sk_buff* rx_skbuff; in amd8111e_free_skbs() local
265 rx_skbuff = lp->rx_skbuff[i]; in amd8111e_free_skbs()
266 if(rx_skbuff != NULL){ in amd8111e_free_skbs()
269 dev_kfree_skb(lp->rx_skbuff[i]); in amd8111e_free_skbs()
270 lp->rx_skbuff[i] = NULL; in amd8111e_free_skbs()
336 if (!(lp->rx_skbuff[i] = dev_alloc_skb(lp->rx_buff_len))) { in amd8111e_init_ring()
339 dev_kfree_skb(lp->rx_skbuff[i]); in amd8111e_init_ring()
342 skb_reserve(lp->rx_skbuff[i],2); in amd8111e_init_ring()
347 lp->rx_skbuff[i]->data,lp->rx_buff_len-2, PCI_DMA_FROMDEVICE); in amd8111e_init_ring()
780 skb = lp->rx_skbuff[rx_index]; in amd8111e_rx()
[all …]
Dforcedeth.c540 struct sk_buff *rx_skbuff[RX_RING]; member
889 if (np->rx_skbuff[nr] == NULL) { in nv_alloc_rx()
896 np->rx_skbuff[nr] = skb; in nv_alloc_rx()
898 skb = np->rx_skbuff[nr]; in nv_alloc_rx()
1022 if (np->rx_skbuff[i]) { in nv_drain_rx()
1024 np->rx_skbuff[i]->end-np->rx_skbuff[i]->data, in nv_drain_rx()
1026 dev_kfree_skb(np->rx_skbuff[i]); in nv_drain_rx()
1027 np->rx_skbuff[i] = NULL; in nv_drain_rx()
1405 np->rx_skbuff[i]->end-np->rx_skbuff[i]->data, in nv_rx_process()
1414 dprintk(" %02x", ((unsigned char*)np->rx_skbuff[i]->data)[j]); in nv_rx_process()
[all …]
Deepro100.c466 struct sk_buff *rx_skbuff[RX_RING_SIZE]; member
1285 sp->rx_skbuff[i] = skb; in speedo_init_rx_ring()
1673 sp->rx_skbuff[entry] = skb;
1712 if (sp->rx_skbuff[entry] == NULL) {
1727 if (sp->rx_skbuff[forw % RX_RING_SIZE] != NULL)
1732 sp->rx_skbuff[entry] = sp->rx_skbuff[forw_entry];
1733 sp->rx_skbuff[forw_entry] = NULL;
1824 eth_copy_and_sum(skb, sp->rx_skbuff[entry]->tail, pkt_len, 0);
1827 memcpy(skb_put(skb, pkt_len), sp->rx_skbuff[entry]->tail,
1833 skb = sp->rx_skbuff[entry];
[all …]
Dsundance.c460 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
1041 np->rx_skbuff[i] = 0; in init_ring()
1047 np->rx_skbuff[i] = skb; in init_ring()
1362 eth_copy_and_sum(skb, np->rx_skbuff[entry]->tail, pkt_len, 0); in rx_poll()
1369 skb_put(skb = np->rx_skbuff[entry], pkt_len); in rx_poll()
1370 np->rx_skbuff[entry] = NULL; in rx_poll()
1409 if (np->rx_skbuff[entry] == NULL) { in refill_rx()
1411 np->rx_skbuff[entry] = skb; in refill_rx()
1750 skb = np->rx_skbuff[i]; in netdev_close()
1756 np->rx_skbuff[i] = 0; in netdev_close()
D3c515.c330 struct sk_buff *rx_skbuff[RX_RING_SIZE]; member
869 vp->rx_skbuff[i] = skb; in corkscrew_open()
1439 skb = vp->rx_skbuff[entry]; in boomerang_rx()
1440 vp->rx_skbuff[entry] = NULL; in boomerang_rx()
1464 if (vp->rx_skbuff[entry] == NULL) { in boomerang_rx()
1471 vp->rx_skbuff[entry] = skb; in boomerang_rx()
1517 if (vp->rx_skbuff[i]) { in corkscrew_close()
1518 dev_kfree_skb(vp->rx_skbuff[i]); in corkscrew_close()
1519 vp->rx_skbuff[i] = 0; in corkscrew_close()
Dyellowfin.c365 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
793 yp->rx_skbuff[i] = skb; in yellowfin_init_ring()
1113 struct sk_buff *rx_skb = yp->rx_skbuff[entry];
1190 yp->rx_skbuff[entry] = NULL;
1217 if (yp->rx_skbuff[entry] == NULL) {
1221 yp->rx_skbuff[entry] = skb;
1319 if (yp->rx_skbuff[i]) {
1320 dev_kfree_skb(yp->rx_skbuff[i]);
1322 yp->rx_skbuff[i] = 0;
Dsis900.c164 struct sk_buff *rx_skbuff[NUM_RX_DESC]; member
1060 sis_priv->rx_skbuff[i] = NULL; in sis900_init_rx_ring()
1080 sis_priv->rx_skbuff[i] = skb; in sis900_init_rx_ring()
1655 if (sis_priv->rx_skbuff[entry] == NULL) { in sis900_rx()
1671 skb = sis_priv->rx_skbuff[entry]; in sis900_rx()
1693 sis_priv->rx_skbuff[entry] = NULL; in sis900_rx()
1702 sis_priv->rx_skbuff[entry] = skb; in sis900_rx()
1721 if (sis_priv->rx_skbuff[entry] == NULL) { in sis900_rx()
1734 sis_priv->rx_skbuff[entry] = skb; in sis900_rx()
1848 skb = sis_priv->rx_skbuff[i]; in sis900_close()
[all …]
Ddl2k.c542 if (np->rx_skbuff[entry] == NULL) { in rio_timer()
551 np->rx_skbuff[entry] = skb; in rio_timer()
624 np->rx_skbuff[i] = 0; in alloc_list()
631 np->rx_skbuff[i] = skb; in alloc_list()
983 skb_put (skb = np->rx_skbuff[entry], pkt_len); in rx_poll()
984 np->rx_skbuff[entry] = NULL; in rx_poll()
990 np->rx_skbuff[entry]->tail, in rx_poll()
1042 if (np->rx_skbuff[entry] == NULL) { in refill_rx()
1052 np->rx_skbuff[entry] = skb; in refill_rx()
1928 skb = np->rx_skbuff[i]; in rio_close()
[all …]
Dnatsemi.c640 struct sk_buff *rx_skbuff[RX_RING_SIZE]; member
1470 if (np->rx_skbuff[entry] == NULL) { in refill_rx()
1473 np->rx_skbuff[entry] = skb; in refill_rx()
1522 np->rx_skbuff[i] = NULL; in init_ring()
1555 if (np->rx_skbuff[i]) { in drain_ring()
1559 dev_kfree_skb(np->rx_skbuff[i]); in drain_ring()
1561 np->rx_skbuff[i] = NULL; in drain_ring()
1802 np->rx_skbuff[entry]->tail, pkt_len, 0); in netdev_rx()
1806 np->rx_skbuff[entry]->tail, pkt_len); in netdev_rx()
1811 skb_put(skb = np->rx_skbuff[entry], pkt_len); in netdev_rx()
[all …]
D3c59x.c789 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
1693 vp->rx_skbuff[i] = skb; in vortex_open()
1704 if (vp->rx_skbuff[j]) { in vortex_open()
1705 dev_kfree_skb(vp->rx_skbuff[j]); in vortex_open()
1706 vp->rx_skbuff[j] = NULL; in vortex_open()
2527 vp->rx_skbuff[entry]->tail, in boomerang_rx()
2533 skb = vp->rx_skbuff[entry]; in boomerang_rx()
2534 vp->rx_skbuff[entry] = NULL; in boomerang_rx()
2559 if (vp->rx_skbuff[entry] == NULL) { in boomerang_rx()
2574 vp->rx_skbuff[entry] = skb; in boomerang_rx()
[all …]
Dlance.c221 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
763 struct sk_buff *skb = lp->rx_skbuff[i]; in lance_purge_ring()
764 lp->rx_skbuff[i] = 0; in lance_purge_ring()
793 lp->rx_skbuff[i] = skb; in lance_init_ring()
Damd8111e.h764 struct sk_buff *rx_skbuff[NUM_RX_BUFFERS]; member
Ddl2k.h655 struct sk_buff *rx_skbuff[RX_RING_SIZE]; member
Drrunner.h804 struct sk_buff *rx_skbuff[RX_RING_ENTRIES]; member
/linux-2.4.37.9/drivers/net/pcmcia/
Dxircom_tulip_cb.c312 struct sk_buff* rx_skbuff[RX_RING_SIZE]; member
878 tp->rx_skbuff[i] = NULL; in xircom_init_ring()
889 tp->rx_skbuff[i] = skb; in xircom_init_ring()
1267 skb_put(skb = tp->rx_skbuff[entry], pkt_len); in xircom_rx()
1268 tp->rx_skbuff[entry] = NULL; in xircom_rx()
1282 if (tp->rx_skbuff[entry] == NULL) { in xircom_rx()
1284 skb = tp->rx_skbuff[entry] = dev_alloc_skb(PKT_BUF_SZ); in xircom_rx()
1336 struct sk_buff *skb = tp->rx_skbuff[i]; in xircom_close()
1337 tp->rx_skbuff[i] = 0; in xircom_close()
/linux-2.4.37.9/drivers/net/wan/
Ddscc4.c194 struct sk_buff *rx_skbuff[RX_RING_SIZE]; member
492 skbuff = dpriv->rx_skbuff; in dscc4_release_ring()
513 dpriv->rx_skbuff[dirty] = skb; in try_get_rx_skb()
640 skb = dpriv->rx_skbuff[dpriv->rx_current++%RX_RING_SIZE]; in dscc4_rx_skb()
1925 memset(dpriv->rx_skbuff, 0, sizeof(struct sk_buff *)*RX_RING_SIZE); in dscc4_init_ring()