Searched refs:ch_refs (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/sys/dev/hyperv/
H A Dvmbusvar.h94 u_int ch_refs; member in struct:vmbus_channel
H A Dvmbus.c1036 ch->ch_refs = 1;
1058 KASSERTMSG(ch->ch_refs == 0, "channel %u: invalid refcnt %d",
1059 ch->ch_id, ch->ch_refs);
1118 refs = atomic_inc_uint_nv(&nch->ch_refs);
1229 atomic_dec_uint(&ch->ch_refs);
1502 KASSERTMSG(ch->ch_refs > 0, "channel%u: invalid refcnt %d",
1503 ch->ch_id, ch->ch_refs);
1506 refs = atomic_dec_uint_nv(&ch->ch_refs);

Completed in 208 milliseconds