/freebsd-11-stable/sys/net/ |
H A D | mp_ring.c | 102 drain_ring_locked(struct ifmp_ring *r, union ring_state os, uint16_t prev, int budget) argument 141 * everyone else, or we have exceeded our budget. 143 if (cidx != pidx && pending < 64 && total < budget) 148 ns.flags = state_to_flags(ns, total >= budget); 177 drain_ring_lockless(struct ifmp_ring *r, union ring_state os, uint16_t prev, int budget) argument 220 * everyone else, or we have exceeded our budget. 222 if (cidx != pidx && pending < 64 && total < budget) 228 ns.flags = state_to_flags(ns, total >= budget); 326 ifmp_ring_enqueue(struct ifmp_ring *r, void **items, int n, int budget) argument 388 drain_ring_locked(r, ns, os.flags, budget); 396 ifmp_ring_enqueue(struct ifmp_ring *r, void **items, int n, int budget) argument 465 ifmp_ring_check_drainage(struct ifmp_ring *r, int budget) argument [all...] |
H A D | iflib.h | 187 int (*ift_rxd_available) (void *, uint16_t qsidx, qidx_t pidx, qidx_t budget);
|
H A D | iflib.c | 727 static int iflib_rxd_avail(if_ctx_t ctx, iflib_rxq_t rxq, qidx_t cidx, qidx_t budget); 731 static void iflib_txq_check_drain(iflib_txq_t txq, int budget); 1208 #define netmap_rx_irq(ifp, qid, budget) (0) 2567 iflib_rxeof(iflib_rxq_t rxq, qidx_t budget) argument 2591 MPASS(budget > 0); 2597 if ((avail = iflib_rxd_avail(ctx, rxq, *cidxp, budget)) == 0) { 2599 retval |= __iflib_fl_refill_lt(ctx, fl, budget + 8); 2604 for (budget_left = budget; (budget_left > 0) && (avail > 0); budget_left--, avail--) { 2655 retval |= __iflib_fl_refill_lt(ctx, fl, budget + 8); 3535 iflib_txq_check_drain(iflib_txq_t txq, int budget) argument 3734 uint16_t budget; local 5619 iflib_rxd_avail(if_ctx_t ctx, iflib_rxq_t rxq, qidx_t cidx, qidx_t budget) argument [all...] |
/freebsd-11-stable/contrib/libdivsufsort/lib/ |
H A D | trsort.c | 202 trbudget_init(trbudget_t *budget, saidx_t chance, saidx_t incval) { argument 203 budget->chance = chance; 204 budget->remain = budget->incval = incval; 209 trbudget_check(trbudget_t *budget, saidx_t size) { argument 210 if(size <= budget->remain) { budget->remain -= size; return 1; } 211 if(budget->chance == 0) { budget->count += size; return 0; } 212 budget 327 tr_introsort(saidx_t *ISA, const saidx_t *ISAd, saidx_t *SA, saidx_t *first, saidx_t *last, trbudget_t *budget) argument 558 trbudget_t budget; local [all...] |
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_mp_ring.c | 104 drain_ring(struct mp_ring *r, union ring_state os, uint16_t prev, int budget) argument 148 * everyone else, or we have exceeded our budget. 150 if (cidx != pidx && pending < 64 && total < budget) 157 ns.flags = state_to_flags(ns, total >= budget); 251 mp_ring_enqueue(struct mp_ring *r, void **items, int n, int budget) argument 320 drain_ring(r, ns, os.flags, budget); 326 mp_ring_check_drainage(struct mp_ring *r, int budget) argument 346 drain_ring(r, ns, os.flags, budget);
|
H A D | t4_sge.c | 1422 service_iq(struct sge_iq *iq, int budget) argument 1439 limit = budget ? budget : iq->qsize / 16; 1516 if (budget) { 1554 service_iq_fl(struct sge_iq *iq, int budget) argument 1573 limit = budget ? budget : iq->qsize / 16; 1676 if (budget) { 3921 * recycled do not count towards this allocation budget.
|
/freebsd-11-stable/contrib/bzip2/ |
H A D | blocksort.c | 352 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-11-stable/sys/dev/liquidio/base/ |
H A D | lio_iq.h | 322 uint32_t budget); 341 uint32_t budget);
|
H A D | lio_request_manager.c | 405 struct lio_instr_queue *iq, uint32_t budget) 475 if ((budget) && (inst_count >= budget)) 487 uint32_t budget) 505 if (budget) 508 budget - 521 } while (tot_inst_processed < budget); 523 if (budget && (tot_inst_processed >= budget)) 404 lio_process_iq_request_list(struct octeon_device *oct, struct lio_instr_queue *iq, uint32_t budget) argument 486 lio_flush_iq(struct octeon_device *oct, struct lio_instr_queue *iq, uint32_t budget) argument
|
H A D | lio_droq.h | 427 struct lio_droq *droq, uint32_t budget);
|
H A D | lio_droq.c | 727 uint32_t budget) 742 if (pkt_count > budget) 743 pkt_count = budget; 726 lio_droq_process_packets(struct octeon_device *oct, struct lio_droq *droq, uint32_t budget) argument
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_fpga/ |
H A D | mlx5fpga_xfer.c | 46 unsigned int budget; member in struct:xfer_state 144 if (xfer_state->inflight_count >= xfer_state->budget) 231 xfer_state->budget = 7;
|
H A D | mlx5fpga_conn.c | 383 unsigned int budget) 387 while (budget) { 392 budget--; 397 if (!budget) { 382 mlx5_fpga_conn_cqes(struct mlx5_fpga_conn *conn, unsigned int budget) argument
|
/freebsd-11-stable/sys/dev/ena/ |
H A D | ena_datapath.c | 231 int budget = TX_BUDGET; local 290 } while (likely(--budget)); 292 work_done = TX_BUDGET - budget; 544 int budget = RX_BUDGET; local 652 } while (--budget); 668 return (RX_BUDGET - budget);
|
H A D | ena.c | 3086 int i, budget, rc; local 3100 budget = adapter->missing_tx_max_queues; 3114 budget--; 3115 if (budget == 0) {
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_tx.c | 497 mlx5e_poll_tx_cq(struct mlx5e_sq *sq, int budget) argument 507 while (budget > 0) { 519 /* update budget according to the event factor */ 520 budget -= sq->cev_factor;
|
H A D | mlx5_en_rx.c | 374 mlx5e_poll_rx_cq(struct mlx5e_rq *rq, int budget) argument 378 for (i = 0; i < budget; i++) {
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_rx.c | 738 int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int budget) argument 847 if (++polled == budget) 867 static int mlx4_en_poll_rx_cq(struct mlx4_en_cq *cq, int budget) argument 872 done = mlx4_en_process_rx_cq(dev, cq, budget);
|
H A D | en.h | 823 int budget);
|
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | bnxt_txrx.c | 63 qidx_t budget); 329 bnxt_isc_rxd_available(void *sc, uint16_t rxqid, qidx_t idx, qidx_t budget) argument 414 if (avail > budget)
|
/freebsd-11-stable/sys/xen/interface/ |
H A D | domctl.h | 349 uint32_t budget; member in struct:xen_domctl_scheduler_op::__anon13525::xen_domctl_sched_rtds
|
/freebsd-11-stable/tools/tools/netmap/ |
H A D | pkt-gen.c | 1925 int budget = 0; local 1965 budget = targ->g->burst; 1967 } else if (budget <= 0) { 1968 budget = targ->g->burst; 2002 limit = budget; 2059 budget--;
|
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 2815 * @budget: how many responses can be processed in this round 2817 * Process responses from an SGE response queue up to the supplied budget. 2820 * A negative budget is effectively unlimited. 2827 process_responses(adapter_t *adap, struct sge_qset *qs, int budget) argument 2831 int budget_left = budget; 2992 budget -= budget_left; 2993 return (budget);
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 149 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)
|