Home
last modified time | relevance | path

Searched refs:ch_refcnt (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ch.c86 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()
H A Dsrpt_impl.h173 uint_t ch_refcnt; member
/titanic_50/usr/src/uts/common/io/chxge/
H A Dch.c761 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()
H A Dch.h227 int ch_refcnt; member