Lines Matching refs:budget
521 static int rxq_process(struct rx_queue *rxq, int budget) in rxq_process() argument
528 while (rx < budget && rxq->rx_desc_count) { in rxq_process()
607 if (rx < budget) in rxq_process()
613 static int rxq_refill(struct rx_queue *rxq, int budget) in rxq_refill() argument
619 while (refilled < budget && rxq->rx_desc_count < rxq->rx_ring_size) { in rxq_refill()
662 if (refilled < budget) in rxq_refill()
1076 static int txq_reclaim(struct tx_queue *txq, int budget, int force) in txq_reclaim() argument
1085 while (reclaimed < budget && txq->tx_desc_count > 0) { in txq_reclaim()
1140 if (reclaimed < budget) in txq_reclaim()
2254 static int mv643xx_eth_poll(struct napi_struct *napi, int budget) in mv643xx_eth_poll() argument
2267 while (work_done < budget) { in mv643xx_eth_poll()
2292 work_tbd = budget - work_done; in mv643xx_eth_poll()
2310 if (work_done < budget) { in mv643xx_eth_poll()