Lines Matching defs:budget
505 static int rxq_process(struct rx_queue *rxq, int budget)
512 while (rx < budget && rxq->rx_desc_count) {
591 if (rx < budget)
597 static int rxq_refill(struct rx_queue *rxq, int budget)
603 while (refilled < budget && rxq->rx_desc_count < rxq->rx_ring_size) {
646 if (refilled < budget)
1054 static int txq_reclaim(struct tx_queue *txq, int budget, int force)
1063 while (reclaimed < budget && txq->tx_desc_count > 0) {
1118 if (reclaimed < budget)
2234 static int mv643xx_eth_poll(struct napi_struct *napi, int budget)
2247 while (work_done < budget) {
2272 work_tbd = budget - work_done;
2290 if (work_done < budget) {