Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/sys/dev/sfxge/
H A Dsfxge.c124 unsigned int evq_max; in sfxge_estimate_rsrc_limits() local
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()
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()
174 sc->evq_max); in sfxge_estimate_rsrc_limits()
176 KASSERT(sc->evq_max <= evq_max, in sfxge_estimate_rsrc_limits()
180 if (sc->evq_max < rss_getnumbuckets()) 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-14.2/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];
/freebsd-14.2/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()