Home
last modified time | relevance | path

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

/freebsd/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c691 uint32_t nsubch; in hn_nvs_alloc_subchans() local
722 nsubch = resp->nvs_nsubch; in hn_nvs_alloc_subchans()
723 if (nsubch > nsubch_req) { in hn_nvs_alloc_subchans()
725 "requested %d\n", nsubch, nsubch_req); in hn_nvs_alloc_subchans()
726 nsubch = nsubch_req; in hn_nvs_alloc_subchans()
728 *nsubch0 = nsubch; in hn_nvs_alloc_subchans()
H A Dhn_nvs.h94 int hn_nvs_alloc_subchans(struct hn_softc *sc, int *nsubch);
H A Dif_hn.c4424 int nsubch = sc->hn_rx_ring_inuse - 1; in hn_polling() local
4428 if (nsubch > 0) { in hn_polling()
4432 subch = vmbus_subchan_get(sc->hn_prichan, nsubch); in hn_polling()
4433 for (i = 0; i < nsubch; ++i) in hn_polling()
4435 vmbus_subchan_rel(subch, nsubch); in hn_polling()
6360 hn_synth_alloc_subchans(struct hn_softc *sc, int *nsubch)
6365 nchan = *nsubch + 1; in hn_synth_alloc_subchans()
6370 *nsubch = 0; in hn_synth_alloc_subchans()
6381 *nsubch = 0; in hn_synth_alloc_subchans()
6393 *nsubch in hn_synth_alloc_subchans()
6361 hn_synth_alloc_subchans(struct hn_softc * sc,int * nsubch) hn_synth_alloc_subchans() argument
6462 int error, nsubch, nchan = 1, i, rndis_inited; hn_synth_attach() local
6758 int nsubch; hn_drain_rxtx() local
[all...]
/freebsd/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c931 int i, nsubch; in storvsc_create_chan_sel() local
934 nsubch = sc->hs_nchan - 1; in storvsc_create_chan_sel()
935 if (nsubch == 0) in storvsc_create_chan_sel()
938 subch = vmbus_subchan_get(sc->hs_chan, nsubch); in storvsc_create_chan_sel()
939 for (i = 0; i < nsubch; i++) in storvsc_create_chan_sel()
941 vmbus_subchan_rel(subch, nsubch); in storvsc_create_chan_sel()