Lines Matching refs:pktcount
2395 int pktcount, ret; in ethofld_xmit() local
2401 pktcount = eosw_txq->pidx - eosw_txq->last_pidx; in ethofld_xmit()
2402 if (pktcount < 0) in ethofld_xmit()
2403 pktcount += eosw_txq->ndesc; in ethofld_xmit()
2412 while (pktcount--) { in ethofld_xmit()
2495 int pktcount = eosw_txq->pidx - eosw_txq->last_pidx; in eosw_txq_flush_pending_skbs() local
2499 if (!pktcount) in eosw_txq_flush_pending_skbs()
2502 if (pktcount < 0) in eosw_txq_flush_pending_skbs()
2503 pktcount += eosw_txq->ndesc; in eosw_txq_flush_pending_skbs()
2505 while (pktcount--) { in eosw_txq_flush_pending_skbs()
4003 int pktcount; in cxgb4_ethofld_restart() local
4006 pktcount = eosw_txq->cidx - eosw_txq->last_cidx; in cxgb4_ethofld_restart()
4007 if (pktcount < 0) in cxgb4_ethofld_restart()
4008 pktcount += eosw_txq->ndesc; in cxgb4_ethofld_restart()
4010 if (pktcount) { in cxgb4_ethofld_restart()
4012 eosw_txq, pktcount); in cxgb4_ethofld_restart()
4013 eosw_txq->inuse -= pktcount; in cxgb4_ethofld_restart()