Lines Matching refs:budget
2846 bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_tx_int() argument
2910 if (tx_pkt == budget) in bnx2_tx_int()
3148 bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_rx_int() argument
3155 if (budget <= 0) in bnx2_rx_int()
3289 if ((rx_pkt == budget)) in bnx2_rx_int()
3488 int work_done, int budget) in bnx2_poll_work() argument
3497 work_done += bnx2_rx_int(bp, bnapi, budget - work_done); in bnx2_poll_work()
3502 static int bnx2_poll_msix(struct napi_struct *napi, int budget) in bnx2_poll_msix() argument
3510 work_done = bnx2_poll_work(bp, bnapi, work_done, budget); in bnx2_poll_msix()
3511 if (unlikely(work_done >= budget)) in bnx2_poll_msix()
3529 static int bnx2_poll(struct napi_struct *napi, int budget) in bnx2_poll() argument
3539 work_done = bnx2_poll_work(bp, bnapi, work_done, budget); in bnx2_poll()
3551 if (unlikely(work_done >= budget)) in bnx2_poll()