Searched refs:numports (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_fcoib.c | 315 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 D | hermon_stats.c | 103 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 …]
|
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_stats.c | 119 uint_t numports; in tavor_kstat_init() local 139 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_init() 140 for (i = 0; i < numports; i++) { in tavor_kstat_init() 156 ksi->tki_cntr_ksp = tavor_kstat_cntr_create(state, numports, in tavor_kstat_init() 189 for (i = 0; i < numports; i++) { in tavor_kstat_init() 214 uint_t numports; in tavor_kstat_fini() local 231 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_fini() 232 for (i = 0; i < numports; i++) { in tavor_kstat_fini() 386 uint_t numports, indx; in tavor_kstat_cntr_update() local 419 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_cntr_update() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 110 uint_t numports; /* number of ports in the list */ member 404 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()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 66 static uint_t numports; variable 197 if (posn >= numports) { in update_port() 213 numports = nextport + ALLOCINCR; in update_port()
|