Searched refs:ch_refcnt (Results 1 – 4 of 4) sorted by relevance
86 ch->ch_refcnt = 1; in srpt_ch_alloc()208 ch->ch_refcnt++; in srpt_ch_add_ref()210 (void *)ch, ch->ch_refcnt); in srpt_ch_add_ref()211 ASSERT(ch->ch_refcnt != 0); in srpt_ch_add_ref()227 (void *)ch, ch->ch_refcnt, wait); in srpt_ch_release_ref()229 ASSERT(ch->ch_refcnt != 0); in srpt_ch_release_ref()231 ch->ch_refcnt--; in srpt_ch_release_ref()233 if (ch->ch_refcnt != 0) { in srpt_ch_release_ref()236 while (ch->ch_refcnt != 0) { in srpt_ch_release_ref()
173 uint_t ch_refcnt; member
761 chp->ch_refcnt = 0; in ch_quiesce()791 if (chp->ch_refcnt > 0) { in ch_detach()1449 chp->ch_refcnt++; in ch_start()1450 if (chp->ch_refcnt == 1) { in ch_start()1482 chp->ch_refcnt--; in ch_stop()1483 if (chp->ch_refcnt == 0) { in ch_stop()1845 chp->ch_refcnt++; in ch_register()1846 if (chp->ch_refcnt == 1) { in ch_register()1877 chp->ch_refcnt--; in ch_unregister()1878 if (chp->ch_refcnt == 0) { in ch_unregister()
227 int ch_refcnt; member