Lines Matching refs:pktcount
2399 int pktcount, ret; in ethofld_xmit() local
2405 pktcount = eosw_txq->pidx - eosw_txq->last_pidx; in ethofld_xmit()
2406 if (pktcount < 0) in ethofld_xmit()
2407 pktcount += eosw_txq->ndesc; in ethofld_xmit()
2416 while (pktcount--) { in ethofld_xmit()
2499 int pktcount = eosw_txq->pidx - eosw_txq->last_pidx; in eosw_txq_flush_pending_skbs() local
2503 if (!pktcount) in eosw_txq_flush_pending_skbs()
2506 if (pktcount < 0) in eosw_txq_flush_pending_skbs()
2507 pktcount += eosw_txq->ndesc; in eosw_txq_flush_pending_skbs()
2509 while (pktcount--) { in eosw_txq_flush_pending_skbs()
4039 int pktcount; in cxgb4_ethofld_restart() local
4042 pktcount = eosw_txq->cidx - eosw_txq->last_cidx; in cxgb4_ethofld_restart()
4043 if (pktcount < 0) in cxgb4_ethofld_restart()
4044 pktcount += eosw_txq->ndesc; in cxgb4_ethofld_restart()
4046 if (pktcount) { in cxgb4_ethofld_restart()
4048 eosw_txq, pktcount); in cxgb4_ethofld_restart()
4049 eosw_txq->inuse -= pktcount; in cxgb4_ethofld_restart()