Lines Matching defs:budget
51 * over its budget it sets flags to TOO_BUSY. A producer that observes a
76 TOO_BUSY, /* consumer is running and is beyond its budget */
115 drain_ring(struct mp_ring *r, int budget)
176 MPASS(total >= budget);
184 if (total >= budget) {
227 drain_txpkts(struct mp_ring *r, union ring_state os, int budget)
254 drain_ring(r, budget);
343 mp_ring_enqueue(struct mp_ring *r, void **items, int n, int budget)
416 drain_ring(r, budget);
468 drain_ring(r, budget);
555 mp_ring_check_drainage(struct mp_ring *r, int budget)
566 drain_ring(r, budget);
575 drain_txpkts(r, ns, budget);