Lines Matching refs:budget
296 static int epic_rx(struct net_device *dev, int budget);
297 static int epic_poll(struct net_device *dev, int *budget);
1146 static int epic_rx(struct net_device *dev, int budget)
1157 if (rx_work_limit > budget)
1158 rx_work_limit = budget;
1256 static int epic_poll(struct net_device *dev, int *budget)
1262 orig_budget = (*budget > dev->quota) ? dev->quota : *budget;
1268 work_done += epic_rx(dev, *budget);
1272 *budget -= work_done;