Lines Matching refs:ctxbi
1416 struct jme_buffer_info *txbi = txring->bufinf, *ctxbi, *ttxbi; in jme_tx_clean_tasklet() local
1435 ctxbi = txbi + i; in jme_tx_clean_tasklet()
1437 if (likely(ctxbi->skb && in jme_tx_clean_tasklet()
1441 i, ctxbi->nr_desc, jiffies); in jme_tx_clean_tasklet()
1445 for (j = 1 ; j < ctxbi->nr_desc ; ++j) { in jme_tx_clean_tasklet()
1457 dev_kfree_skb(ctxbi->skb); in jme_tx_clean_tasklet()
1459 cnt += ctxbi->nr_desc; in jme_tx_clean_tasklet()
1465 NET_STAT(jme).tx_bytes += ctxbi->len; in jme_tx_clean_tasklet()
1468 ctxbi->skb = NULL; in jme_tx_clean_tasklet()
1469 ctxbi->len = 0; in jme_tx_clean_tasklet()
1470 ctxbi->start_xmit = 0; in jme_tx_clean_tasklet()
1476 i = (i + ctxbi->nr_desc) & mask; in jme_tx_clean_tasklet()
1478 ctxbi->nr_desc = 0; in jme_tx_clean_tasklet()
1986 struct jme_buffer_info *txbi = txring->bufinf, *ctxbi; in jme_drop_tx_map() local
1991 ctxbi = txbi + ((startidx + j + 2) & (mask)); in jme_drop_tx_map()
1992 dma_unmap_page(&jme->pdev->dev, ctxbi->mapping, ctxbi->len, in jme_drop_tx_map()
1995 ctxbi->mapping = 0; in jme_drop_tx_map()
1996 ctxbi->len = 0; in jme_drop_tx_map()
2005 struct jme_buffer_info *txbi = txring->bufinf, *ctxbi; in jme_map_tx_skb() local
2016 ctxbi = txbi + ((idx + i + 2) & (mask)); in jme_map_tx_skb()
2018 ret = jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi, in jme_map_tx_skb()
2029 ctxbi = txbi + ((idx + 1) & (mask)); in jme_map_tx_skb()
2030 ret = jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi, virt_to_page(skb->data), in jme_map_tx_skb()