Searched refs:ARRAY_SIZE (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_stats.c95 if (avail < ARRAY_SIZE(rdsv3_ib_stat_names))
106 ARRAY_SIZE(rdsv3_ib_stat_names));
111 return (ARRAY_SIZE(rdsv3_ib_stat_names));
H A Dstats.c129 if (avail < ARRAY_SIZE(rdsv3_stat_names)) {
146 ARRAY_SIZE(rdsv3_stat_names));
147 avail -= ARRAY_SIZE(rdsv3_stat_names);
152 ARRAY_SIZE(rdsv3_stat_names);
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_regd.c79 for (i = 0; i < ARRAY_SIZE(allCountries); i++)
83 for (i = 0; i < ARRAY_SIZE(regDomainPairs); i++)
131 for (i = 0; i < ARRAY_SIZE(allCountries); i++) {
213 for (i = 0; i < ARRAY_SIZE(allCountries); i++) {
236 for (i = 0; i < ARRAY_SIZE(regDomainPairs); i++)
241 i = ARRAY_SIZE(regDomainPairs);
251 for (i = 0; i < ARRAY_SIZE(regDomains); i++) {
270 for (i = 0; i < ARRAY_SIZE(regDomainPairs); i++) {
301 (i < ARRAY_SIZE(regDomainPairs)) && (!found); i++) {
610 for (i = 0; i < ARRAY_SIZE(j_bandchec
[all...]
H A Darn_hw.c626 ARRAY_SIZE(ar9280Modes_backoff_13db_rxgain_9280_2),
631 ARRAY_SIZE(ar9280Modes_backoff_23db_rxgain_9280_2),
636 ARRAY_SIZE(ar9280Modes_original_rxgain_9280_2), 6);
641 ARRAY_SIZE(ar9280Modes_original_rxgain_9280_2), 6);
657 ARRAY_SIZE(ar9280Modes_high_power_tx_gain_9280_2),
662 ARRAY_SIZE(ar9280Modes_original_tx_gain_9280_2), 6);
667 ARRAY_SIZE(ar9280Modes_original_tx_gain_9280_2), 6);
807 ARRAY_SIZE(ar9285Modes_9285_1_2), 6);
810 ARRAY_SIZE(ar9285Common_9285_1_2), 2);
815 ARRAY_SIZE(ar9285PciePhy_clkreq_off_L1_9285_1_
[all...]
H A Darn_ani.c33 for (i = 0; i < ARRAY_SIZE(ahp->ah_ani); i++) {
59 if (level >= ARRAY_SIZE(ahp->ah_totalSizeDesired)) {
64 (unsigned)ARRAY_SIZE(ahp->ah_totalSizeDesired)));
167 if (level >= ARRAY_SIZE(firstep)) {
171 (unsigned)ARRAY_SIZE(firstep)));
189 if (level >= ARRAY_SIZE(cycpwrThr1)) {
193 (unsigned)ARRAY_SIZE(cycpwrThr1)));
841 for (i = 0; i < ARRAY_SIZE(ahp->ah_ani); i++) {
H A Darn_eeprom.c341 for (j = 0; j < ARRAY_SIZE(eep->modalHeader); j++) {
1356 numCtlModes = ARRAY_SIZE(ctlModesFor11g) -
1374 numCtlModes = ARRAY_SIZE(ctlModesFor11g);
1389 numCtlModes = ARRAY_SIZE(ctlModesFor11a) -
1403 numCtlModes = ARRAY_SIZE(ctlModesFor11a);
1489 for (i = 0; i < ARRAY_SIZE(targetPowerCck.tPow2x);
1498 for (i = 0; i < ARRAY_SIZE(targetPowerOfdm.tPow2x);
1507 for (i = 0; i < ARRAY_SIZE(targetPowerHt20.tPow2x);
1527 for (i = 0; i < ARRAY_SIZE(targetPowerHt40.tPow2x);
1547 for (i = 0; i < ARRAY_SIZE(targetPowerHt2
[all...]
H A Darn_main.c1335 for (i = 0; i < ARRAY_SIZE(ath_mac_bb_names); i++) {
1353 for (i = 0; i < ARRAY_SIZE(ath_rf_names); i++) {
1731 for (i = 0; i < ARRAY_SIZE(sc->sc_keymap)/4; i++) {
1767 for (i = 0; i < ARRAY_SIZE(sc->sc_keymap)/4; i++) {
1817 for (i = 0; i < ARRAY_SIZE(sc->sc_keymap); i++) {
2980 for (i = 0; i < ARRAY_SIZE(sc->sc_haltype2q); i++)
3082 for (i = 0; i < ARRAY_SIZE(sc->sc_bslot); i++)
H A Darn_xmit.c910 if (haltype >= ARRAY_SIZE(sc->sc_haltype2q)) {
913 haltype, ARRAY_SIZE(sc->sc_haltype2q)));
1583 if (qnum >= ARRAY_SIZE(sc->sc_txq)) {
1586 qnum, (unsigned int)ARRAY_SIZE(sc->sc_txq)));
1636 if (haltype >= ARRAY_SIZE(sc->sc_haltype2q)) {
1639 haltype, ARRAY_SIZE(sc->sc_haltype2q)));
1782 ASSERT(cip->ic_cipher < ARRAY_SIZE(ciphermap));
H A Darn_calib.c880 for (i = 0; i < ARRAY_SIZE(regList); i++)
944 for (i = 0; i < ARRAY_SIZE(regList); i++)
H A Darn_rc.c977 count = ARRAY_SIZE(nretry_to_per_lookup);
992 count = ARRAY_SIZE(nretry_to_per_lookup);
H A Darn_core.h50 #define ARRAY_SIZE(x) (sizeof (x) / sizeof (x[0])) macro
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf_sbd/
H A Dstmf_sbd.c41 #define ARRAY_SIZE(a) (sizeof (a) / sizeof (*a)) macro
118 stmf_sbd_print_bit_flags(pgr_flag_str, ARRAY_SIZE(pgr_flag_str),
131 (pgr->pgr_rsv_type < ARRAY_SIZE(pgr_type_desc)) ?
159 (id->protocol_id < ARRAY_SIZE(stmf_protocol_str)) ?
197 (tpd->protocol_id < ARRAY_SIZE(stmf_protocol_str)) ?
366 stmf_sbd_print_bit_flags(key_flag_str, ARRAY_SIZE(key_flag_str),
424 stmf_sbd_print_bit_flags(it_flag_str, ARRAY_SIZE(it_flag_str),
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwncompat.h149 #define __arraycount(x) ARRAY_SIZE(x)
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h127 #ifndef ARRAY_SIZE
128 #define ARRAY_SIZE(x) (sizeof (x) / sizeof ((x)[0])) macro
H A Dt4_ioctl.c388 for (i = 0; i < ARRAY_SIZE(reg_ranges); i += 2)
635 rc = t4_cim_read(sc, A_UP_IBQ_0_RDADDR, ARRAY_SIZE(t4cimqcfg.stat),
H A Dt4_nexus.c339 for (i = 0; i < ARRAY_SIZE(sc->cpl_handler); i++) {
2206 else if (pi->mod_type > 0 && pi->mod_type < ARRAY_SIZE(mod_str))
2228 if (opcode >= ARRAY_SIZE(sc->cpl_handler))
H A Dt4_sge.c3197 else if (pi->mod_type > 0 && pi->mod_type < ARRAY_SIZE(mod_str))
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire.c36 #define ARRAY_SIZE(a) (sizeof (a) / sizeof (*a)) macro
493 for (i = 0; i < ARRAY_SIZE(cpu_states); i++)
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dr8169.c76 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
400 for (i = ARRAY_SIZE(rtl_chip_info) - 1; i >= 0; i--)
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dclc.h89 #ifndef ARRAY_SIZE
90 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h383 #define ARRAY_SIZE(x) (sizeof (x) / sizeof (x[0])) macro
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c227 if (delay_idx < ARRAY_SIZE(d) - 1)
873 ret = t4_read_flash(adapter, addr & ~0xff, ARRAY_SIZE(buf), buf, 1);
2326 for (i = 0; i < ARRAY_SIZE(cause_reg); ++i)
2774 ARRAY_SIZE(val), A_TP_MIB_TCP_OUT_RST);
2782 ARRAY_SIZE(val), A_TP_MIB_TCP_V6OUT_RST);
4478 unsigned int fw_naddr = (rem < ARRAY_SIZE(c.u.exact)
4479 ? rem : ARRAY_SIZE(c.u.exact));
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c558 #ifndef ARRAY_SIZE
559 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c3958 for (i = 0; i < ARRAY_SIZE(reg_set); i++)
3993 for (i = 0; i < ARRAY_SIZE(reg_set); i++)
4047 for (i = 0; i < ARRAY_SIZE(reg_set); i++)
4200 for (i = 0; i < ARRAY_SIZE(reg_set); i++)
4606 for (i = 0; i < ARRAY_SIZE(wc_regs); i++)
10536 for (i = 0; i < ARRAY_SIZE(reg_set); i++)
10609 for (i = 0; i < ARRAY_SIZE(reg_set); i++)
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c6622 for (i = 0; i < ARRAY_SIZE(rdata->traffic_type_to_priority_cos); i++)

Completed in 174 milliseconds