Lines Matching defs:budget
460 static int grcan_poll(struct napi_struct *napi, int budget);
494 * If budget is >= 0, stop after handling at most budget skbs. Otherwise,
499 static int catch_up_echo_skb(struct net_device *dev, int budget, bool echo)
513 for (work_done = 0; work_done < budget || budget < 0; work_done++) {
1155 static int grcan_receive(struct net_device *dev, int budget)
1170 for (work_done = 0; work_done < budget; work_done++) {
1228 static int grcan_poll(struct napi_struct *napi, int budget)
1236 work_done = grcan_receive(dev, budget);
1240 if (work_done < budget) {