Searched refs:ch_refs (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/sys/dev/hyperv/vmbus/ |
H A D | vmbus_chanvar.h | 150 int ch_refs; member in struct:vmbus_channel
|
H A D | vmbus_chan.c | 752 KASSERT(chan->ch_refs > 0, ("chan%u: invalid refcnt %d", 753 chan->ch_id, chan->ch_refs)); 754 refs = atomic_fetchadd_int(&chan->ch_refs, -1); 1500 chan->ch_refs = 1; 1527 KASSERT(chan->ch_refs == 0, ("chan%u: invalid refcnt %d", 1528 chan->ch_id, chan->ch_refs)); 1611 KASSERT(newchan->ch_refs == 1, ("chan%u: invalid refcnt %d", 1612 newchan->ch_id, newchan->ch_refs)); 1613 atomic_add_int(&newchan->ch_refs, 1); 1761 atomic_subtract_int(&chan->ch_refs, [all...] |
Completed in 84 milliseconds