Searched refs:active_count (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/usr.sbin/bhyve/
H A Dpci_irq.c69 int active_count; member in struct:pirq
107 if (pirq->active_count != 0 && pirq_valid_irq(pirq->reg))
110 if (pirq->active_count != 0 && pirq_valid_irq(pirq->reg))
144 pirqs[i].active_count = 0;
164 pirq->active_count++;
165 if (pirq->active_count == 1 && pirq_valid_irq(pirq->reg)) {
185 pirq->active_count--;
186 if (pirq->active_count == 0 && pirq_valid_irq(pirq->reg)) {
/freebsd-13-stable/sys/kern/
H A Dkern_kcov.c163 static int active_count; variable
465 KASSERT(active_count < INT_MAX,
467 active_count++;
468 if (active_count == 1) {
491 KASSERT(active_count > 0, ("%s: Open count is zero", __func__));
492 active_count--;
493 if (active_count == 0) {
527 KASSERT(active_count > 0, ("%s: Open count is zero", __func__));
528 active_count--;
529 if (active_count
[all...]
/freebsd-13-stable/sys/dev/cxgbe/tom/
H A Dt4_ddp.c149 KASSERT(toep->ddp.cached_count + toep->ddp.active_count <
252 toep->ddp.active_count--;
254 if (toep->ddp.active_count == 0) {
256 ("%s: active_count mismatch", __func__));
265 KASSERT(toep->ddp.active_count != 0 &&
304 while (toep->ddp.active_count > 0) {
596 MPASS(toep->ddp.active_count == 0);
703 while (toep->ddp.active_count > 0) {
1313 KASSERT(toep->ddp.active_count + toep->ddp.cached_count <=
1315 if (toep->ddp.active_count
[all...]
H A Dt4_tom.h172 u_int active_count; member in struct:ddp_pcb
H A Dt4_cpl_io.c1620 if (toep->ddp.waiting_count != 0 || toep->ddp.active_count != 0)

Completed in 178 milliseconds