Lines Matching defs:budget
3558 int budget, int *work_done)
3621 * it has started. If the NAPI work budget is exhausted
3625 if (*work_done < budget) {
3644 int budget, int *work_done)
3646 if (!lan78xx_rx(dev, skb, budget, work_done)) {
3976 static int lan78xx_bh(struct lan78xx_net *dev, int budget)
4005 while ((work_done < budget) &&
4010 rx_process(dev, rx_buf, budget, &work_done);
4023 /* If budget was consumed before processing all the URBs put them
4052 static int lan78xx_poll(struct napi_struct *napi, int budget)
4055 int result = budget;
4067 work_done = lan78xx_bh(dev, budget);
4069 if (work_done < budget) {