Searched refs:budget (Results 1 - 10 of 10) sorted by relevance

/freebsd-10-stable/sys/dev/cxgbe/
H A Dt4_mp_ring.c104 drain_ring(struct mp_ring *r, union ring_state os, uint16_t prev, int budget) argument
147 * everyone else, or we have exceeded our budget.
149 if (cidx != pidx && pending < 64 && total < budget)
155 ns.flags = state_to_flags(ns, total >= budget);
249 mp_ring_enqueue(struct mp_ring *r, void **items, int n, int budget) argument
317 drain_ring(r, ns, os.flags, budget);
323 mp_ring_check_drainage(struct mp_ring *r, int budget) argument
343 drain_ring(r, ns, os.flags, budget);
H A Dt4_sge.c1382 service_iq(struct sge_iq *iq, int budget) argument
1401 limit = budget ? budget : iq->qsize / 16;
1468 KASSERT(budget == 0,
1469 ("%s: budget %u, rsp_type %u", __func__,
1470 budget, rsp_type));
1528 if (budget) {
3793 * recycled do not count towards this allocation budget.
/freebsd-10-stable/contrib/bzip2/
H A Dblocksort.c352 Int32* budget )
464 (*budget)--;
492 Int32* budget )
515 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
529 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
543 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
552 if (*budget < 0) return;
628 Int32* budget )
651 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget );
652 if (*budget <
1040 Int32 budget; local
[all...]
/freebsd-10-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_tx.c456 mlx5e_poll_tx_cq(struct mlx5e_sq *sq, int budget) argument
466 while (budget > 0) {
478 /* update budget according to the event factor */
479 budget -= sq->cev_factor;
H A Dmlx5_en_rx.c386 mlx5e_poll_rx_cq(struct mlx5e_rq *rq, int budget) argument
393 for (i = 0; i < budget; i++) {
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Den_rx.c564 int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int budget) argument
676 if (++polled == budget)
699 static int mlx4_en_poll_rx_cq(struct mlx4_en_cq *cq, int budget) argument
704 done = mlx4_en_process_rx_cq(dev, cq, budget);
H A Dmlx4_en.h787 int budget);
/freebsd-10-stable/sys/dev/cxgb/
H A Dcxgb_sge.c2821 * @budget: how many responses can be processed in this round
2823 * Process responses from an SGE response queue up to the supplied budget.
2826 * A negative budget is effectively unlimited.
2833 process_responses(adapter_t *adap, struct sge_qset *qs, int budget) argument
2837 int budget_left = budget;
3001 budget -= budget_left;
3002 return (budget);
/freebsd-10-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c149 static int qlnx_rx_int(qlnx_host_t *ha, struct qlnx_fastpath *fp, int budget,
4694 qlnx_rx_int(qlnx_host_t *ha, struct qlnx_fastpath *fp, int budget, argument
4965 /* CR TPA - revisit how to handle budget in TPA perhaps
4967 if (rx_pkt == budget)
/freebsd-10-stable/sys/dev/lmc/
H A Dif_lmc.c6458 linux_poll(struct net_device *net_dev, int *budget) argument
6477 *budget -= received;

Completed in 234 milliseconds