Home
last modified time | relevance | path

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

/src/sys/kern/
H A Dkern_kcov.c162 static int active_count; variable
461 KASSERT(active_count < INT_MAX, in kcov_ioctl()
463 active_count++; in kcov_ioctl()
464 if (active_count == 1) { in kcov_ioctl()
487 KASSERT(active_count > 0, ("%s: Open count is zero", __func__)); in kcov_ioctl()
488 active_count--; in kcov_ioctl()
489 if (active_count == 0) { in kcov_ioctl()
523 KASSERT(active_count > 0, ("%s: Open count is zero", __func__)); in kcov_thread_dtor()
524 active_count--; in kcov_thread_dtor()
525 if (active_count == 0) { in kcov_thread_dtor()
/src/usr.sbin/bhyve/amd64/
H A Dpci_irq.c68 int active_count; member
107 if (pirq->active_count != 0 && pirq_valid_irq(pirq->reg)) in pirq_write()
110 if (pirq->active_count != 0 && pirq_valid_irq(pirq->reg)) in pirq_write()
144 pirqs[i].active_count = 0; in pci_irq_init()
166 pirq->active_count++; in pci_irq_assert()
167 if (pirq->active_count == 1 && pirq_valid_irq(pirq->reg)) { in pci_irq_assert()
189 pirq->active_count--; in pci_irq_deassert()
190 if (pirq->active_count == 0 && pirq_valid_irq(pirq->reg)) { in pci_irq_deassert()
/src/sys/dev/cxgbe/tom/
H A Dt4_ddp.c155 KASSERT(toep->ddp.cached_count + toep->ddp.active_count < in recycle_pageset()
377 toep->ddp.active_count--; in complete_ddp_buffer()
379 if (toep->ddp.active_count == 0) { in complete_ddp_buffer()
394 KASSERT(toep->ddp.active_count != 0 && in complete_ddp_buffer()
487 while (toep->ddp.active_count > 0) { in insert_ddp_data()
774 KASSERT(toep->ddp.active_count < nitems(toep->ddp.db), in queue_ddp_rcvbuf()
813 MPASS(toep->ddp.active_count == 0); in queue_ddp_rcvbuf()
846 toep->ddp.active_count++; in queue_ddp_rcvbuf()
847 if (toep->ddp.active_count == 1) { in queue_ddp_rcvbuf()
953 if (toep->ddp.active_count != nitems(toep->ddp.db)) { in handle_ddp_data_rcvbuf()
[all …]
H A Dt4_tom.h207 u_int active_count; member
H A Dt4_cpl_io.c2090 if (toep->ddp.waiting_count != 0 || toep->ddp.active_count != 0) in do_rx_data()