Lines Matching refs:pktcount
2401 int pktcount, ret; in ethofld_xmit() local
2407 pktcount = eosw_txq->pidx - eosw_txq->last_pidx; in ethofld_xmit()
2408 if (pktcount < 0) in ethofld_xmit()
2409 pktcount += eosw_txq->ndesc; in ethofld_xmit()
2418 while (pktcount--) { in ethofld_xmit()
2501 int pktcount = eosw_txq->pidx - eosw_txq->last_pidx; in eosw_txq_flush_pending_skbs() local
2505 if (!pktcount) in eosw_txq_flush_pending_skbs()
2508 if (pktcount < 0) in eosw_txq_flush_pending_skbs()
2509 pktcount += eosw_txq->ndesc; in eosw_txq_flush_pending_skbs()
2511 while (pktcount--) { in eosw_txq_flush_pending_skbs()
4041 int pktcount; in cxgb4_ethofld_restart() local
4044 pktcount = eosw_txq->cidx - eosw_txq->last_cidx; in cxgb4_ethofld_restart()
4045 if (pktcount < 0) in cxgb4_ethofld_restart()
4046 pktcount += eosw_txq->ndesc; in cxgb4_ethofld_restart()
4048 if (pktcount) { in cxgb4_ethofld_restart()
4050 eosw_txq, pktcount); in cxgb4_ethofld_restart()
4051 eosw_txq->inuse -= pktcount; in cxgb4_ethofld_restart()