Home
last modified time | relevance | path

Searched refs:iter_data (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.15/block/
Dblk-mq-tag.c219 struct bt_iter_data *iter_data = data; in bt_iter() local
220 struct blk_mq_hw_ctx *hctx = iter_data->hctx; in bt_iter()
222 bool reserved = iter_data->reserved; in bt_iter()
237 ret = iter_data->fn(hctx, rq, iter_data->data, reserved); in bt_iter()
259 struct bt_iter_data iter_data = { in bt_for_each() local
266 sbitmap_for_each_set(&bt->sb, bt_iter, &iter_data); in bt_for_each()
282 struct bt_tags_iter_data *iter_data = data; in bt_tags_iter() local
283 struct blk_mq_tags *tags = iter_data->tags; in bt_tags_iter()
284 bool reserved = iter_data->flags & BT_TAG_ITER_RESERVED; in bt_tags_iter()
287 bool iter_static_rqs = !!(iter_data->flags & BT_TAG_ITER_STATIC_RQS); in bt_tags_iter()
[all …]
Dblk-mq.c2528 struct rq_iter_data *iter_data = data; in blk_mq_has_request() local
2530 if (rq->mq_hctx != iter_data->hctx) in blk_mq_has_request()
2532 iter_data->has_rq = true; in blk_mq_has_request()
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Dmain.c999 static void ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data, in ath9k_vif_iter_set_beacon() argument
1003 if (!iter_data->primary_beacon_vif) { in ath9k_vif_iter_set_beacon()
1004 iter_data->primary_beacon_vif = vif; in ath9k_vif_iter_set_beacon()
1006 if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP && in ath9k_vif_iter_set_beacon()
1008 iter_data->primary_beacon_vif = vif; in ath9k_vif_iter_set_beacon()
1011 iter_data->beacons = true; in ath9k_vif_iter_set_beacon()
1012 iter_data->nbcnvifs += 1; in ath9k_vif_iter_set_beacon()
1015 static void ath9k_vif_iter(struct ath9k_vif_iter_data *iter_data, in ath9k_vif_iter() argument
1021 if (iter_data->has_hw_macaddr) { in ath9k_vif_iter()
1023 iter_data->mask[i] &= in ath9k_vif_iter()
[all …]
Dhtc_drv_main.c129 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 …]
Ddebug.c663 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()
Dath9k.h674 struct ath9k_vif_iter_data *iter_data);
/Linux-v5.15/drivers/net/wireless/realtek/rtw88/
Drx.c98 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()
Dwow.c351 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()
Dphy.c223 struct rtw_phy_stat_iter_data *iter_data = data; in rtw_phy_stat_rssi_iter() local
224 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_stat_rssi_iter()
233 iter_data->min_rssi = min_t(u8, rssi, iter_data->min_rssi); in rtw_phy_stat_rssi_iter()
562 struct rtw_rx_addr_match_data *iter_data = data; in rtw_phy_parsing_cfo_iter() local
563 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_parsing_cfo_iter()
564 struct rtw_rx_pkt_stat *pkt_stat = iter_data->pkt_stat; in rtw_phy_parsing_cfo_iter()
567 u8 *bssid = iter_data->bssid; in rtw_phy_parsing_cfo_iter()
Dfw.c138 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()
Dmain.c161 struct rtw_watch_dog_iter_data *iter_data = data; in rtw_vif_watch_dog_iter() local
166 iter_data->rtwvif = rtwvif; in rtw_vif_watch_dog_iter()
168 rtw_dynamic_csi_rate(iter_data->rtwdev, rtwvif); in rtw_vif_watch_dog_iter()
/Linux-v5.15/drivers/net/wireless/ath/ath5k/
Dbase.c479 struct ath5k_vif_iter_data *iter_data = data; in ath5k_vif_iter() local
483 if (iter_data->hw_macaddr) in ath5k_vif_iter()
485 iter_data->mask[i] &= in ath5k_vif_iter()
486 ~(iter_data->hw_macaddr[i] ^ mac[i]); in ath5k_vif_iter()
488 if (!iter_data->found_active) { in ath5k_vif_iter()
489 iter_data->found_active = true; in ath5k_vif_iter()
490 memcpy(iter_data->active_mac, mac, ETH_ALEN); in ath5k_vif_iter()
493 if (iter_data->need_set_hw_addr && iter_data->hw_macaddr) in ath5k_vif_iter()
494 if (ether_addr_equal(iter_data->hw_macaddr, mac)) in ath5k_vif_iter()
495 iter_data->need_set_hw_addr = false; in ath5k_vif_iter()
[all …]
Dmac80211-ops.c377 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-v5.15/drivers/scsi/fnic/
Dfnic_scsi.c1567 struct fnic_rport_abort_io_iter_data *iter_data = data; in fnic_rport_abort_io_iter() local
1568 struct fnic *fnic = iter_data->fnic; in fnic_rport_abort_io_iter()
1583 if (!io_req || io_req->port_id != iter_data->port_id) { in fnic_rport_abort_io_iter()
1659 iter_data->term_cnt++; in fnic_rport_abort_io_iter()
1667 struct fnic_rport_abort_io_iter_data iter_data = { in fnic_rport_exch_reset() local
1682 &iter_data); in fnic_rport_exch_reset()
1683 if (iter_data.term_cnt > atomic64_read(&term_stats->max_terminates)) in fnic_rport_exch_reset()
1684 atomic64_set(&term_stats->max_terminates, iter_data.term_cnt); in fnic_rport_exch_reset()
2024 struct fnic_pending_aborts_iter_data *iter_data = data; in fnic_pending_aborts_iter() local
2025 struct fnic *fnic = iter_data->fnic; in fnic_pending_aborts_iter()
[all …]
/Linux-v5.15/drivers/scsi/
Dhosts.c700 struct scsi_host_busy_iter_data *iter_data = priv; in __scsi_host_busy_iter_fn() local
703 return iter_data->fn(sc, iter_data->priv, reserved); in __scsi_host_busy_iter_fn()
719 struct scsi_host_busy_iter_data iter_data = { in scsi_host_busy_iter() local
725 &iter_data); in scsi_host_busy_iter()
/Linux-v5.15/net/mac80211/
Dkey.c928 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()
Dchan.c1893 void *iter_data) in ieee80211_iter_chan_contexts_atomic() argument
1901 iter(hw, &ctx->conf, iter_data); in ieee80211_iter_chan_contexts_atomic()
/Linux-v5.15/drivers/net/wireless/ti/wlcore/
Dmain.c2452 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-v5.15/include/net/
Dmac80211.h5882 void *iter_data);
5906 void *iter_data);
5932 void *iter_data);
Dcfg80211.h6487 void *iter_data);
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c1665 struct iwl_mvm_mc_iter_data iter_data = { in iwl_mvm_recalc_multicast() local
1676 iwl_mvm_mc_iface_iterator, &iter_data); in iwl_mvm_recalc_multicast()
1867 struct iwl_bcast_iter_data iter_data = { in iwl_mvm_bcast_filter_build_cmd() local
1897 iwl_mvm_bcast_filter_iterator, &iter_data); in iwl_mvm_bcast_filter_build_cmd()
3013 struct iwl_mvm_he_obss_narrow_bw_ru_data iter_data = { in iwl_mvm_check_he_obss_narrow_bw_ru() local
3024 &iter_data); in iwl_mvm_check_he_obss_narrow_bw_ru()
3030 mvmvif->he_ru_2mhz_block = !iter_data.tolerated; in iwl_mvm_check_he_obss_narrow_bw_ru()
/Linux-v5.15/net/netfilter/
Dnf_conntrack_core.c2327 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-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c937 struct mt7915_he_obss_narrow_bw_ru_data iter_data = { in mt7915_check_he_obss_narrow_bw_ru() local
946 &iter_data); in mt7915_check_he_obss_narrow_bw_ru()
952 return !iter_data.tolerated; in mt7915_check_he_obss_narrow_bw_ru()
/Linux-v5.15/net/wireless/
Dscan.c2553 void *iter_data) in cfg80211_bss_iter() argument
2562 iter(wiphy, &bss->pub, iter_data); in cfg80211_bss_iter()
/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dmac.c6258 struct ath10k_mac_tdls_iter_data *iter_data = data; in ath10k_mac_tdls_vif_stations_count_iter() local
6262 if (sta->tdls && sta_vif == iter_data->curr_vif) in ath10k_mac_tdls_vif_stations_count_iter()
6263 iter_data->num_tdls_stations++; in ath10k_mac_tdls_vif_stations_count_iter()
7358 struct ath10k_mac_iter_tid_conf_data *iter_data = data; in ath10k_mac_vif_stations_tid_conf() local
7361 if (sta_vif != iter_data->curr_vif || !sta->wme) in ath10k_mac_vif_stations_tid_conf()
7364 ieee80211_queue_work(iter_data->ar->hw, &arsta->tid_config_wk); in ath10k_mac_vif_stations_tid_conf()