Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 126 – 150 of 409) sorted by relevance

12345678910>>...17

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_secondary.h116 CHECK_LT(size_log, ARRAY_SIZE(stats.by_size_log)); in Allocate()
260 for (uptr i = 0; i < ARRAY_SIZE(stats.by_size_log); i++) { in PrintStats()
H A Dsanitizer_stack_store.cpp61 CHECK_LT(block_idx, ARRAY_SIZE(blocks_)); in Load()
84 if (block_idx >= ARRAY_SIZE(blocks_)) in Alloc()
/freebsd/contrib/xz/src/xz/
H A Dargs.c450 if (++i == ARRAY_SIZE(types)) in parse_real()
473 if (++i == ARRAY_SIZE(types)) in parse_real()
H A Dhardware.c278 for (unsigned i = 0; i < ARRAY_SIZE(msgs); ++i) { in hardware_memlimit_show()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ethtool.c123 return ARRAY_SIZE(ipoib_stats_keys); in ipoib_get_sset_count()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Ddebugfs.c60 for (i = 0; i < ARRAY_SIZE(dev->phy.q_tx); i++) { in mt76_queues_read()
/freebsd/contrib/xz/src/liblzma/common/
H A Dfilter_decoder.c138 for (size_t i = 0; i < ARRAY_SIZE(decoders); ++i) in decoder_find()
/freebsd/sys/contrib/dev/rtw88/
H A Dsar.c65 rtw88_static_assert(ARRAY_SIZE(rtw_common_sar_freq_ranges) == RTW_SAR_BAND_NR);
H A Dmain.c124 .n_limits = ARRAY_SIZE(rtw_iface_limits),
134 if (WARN(desc_rate >= ARRAY_SIZE(rtw_ratetable), "invalid desc rate\n")) in rtw_desc_to_bitrate()
146 .n_channels = ARRAY_SIZE(rtw_channeltable_2g),
149 .n_bitrates = ARRAY_SIZE(rtw_ratetable),
159 .n_channels = ARRAY_SIZE(rtw_channeltable_5g),
163 .n_bitrates = ARRAY_SIZE(rtw_ratetable) - 4,
354 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) in rtw_sta_add()
386 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) in rtw_sta_remove()
2274 hw->wiphy->n_iface_combinations = ARRAY_SIZE(rtw_iface_combs); in rtw_register_hw()
H A Dtx.c745 static_assert(ARRAY_SIZE(ac_to_hwq) == IEEE80211_NUM_ACS);
747 rtw88_static_assert(ARRAY_SIZE(ac_to_hwq) == IEEE80211_NUM_ACS);
773 else if (WARN_ON_ONCE(q_mapping >= ARRAY_SIZE(ac_to_hwq))) in rtw_tx_queue_mapping()
/freebsd/sys/dev/cxgbe/
H A Dosdep.h92 #define ARRAY_SIZE(x) nitems(x) macro
/freebsd/sys/dev/axgbe/
H A Dxgbe-sysctl.c233 #define XGBE_STATS_COUNT ARRAY_SIZE(xgbe_gstring_stats)
707 ARRAY_SIZE(sysctl_coalesce)); in sysctl_coalesce_handler()
814 ARRAY_SIZE(sysctl_pauseparam)); in sysctl_pauseparam_handler()
933 ARRAY_SIZE(sysctl_linksettings)); in sysctl_link_ksettings_handler()
1031 ARRAY_SIZE(sysctl_ringparam)); in sysctl_ringparam_handler()
1151 ARRAY_SIZE(sysctl_channels)); in sysctl_channels_handler()
/freebsd/contrib/wpa/src/eap_common/
H A Dikev2_common.c24 #define NUM_INTEG_ALGS ARRAY_SIZE(ikev2_integ_algs)
32 #define NUM_PRF_ALGS ARRAY_SIZE(ikev2_prf_algs)
40 #define NUM_ENCR_ALGS ARRAY_SIZE(ikev2_encr_algs)
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c63 .n_limits = ARRAY_SIZE(iwl_mvm_limits),
403 BUILD_BUG_ON(ARRAY_SIZE(mvm->ciphers) < ARRAY_SIZE(mvm_ciphers) + 6); in iwl_mvm_mac_setup_register()
405 hw->wiphy->n_cipher_suites = ARRAY_SIZE(mvm_ciphers); in iwl_mvm_mac_setup_register()
505 ARRAY_SIZE(iwl_mvm_iface_combinations); in iwl_mvm_mac_setup_register()
642 ARRAY_SIZE(add_iftypes_ext_capa) - 1; in iwl_mvm_mac_setup_register()
657 ARRAY_SIZE(add_iftypes_ext_capa) - 1; in iwl_mvm_mac_setup_register()
2048 bw < ARRAY_SIZE(pkt_ext->pkt_ext_qam_th[i]); in iwl_mvm_parse_ppe()
2128 bw < ARRAY_SIZE(pkt_ext->pkt_ext_qam_th[i]); in iwl_mvm_set_pkt_ext_from_nominal_padding()
4206 i < ARRAY_SIZE(mvmvif->ap_early_keys); in __iwl_mvm_mac_set_key()
4214 if (i >= ARRAY_SIZE(mvmvif->ap_early_keys)) in __iwl_mvm_mac_set_key()
[all …]
H A Dtime-event.c254 for (i = 0; i < ARRAY_SIZE(te_trig->time_events); i++) { in iwl_mvm_te_check_trigger()
553 ARRAY_SIZE(time_event_response), in iwl_mvm_time_event_send_add()
641 ARRAY_SIZE(te_notif_response), in iwl_mvm_protect_session()
1222 notif, ARRAY_SIZE(notif), in iwl_mvm_schedule_session_protection()
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_common.c73 #define NUM_TLS_CIPHER_SUITES ARRAY_SIZE(tls_cipher_suites)
99 #define NUM_TLS_CIPHER_DATA ARRAY_SIZE(tls_ciphers)
/freebsd/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_core.c440 if (syndrome < ARRAY_SIZE(mlx5_fpga_error_strings)) in mlx5_fpga_syndrome_to_string()
447 if (syndrome < ARRAY_SIZE(mlx5_fpga_qp_error_strings)) in mlx5_fpga_qp_syndrome_to_string()
/freebsd/contrib/wpa/src/crypto/
H A Ddh_groups.c1172 #define NUM_DH_GROUPS ARRAY_SIZE(dh_groups)
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cpp55 SuppressionContext(kSuppressionTypes, ARRAY_SIZE(kSuppressionTypes)); in InitializeSuppressions()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dchunk.h111 ARRAY_SIZE(HeaderHolder)); in computeHeaderChecksum()
/freebsd/sys/contrib/dev/rtw89/
H A Drtw8852c.c1499 if (path >= ARRAY_SIZE(path_cr_bases)) in rtw8852c_bb_gpio_trsw()
1527 if (src >= ARRAY_SIZE(masks) || path >= ARRAY_SIZE(path_cr_bases)) in rtw8852c_bb_gpio_rfm()
1548 for (i = 0; i < ARRAY_SIZE(cr_bases); i++) { in rtw8852c_bb_gpio_init()
1916 static_assert(ARRAY_SIZE(_prefix ## _ ## _name) == __DFIR_CFG_NR) in rtw8852c_bb_set_tx_shape_dfir()
1920 rtw89_static_assert(ARRAY_SIZE(_prefix ## _ ## _name) == __DFIR_CFG_NR) in rtw8852c_bb_set_tx_shape_dfir()
2018 for (i = 0; i < ARRAY_SIZE(ctrl_ini); i++) in rtw8852c_init_tssi_ctrl()
2182 u8 cr_size = ARRAY_SIZE(path_com); in rtw8852c_ctrl_tx_path_tmac()
2879 .mon_reg_num = ARRAY_SIZE(rtw89_btc_8852c_mon_reg),
2881 .rf_para_ulink_num = ARRAY_SIZE(rtw89_btc_8852c_rf_ul),
2883 .rf_para_dlink_num = ARRAY_SIZE(rtw89_btc_8852c_rf_dl),
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c526 for (i = 0; i < ARRAY_SIZE(large_entity_list); i++) in reset_skip_entity()
845 ARRAY_SIZE(meminfo_buff->avail) * in fill_meminfo()
958 md->idx = ARRAY_SIZE(region); /* hide it */ in fill_meminfo()
977 md->idx = ARRAY_SIZE(region); in fill_meminfo()
1007 md->idx = ARRAY_SIZE(region); /* hide it */ in fill_meminfo()
1771 if (meminfo->mem[i].idx >= ARRAY_SIZE(region)) in get_max_ctxt_qid()
2414 ARRAY_SIZE(cim_qcfg_data->obq_wr), in collect_cim_qcfg()
2481 if (meminfo.mem[i].idx >= ARRAY_SIZE(region)) in get_payload_range()
2572 for (i = 0; i < ARRAY_SIZE(region); i++) { in read_fw_mem()
2584 for (i = 0; i < ARRAY_SIZE(payload); i++) { in read_fw_mem()
[all …]
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompile.h126 #define ARRAY_SIZE(a) (sizeof (a) / sizeof (a[0])) macro
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c791 static gcm_impl_ops_t *gcm_supp_impl[ARRAY_SIZE(gcm_all_impl)];
833 if (impl < ARRAY_SIZE(gcm_all_impl)) in gcm_impl_get_ops()
853 for (i = 0, c = 0; i < ARRAY_SIZE(gcm_all_impl); i++) { in gcm_impl_init()
940 for (i = 0; i < ARRAY_SIZE(gcm_impl_opts); i++) { in gcm_impl_set()
1006 for (i = 0; i < ARRAY_SIZE(gcm_impl_opts); i++) { in icp_gcm_impl_get()
/freebsd/sys/dev/ena/
H A Dena_sysctl.c118 #ifndef ARRAY_SIZE
119 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
122 #define ENA_CUSTOMER_METRICS_ARRAY_SIZE ARRAY_SIZE(ena_hw_stats_strings)
123 #define ENA_SRD_METRICS_ARRAY_SIZE ARRAY_SIZE(ena_srd_stats_strings)

12345678910>>...17