Home
last modified time | relevance | path

Searched refs:numports (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fcoib.c315 uint_t numports; in hermon_fcoib_init() local
337 fcoib->hfc_nports = numports = state->hs_cfg_profile->cp_num_ports; in hermon_fcoib_init()
347 if (hermon_rsrc_reserve(state, HERMON_DMPT, numports * in hermon_fcoib_init()
359 if (hermon_rsrc_reserve(state, HERMON_MTT, numports * in hermon_fcoib_init()
366 if (hermon_rsrc_reserve(state, HERMON_QPC, numports * in hermon_fcoib_init()
373 if (hermon_rsrc_reserve(state, HERMON_QPC, numports * in hermon_fcoib_init()
381 for (i = 0; i < numports; i++) { in hermon_fcoib_init()
425 uint_t numports; in hermon_fcoib_fini() local
435 numports = fcoib->hfc_nports; in hermon_fcoib_fini()
437 for (i = 0; i < numports; i++) { in hermon_fcoib_fini()
H A Dhermon_stats.c103 uint_t numports; in hermon_kstat_init() local
119 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_init()
120 for (i = 0; i < numports; i++) { in hermon_kstat_init()
134 ksi->hki_cntr_ksp = hermon_kstat_cntr_create(state, numports, in hermon_kstat_init()
165 for (i = 0; i < numports; i++) { in hermon_kstat_init()
189 uint_t numports; in hermon_kstat_fini() local
204 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_fini()
205 for (i = 0; i < numports; i++) { in hermon_kstat_fini()
346 uint_t numports, indx; in hermon_kstat_cntr_update() local
379 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_cntr_update()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_stats.c119 uint_t numports; in tavor_kstat_init() local
135 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_init()
136 for (i = 0; i < numports; i++) { in tavor_kstat_init()
150 ksi->tki_cntr_ksp = tavor_kstat_cntr_create(state, numports, in tavor_kstat_init()
181 for (i = 0; i < numports; i++) { in tavor_kstat_init()
205 uint_t numports; in tavor_kstat_fini() local
220 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_fini()
221 for (i = 0; i < numports; i++) { in tavor_kstat_fini()
361 uint_t numports, indx; in tavor_kstat_cntr_update() local
392 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_cntr_update()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c109 uint_t numports; /* number of ports in the list */ member
403 for (i = 0; i < ports.numports; i++) { in main()
787 ports.numports = 0; in build_ports()
821 if (hi - lo + ports.numports + 1 >= ports.listsize) { in build_ports()
831 ports.list[ports.numports++] = i; in build_ports()
839 if (ports.numports < 2) { in build_ports()
841 ports.numports); in build_ports()
845 for (i = 0; i < ports.numports; i++) { in build_ports()
846 y = random() % (ports.numports - 1); in build_ports()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c66 static uint_t numports; variable
197 if (posn >= numports) { in update_port()
213 numports = nextport + ALLOCINCR; in update_port()