Lines Matching defs:budget
4597 static int tg3_rx(struct tg3_napi *tnapi, int budget)
4617 while (sw_idx != hw_idx && budget > 0) {
4742 budget--;
4948 static int tg3_poll_work(struct tg3_napi *tnapi, int work_done, int budget)
4964 work_done += tg3_rx(tnapi, budget - work_done);
4995 static int tg3_poll_msix(struct napi_struct *napi, int budget)
5003 work_done = tg3_poll_work(tnapi, work_done, budget);
5008 if (unlikely(work_done >= budget))
5033 /* work_done is guaranteed to be less than budget. */
5039 static int tg3_poll(struct napi_struct *napi, int budget)
5049 work_done = tg3_poll_work(tnapi, work_done, budget);
5054 if (unlikely(work_done >= budget))
5078 /* work_done is guaranteed to be less than budget. */