Home
last modified time | relevance | path

Searched refs:evq_max (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_event_queue.c37 idx %= evq_max; in pt_evq_inc()
80 if (evq_max <= begin) in pt_evq_enqueue()
83 if (evq_max <= idx) in pt_evq_enqueue()
112 if (evq_max <= begin) in pt_evq_dequeue()
115 if (evq_max <= end) in pt_evq_dequeue()
153 if (evq_max <= begin) in pt_evq_empty()
156 if (evq_max <= end) in pt_evq_empty()
188 if (evq_max <= begin) in pt_evq_find()
191 if (evq_max <= end) in pt_evq_find()
/freebsd/sys/dev/sfxge/
H A Dsfxge.c124 unsigned int evq_max; in sfxge_estimate_rsrc_limits() local
140 evq_max = MIN(MAX(rss_getnumbuckets(), 1), EFX_MAXRSS); in sfxge_estimate_rsrc_limits()
142 evq_max = MIN(mp_ncpus, EFX_MAXRSS); in sfxge_estimate_rsrc_limits()
145 evq_max = MIN(evq_max, sc->max_rss_channels); in sfxge_estimate_rsrc_limits()
150 limits.edl_max_evq_count = evq_max; in sfxge_estimate_rsrc_limits()
152 limits.edl_max_txq_count = evq_max + SFXGE_EVQ0_N_TXQ(sc) - 1; in sfxge_estimate_rsrc_limits()
154 limits.edl_max_rxq_count = evq_max; in sfxge_estimate_rsrc_limits()
171 sc->evq_max = MIN(evq_allocated, evq_max); in sfxge_estimate_rsrc_limits()
172 sc->evq_max = MIN(rxq_allocated, sc->evq_max); in sfxge_estimate_rsrc_limits()
173 sc->evq_max = MIN(txq_allocated - (SFXGE_EVQ0_N_TXQ(sc) - 1), in sfxge_estimate_rsrc_limits()
[all …]
H A Dsfxge_intr.c309 KASSERT(sc->evq_max > 0, ("evq_max is zero")); in sfxge_intr_setup_msix()
310 count = MIN(count, sc->evq_max); in sfxge_intr_setup_msix()
H A Dsfxge.h322 unsigned int evq_max; member
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-event_queue.c168 struct pt_event *in[evq_max], *out[evq_max]; in enqueue_all_dequeue()
171 ptu_uint_le(num, evq_max - 2); in enqueue_all_dequeue()
214 struct pt_event *in[evq_max], *out[evq_max], *ev; in overflow()
217 ptu_uint_le(num, evq_max - 2); in overflow()
219 for (idx = 0; idx < (evq_max - 2); ++idx) { in overflow()
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_event_queue.h48 evq_max = 8 enumerator
54 struct pt_event queue[evb_max][evq_max];