Searched refs:n_bands (Results 1 – 6 of 6) sorted by relevance
37 u16 n_bands; member41 struct dp_meter_band bands[] __counted_by(n_bands);
256 for (i = 0; i < meter->n_bands; ++i, ++band) { in ovs_meter_cmd_reply_stats()330 u16 n_bands = 0; in dp_meter_create() local340 if (++n_bands > DP_MAX_BANDS) in dp_meter_create()344 meter = kzalloc_flex(*meter, bands, n_bands, GFP_KERNEL_ACCOUNT); in dp_meter_create()357 meter->n_bands = n_bands; in dp_meter_create()647 for (i = 0; i < meter->n_bands; ++i) { in ovs_meter_execute()
22 unsigned n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in hpfs_map_bitmap() local23 if (hpfs_sb(s)->sb_chk) if (bmp_block >= n_bands) { in hpfs_map_bitmap()40 unsigned n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in hpfs_prefetch_bitmap() local41 if (unlikely(bmp_block >= n_bands)) in hpfs_prefetch_bitmap()44 if (unlikely(bmp_block + 1 >= n_bands)) in hpfs_prefetch_bitmap()
151 unsigned n, count, n_bands; in count_bitmaps() local152 n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in count_bitmaps()157 for (n = 0; n < n_bands; n++) { in count_bitmaps()
966 u32 n_bands; in iwl_mvm_sar_geo_init() local991 n_bands = ARRAY_SIZE(cmd.v5.table[0]); in iwl_mvm_sar_geo_init()996 n_bands = ARRAY_SIZE(cmd.v4.table[0]); in iwl_mvm_sar_geo_init()1001 n_bands = ARRAY_SIZE(cmd.v3.table[0]); in iwl_mvm_sar_geo_init()1007 n_bands = ARRAY_SIZE(cmd.v2.table[0]); in iwl_mvm_sar_geo_init()1012 n_bands = ARRAY_SIZE(cmd.v1.table[0]); in iwl_mvm_sar_geo_init()1026 n_bands, n_profiles); in iwl_mvm_sar_geo_init()
5592 int n_bands = 0; in mac80211_hwsim_new_radio() local5949 radio_range = &data->radio_range[n_bands]; in mac80211_hwsim_new_radio()5955 radio = &data->radio[n_bands++]; in mac80211_hwsim_new_radio()5964 hw->wiphy->n_radio = n_bands; in mac80211_hwsim_new_radio()5968 data->if_combination.num_different_channels *= n_bands; in mac80211_hwsim_new_radio()