Home
last modified time | relevance | path

Searched refs:subchan_cnt (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/hyperv/vmbus/
H A Dvmbus_chan.c206 ("invalid subchan_cnt %d", prichan->ch_subchan_cnt)); in vmbus_chan_rem_sublist()
989 int subchan_cnt; in vmbus_chan_close()
1002 subchan_cnt = chan->ch_subchan_cnt; in vmbus_chan_close()
1003 if (subchan_cnt > 0) { in vmbus_chan_close()
1007 subchan = vmbus_subchan_get(chan, subchan_cnt); in vmbus_chan_close()
1008 for (i = 0; i < subchan_cnt; ++i) { in vmbus_chan_close()
1017 vmbus_subchan_rel(subchan, subchan_cnt); in vmbus_chan_close()
2124 vmbus_subchan_get(struct vmbus_channel *pri_chan, int subchan_cnt)
2129 KASSERT(subchan_cnt > 0, ("invalid sub-channel count %d", subchan_cnt)); in vmbus_subchan_get()
991 int subchan_cnt; vmbus_chan_close() local
2126 vmbus_subchan_get(struct vmbus_channel * pri_chan,int subchan_cnt) vmbus_subchan_get() argument
[all...]
/freebsd/sys/dev/hyperv/include/
H A Dvmbus.h198 int subchan_cnt);
200 int subchan_cnt);
/freebsd/sys/dev/hyperv/netvsc/
H A Dif_hn.c6290 int subchan_cnt = sc->hn_rx_ring_inuse - 1; in hn_attach_subchans() local
6293 KASSERT(subchan_cnt > 0, ("no sub-channels")); in hn_attach_subchans()
6296 subchans = vmbus_subchan_get(sc->hn_prichan, subchan_cnt); in hn_attach_subchans()
6297 for (i = 0; i < subchan_cnt; ++i) { in hn_attach_subchans()
6306 vmbus_subchan_rel(subchans, subchan_cnt); in hn_attach_subchans()
6313 subchan_cnt); in hn_attach_subchans()
6323 int subchan_cnt = sc->hn_rx_ring_inuse - 1; in hn_detach_allchans() local
6326 if (subchan_cnt == 0) in hn_detach_allchans()
6330 subchans = vmbus_subchan_get(sc->hn_prichan, subchan_cnt); in hn_detach_allchans()
6331 for (i = 0; i < subchan_cnt; ++i) in hn_detach_allchans()
[all …]