/linux/block/ |
A D | blk-mq-tag.c | 239 struct bt_iter_data *iter_data = data; in bt_iter() local 240 struct blk_mq_hw_ctx *hctx = iter_data->hctx; in bt_iter() 242 bool reserved = iter_data->reserved; in bt_iter() 257 ret = iter_data->fn(hctx, rq, iter_data->data, reserved); in bt_iter() 279 struct bt_iter_data iter_data = { in bt_for_each() local 286 sbitmap_for_each_set(&bt->sb, bt_iter, &iter_data); in bt_for_each() 302 struct bt_tags_iter_data *iter_data = data; in bt_tags_iter() local 303 struct blk_mq_tags *tags = iter_data->tags; in bt_tags_iter() 323 if (!(iter_data->flags & BT_TAG_ITER_STARTED) || in bt_tags_iter() 325 ret = iter_data->fn(rq, iter_data->data, reserved); in bt_tags_iter() [all …]
|
A D | blk-mq.c | 2947 struct rq_iter_data *iter_data = data; in blk_mq_has_request() local 2949 if (rq->mq_hctx != iter_data->hctx) in blk_mq_has_request() 2951 iter_data->has_rq = true; in blk_mq_has_request()
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | main.c | 1025 iter_data->mask[i] &= in ath9k_vif_iter() 1037 iter_data->naps++; in ath9k_vif_iter() 1047 iter_data->nocbs++; in ath9k_vif_iter() 1050 iter_data->nadhocs++; in ath9k_vif_iter() 1055 iter_data->nmeshes++; in ath9k_vif_iter() 1086 iter_data->mask[i] &= in ath9k_update_bssid_mask() 1103 memset(iter_data, 0, sizeof(*iter_data)); in ath9k_calculate_iter_data() 1212 if (iter_data.beacons) in ath9k_calculate_summary_state() 1228 if ((iter_data.nstations + iter_data.nadhocs + iter_data.nmeshes) > 0) in ath9k_calculate_summary_state() 1232 if (iter_data.naps == 1 && iter_data.beacons) in ath9k_calculate_summary_state() [all …]
|
A D | htc_drv_main.c | 129 struct ath9k_vif_iter_data *iter_data = data; in ath9k_htc_bssid_iter() local 132 if (iter_data->hw_macaddr != NULL) { in ath9k_htc_bssid_iter() 134 iter_data->mask[i] &= ~(iter_data->hw_macaddr[i] ^ mac[i]); in ath9k_htc_bssid_iter() 136 iter_data->hw_macaddr = mac; in ath9k_htc_bssid_iter() 144 struct ath9k_vif_iter_data iter_data; in ath9k_htc_set_mac_bssid_mask() local 151 iter_data.hw_macaddr = NULL; in ath9k_htc_set_mac_bssid_mask() 152 eth_broadcast_addr(iter_data.mask); in ath9k_htc_set_mac_bssid_mask() 155 ath9k_htc_bssid_iter(&iter_data, vif->addr, vif); in ath9k_htc_set_mac_bssid_mask() 160 ath9k_htc_bssid_iter, &iter_data); in ath9k_htc_set_mac_bssid_mask() 162 memcpy(common->bssidmask, iter_data.mask, ETH_ALEN); in ath9k_htc_set_mac_bssid_mask() [all …]
|
A D | debug.c | 663 struct ath9k_vif_iter_data iter_data; in read_file_misc() local 735 ath9k_calculate_iter_data(sc, ctx, &iter_data); in read_file_misc() 739 i++, (int)(ctx->assigned), iter_data.naps, in read_file_misc() 740 iter_data.nstations, in read_file_misc() 741 iter_data.nmeshes); in read_file_misc() 743 iter_data.nadhocs, iter_data.nocbs, sc->cur_chan->nvifs, in read_file_misc()
|
A D | ath9k.h | 674 struct ath9k_vif_iter_data *iter_data);
|
/linux/drivers/net/wireless/ath/ath5k/ |
A D | base.c | 483 if (iter_data->hw_macaddr) in ath5k_vif_iter() 485 iter_data->mask[i] &= in ath5k_vif_iter() 493 if (iter_data->need_set_hw_addr && iter_data->hw_macaddr) in ath5k_vif_iter() 497 if (!iter_data->any_assoc) { in ath5k_vif_iter() 499 iter_data->any_assoc = true; in ath5k_vif_iter() 511 iter_data->n_stas++; in ath5k_vif_iter() 534 iter_data.n_stas = 0; in ath5k_update_bssid_mask_and_opmode() 542 ath5k_vif_iter, &iter_data); in ath5k_update_bssid_mask_and_opmode() 554 if (iter_data.need_set_hw_addr && iter_data.found_active) in ath5k_update_bssid_mask_and_opmode() 561 if (iter_data.n_stas > 1) { in ath5k_update_bssid_mask_and_opmode() [all …]
|
A D | mac80211-ops.c | 377 struct ath5k_vif_iter_data iter_data; /* to count STA interfaces */ in ath5k_configure_filter() local 441 iter_data.hw_macaddr = NULL; in ath5k_configure_filter() 442 iter_data.n_stas = 0; in ath5k_configure_filter() 443 iter_data.need_set_hw_addr = false; in ath5k_configure_filter() 446 ath5k_vif_iter, &iter_data); in ath5k_configure_filter() 449 if (iter_data.n_stas > 1) { in ath5k_configure_filter()
|
/linux/drivers/scsi/fnic/ |
A D | fnic_scsi.c | 1652 iter_data->term_cnt++; in fnic_rport_abort_io_iter() 1675 &iter_data); in fnic_rport_exch_reset() 2099 iter_data->ret = FAILED; in fnic_pending_aborts_iter() 2127 iter_data->ret = FAILED; in fnic_pending_aborts_iter() 2173 iter_data.lr_sc = lr_sc; in fnic_clean_pending_aborts() 2178 ret = iter_data.ret; in fnic_clean_pending_aborts() 2693 if (iter_data->lr_sc && sc == iter_data->lr_sc) in fnic_abts_pending_iter() 2695 if (iter_data->lun_dev && sc->device != iter_data->lun_dev) in fnic_abts_pending_iter() 2717 iter_data->ret = 1; in fnic_abts_pending_iter() 2739 iter_data.lr_sc = lr_sc; in fnic_is_abts_pending() [all …]
|
/linux/drivers/net/wireless/realtek/rtw88/ |
A D | rx.c | 98 struct rtw_rx_addr_match_data *iter_data = data; in rtw_rx_addr_match_iter() local 100 struct ieee80211_hdr *hdr = iter_data->hdr; in rtw_rx_addr_match_iter() 101 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_rx_addr_match_iter() 103 struct rtw_rx_pkt_stat *pkt_stat = iter_data->pkt_stat; in rtw_rx_addr_match_iter() 104 u8 *bssid = iter_data->bssid; in rtw_rx_addr_match_iter()
|
A D | wow.c | 351 struct rtw_fw_key_type_iter_data *iter_data = data; in rtw_wow_fw_security_type_iter() local 381 iter_data->pairwise_key_type = hw_key_type; in rtw_wow_fw_security_type_iter() 383 iter_data->group_key_type = hw_key_type; in rtw_wow_fw_security_type_iter() 458 struct rtw_fw_media_status_iter_data *iter_data = data; in rtw_wow_fw_media_status_iter() local 459 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_wow_fw_media_status_iter() 461 rtw_fw_media_status_report(rtwdev, si->mac_id, iter_data->connect); in rtw_wow_fw_media_status_iter()
|
A D | phy.c | 282 struct rtw_phy_stat_iter_data *iter_data = data; in rtw_phy_stat_rssi_iter() local 283 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_stat_rssi_iter() 292 iter_data->min_rssi = min_t(u8, rssi, iter_data->min_rssi); in rtw_phy_stat_rssi_iter() 621 struct rtw_rx_addr_match_data *iter_data = data; in rtw_phy_parsing_cfo_iter() local 622 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_parsing_cfo_iter() 623 struct rtw_rx_pkt_stat *pkt_stat = iter_data->pkt_stat; in rtw_phy_parsing_cfo_iter() 626 u8 *bssid = iter_data->bssid; in rtw_phy_parsing_cfo_iter()
|
A D | fw.c | 138 struct rtw_beacon_filter_iter_data *iter_data = data; in rtw_fw_bcn_filter_notify_vif_iter() local 139 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_fw_bcn_filter_notify_vif_iter() 140 u8 *payload = iter_data->payload; in rtw_fw_bcn_filter_notify_vif_iter()
|
A D | main.c | 169 struct rtw_watch_dog_iter_data *iter_data = data; in rtw_vif_watch_dog_iter() local 174 iter_data->rtwvif = rtwvif; in rtw_vif_watch_dog_iter() 176 rtw_dynamic_csi_rate(iter_data->rtwdev, rtwvif); in rtw_vif_watch_dog_iter()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
A D | core.c | 1048 struct sk_buff *skb = iter_data->skb; in rtw89_vif_rx_stats_iter() 1050 const u8 *bssid = iter_data->bssid; in rtw89_vif_rx_stats_iter() 1076 iter_data.rtwdev = rtwdev; in rtw89_core_rx_stats() 1077 iter_data.phy_ppdu = phy_ppdu; in rtw89_core_rx_stats() 1078 iter_data.desc_info = desc_info; in rtw89_core_rx_stats() 1079 iter_data.skb = skb; in rtw89_core_rx_stats() 1209 u8 mac_id = iter_data->mac_id; in rtw89_core_stats_sta_rx_status_iter() 1230 iter_data.rtwdev = rtwdev; in rtw89_core_stats_sta_rx_status() 1231 iter_data.rx_status = rx_status; in rtw89_core_stats_sta_rx_status() 1232 iter_data.desc_info = desc_info; in rtw89_core_stats_sta_rx_status() [all …]
|
A D | coex.c | 2798 struct rtw89_txtime_data *iter_data = in rtw89_tx_time_iter() local 2800 struct rtw89_dev *rtwdev = iter_data->rtwdev; in rtw89_tx_time_iter() 2807 u32 tx_time = iter_data->tx_time; in rtw89_tx_time_iter() 2808 u8 tx_retry = iter_data->tx_retry; in rtw89_tx_time_iter() 2809 u16 enable = iter_data->enable; in rtw89_tx_time_iter() 2810 bool reenable = iter_data->reenable; in rtw89_tx_time_iter() 4393 iter_data->rssi_map_all |= rssi_map; in rtw89_btc_ntfy_wl_sta_iter() 4416 iter_data->busy_all |= busy; in rtw89_btc_ntfy_wl_sta_iter() 4417 iter_data->dir_all |= BIT(dir); in rtw89_btc_ntfy_wl_sta_iter() 4439 iter_data->is_sta_change = true; in rtw89_btc_ntfy_wl_sta_iter() [all …]
|
A D | mac.c | 3663 struct rtw89_mac_bf_monitor_iter_data *iter_data = in rtw89_mac_bf_monitor_calc_iter() local 3665 struct ieee80211_sta *down_sta = iter_data->down_sta; in rtw89_mac_bf_monitor_calc_iter() 3666 int *count = &iter_data->count; in rtw89_mac_bf_monitor_calc_iter()
|
/linux/drivers/scsi/ |
A D | hosts.c | 712 struct scsi_host_busy_iter_data *iter_data = priv; in __scsi_host_busy_iter_fn() local 715 return iter_data->fn(sc, iter_data->priv, reserved); in __scsi_host_busy_iter_fn() 731 struct scsi_host_busy_iter_data iter_data = { in scsi_host_busy_iter() local 737 &iter_data); in scsi_host_busy_iter()
|
/linux/net/mac80211/ |
A D | key.c | 928 void *iter_data) in ieee80211_iter_keys() argument 942 &key->conf, iter_data); in ieee80211_iter_keys() 949 &key->conf, iter_data); in ieee80211_iter_keys() 963 void *iter_data) in _ieee80211_iter_keys_rcu() argument 976 &key->conf, iter_data); in _ieee80211_iter_keys_rcu() 987 void *iter_data) in ieee80211_iter_keys_rcu() argument 994 _ieee80211_iter_keys_rcu(hw, sdata, iter, iter_data); in ieee80211_iter_keys_rcu() 997 _ieee80211_iter_keys_rcu(hw, sdata, iter, iter_data); in ieee80211_iter_keys_rcu()
|
A D | chan.c | 1893 void *iter_data) in ieee80211_iter_chan_contexts_atomic() argument 1901 iter(hw, &ctx->conf, iter_data); in ieee80211_iter_chan_contexts_atomic()
|
/linux/drivers/net/wireless/ti/wlcore/ |
A D | main.c | 2452 struct wlcore_hw_queue_iter_data *iter_data = data; in wlcore_hw_queue_iter() local 2458 if (iter_data->cur_running || vif == iter_data->vif) { in wlcore_hw_queue_iter() 2459 iter_data->cur_running = true; in wlcore_hw_queue_iter() 2463 __set_bit(vif->hw_queue[0] / NUM_TX_QUEUES, iter_data->hw_queue_map); in wlcore_hw_queue_iter() 2470 struct wlcore_hw_queue_iter_data iter_data = {}; in wlcore_allocate_hw_queue_base() local 2478 iter_data.vif = vif; in wlcore_allocate_hw_queue_base() 2483 wlcore_hw_queue_iter, &iter_data); in wlcore_allocate_hw_queue_base() 2486 if (iter_data.cur_running) { in wlcore_allocate_hw_queue_base() 2496 q_base = find_first_zero_bit(iter_data.hw_queue_map, in wlcore_allocate_hw_queue_base()
|
/linux/include/net/ |
A D | mac80211.h | 5893 void *iter_data); 5917 void *iter_data); 5943 void *iter_data);
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | mac80211.c | 1688 struct iwl_mvm_mc_iter_data iter_data = { in iwl_mvm_recalc_multicast() local 1699 iwl_mvm_mc_iface_iterator, &iter_data); in iwl_mvm_recalc_multicast() 1890 struct iwl_bcast_iter_data iter_data = { in iwl_mvm_bcast_filter_build_cmd() local 1920 iwl_mvm_bcast_filter_iterator, &iter_data); in iwl_mvm_bcast_filter_build_cmd() 3079 struct iwl_mvm_he_obss_narrow_bw_ru_data iter_data = { in iwl_mvm_check_he_obss_narrow_bw_ru() local 3090 &iter_data); in iwl_mvm_check_he_obss_narrow_bw_ru() 3096 mvmvif->he_ru_2mhz_block = !iter_data.tolerated; in iwl_mvm_check_he_obss_narrow_bw_ru()
|
/linux/net/netfilter/ |
A D | nf_conntrack_core.c | 2327 struct iter_data { struct 2335 struct iter_data *d = data; in iter_net_only() argument 2390 struct iter_data d; in nf_ct_iterate_cleanup_net()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | mcu.c | 804 struct mt7915_he_obss_narrow_bw_ru_data iter_data = { in mt7915_check_he_obss_narrow_bw_ru() local 813 &iter_data); in mt7915_check_he_obss_narrow_bw_ru() 819 return !iter_data.tolerated; in mt7915_check_he_obss_narrow_bw_ru()
|