Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/realtek/rtw88/
H A Dutil.c137 struct rtw_iter_stas_data iter_data; in rtw_iterate_stas() local
145 iter_data.rtwdev = rtwdev; in rtw_iterate_stas()
146 INIT_LIST_HEAD(&iter_data.list); in rtw_iterate_stas()
149 &iter_data); in rtw_iterate_stas()
151 list_for_each_entry_safe(sta_entry, tmp, &iter_data.list, in rtw_iterate_stas()
186 struct rtw_iter_vifs_data iter_data; in rtw_iterate_vifs() local
194 iter_data.rtwdev = rtwdev; in rtw_iterate_vifs()
195 INIT_LIST_HEAD(&iter_data.list); in rtw_iterate_vifs()
199 rtw_collect_vif_iter, &iter_data); in rtw_iterate_vifs()
201 list_for_each_entry_safe(vif_entry, tmp, &iter_data.list, in rtw_iterate_vifs()
H A Drx.c99 struct rtw_rx_addr_match_data *iter_data = data; in rtw_rx_addr_match_iter() local
101 struct ieee80211_hdr *hdr = iter_data->hdr; in rtw_rx_addr_match_iter()
102 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_rx_addr_match_iter()
104 struct rtw_rx_pkt_stat *pkt_stat = iter_data->pkt_stat; in rtw_rx_addr_match_iter()
105 u8 *bssid = iter_data->bssid; in rtw_rx_addr_match_iter()
H A 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()
H A Dmain.c190 struct rtw_watch_dog_iter_data *iter_data = data; in rtw_vif_watch_dog_iter() local
195 iter_data->rtwvif = rtwvif; in rtw_vif_watch_dog_iter()
197 rtw_dynamic_csi_rate(iter_data->rtwdev, rtwvif); in rtw_vif_watch_dog_iter()
2340 struct rtw_iter_port_switch_data *iter_data = data; in rtw_port_switch_iter() local
2341 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_port_switch_iter()
2343 struct rtw_vif *rtwvif_ap = iter_data->rtwvif_ap; in rtw_port_switch_iter()
2380 struct rtw_iter_port_switch_data iter_data; in rtw_core_port_switch() local
2385 iter_data.rtwdev = rtwdev; in rtw_core_port_switch()
2386 iter_data.rtwvif_ap = rtwvif; in rtw_core_port_switch()
2387 rtw_iterate_vifs(rtwdev, rtw_port_switch_iter, &iter_data); in rtw_core_port_switch()
H A Dphy.c283 struct rtw_phy_stat_iter_data *iter_data = data; in rtw_phy_stat_rssi_iter() local
284 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_stat_rssi_iter()
293 iter_data->min_rssi = min_t(u8, rssi, iter_data->min_rssi); in rtw_phy_stat_rssi_iter()
622 struct rtw_rx_addr_match_data *iter_data = data; in rtw_phy_parsing_cfo_iter() local
623 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_parsing_cfo_iter()
624 struct rtw_rx_pkt_stat *pkt_stat = iter_data->pkt_stat; in rtw_phy_parsing_cfo_iter()
627 u8 *bssid = iter_data->bssid; in rtw_phy_parsing_cfo_iter()
H A Dfw.c219 struct rtw_beacon_filter_iter_data *iter_data = data; in rtw_fw_bcn_filter_notify_vif_iter() local
220 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_fw_bcn_filter_notify_vif_iter()
221 u8 *payload = iter_data->payload; in rtw_fw_bcn_filter_notify_vif_iter()
/linux/block/
H A Dblk-mq-tag.c269 struct bt_iter_data *iter_data = data; in bt_iter() local
270 struct blk_mq_hw_ctx *hctx = iter_data->hctx; in bt_iter()
271 struct request_queue *q = iter_data->q; in bt_iter()
282 if (!iter_data->reserved) in bt_iter()
293 ret = iter_data->fn(rq, iter_data->data); in bt_iter()
317 struct bt_iter_data iter_data = { in bt_for_each() local
341 struct bt_tags_iter_data *iter_data = data; in bt_tags_iter() local
342 struct blk_mq_tags *tags = iter_data->tags; in bt_tags_iter()
347 if (!(iter_data->flags & BT_TAG_ITER_RESERVED)) in bt_tags_iter()
363 ret = iter_data->fn(rq, iter_data->data); in bt_tags_iter()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
H A Dmain.c1025 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 …]
H A 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 …]
H A Ddebug.c648 struct ath9k_vif_iter_data iter_data; in read_file_misc() local
720 ath9k_calculate_iter_data(sc, ctx, &iter_data); in read_file_misc()
724 i++, (int)(ctx->assigned), iter_data.naps, in read_file_misc()
725 iter_data.nstations, in read_file_misc()
726 iter_data.nmeshes); in read_file_misc()
728 iter_data.nadhocs, iter_data.nocbs, sc->cur_chan->nvifs, in read_file_misc()
/linux/drivers/net/wireless/ath/ath5k/
H A Dbase.c483 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 …]
H A Dmac80211-ops.c377 struct ath5k_vif_iter_data iter_data; /* to count STA interfaces */ in ath5k_configure_filter() local
440 iter_data.hw_macaddr = NULL; in ath5k_configure_filter()
441 iter_data.n_stas = 0; in ath5k_configure_filter()
442 iter_data.need_set_hw_addr = false; in ath5k_configure_filter()
445 ath5k_vif_iter, &iter_data); in ath5k_configure_filter()
448 if (iter_data.n_stas > 1) { in ath5k_configure_filter()
/linux/drivers/scsi/fnic/
H A Dfnic_scsi.c1715 iter_data->term_cnt++; in fnic_rport_abort_io_iter()
1738 &iter_data); in fnic_rport_exch_reset()
2171 iter_data->ret = FAILED; in fnic_pending_aborts_iter()
2202 iter_data->ret = FAILED; in fnic_pending_aborts_iter()
2249 iter_data.lr_sc = lr_sc; in fnic_clean_pending_aborts()
2254 ret = iter_data.ret; in fnic_clean_pending_aborts()
2757 if (iter_data->lr_sc && sc == iter_data->lr_sc) in fnic_abts_pending_iter()
2759 if (iter_data->lun_dev && sc->device != iter_data->lun_dev) in fnic_abts_pending_iter()
2781 iter_data->ret = 1; in fnic_abts_pending_iter()
2803 iter_data.lr_sc = lr_sc; in fnic_is_abts_pending()
[all …]
/linux/net/netfilter/
H A Dnf_nat_masquerade.c80 struct nf_ct_iter_data iter_data = {}; in iterate_cleanup_work() local
85 iter_data.net = w->net; in iterate_cleanup_work()
86 iter_data.data = (void *)w; in iterate_cleanup_work()
87 nf_ct_iterate_cleanup_net(w->iter, &iter_data); in iterate_cleanup_work()
H A Dnf_conntrack_timeout.c47 struct nf_ct_iter_data iter_data = { in nf_ct_untimeout() local
52 nf_ct_iterate_cleanup_net(untimeout, &iter_data); in nf_ct_untimeout()
H A Dnf_conntrack_core.c2336 if (iter_data->net && in get_next_corpse()
2337 !net_eq(iter_data->net, nf_ct_net(ct))) in get_next_corpse()
2340 if (iter(ct, iter_data->data)) in get_next_corpse()
2368 nf_ct_delete(ct, iter_data->portid, iter_data->report); in nf_ct_iterate_cleanup()
2378 struct net *net = iter_data->net; in nf_ct_iterate_cleanup_net()
2386 nf_ct_iterate_cleanup(iter, iter_data); in nf_ct_iterate_cleanup_net()
2404 struct nf_ct_iter_data iter_data = {}; in nf_ct_iterate_destroy() local
2432 iter_data.data = data; in nf_ct_iterate_destroy()
2433 nf_ct_iterate_cleanup(iter, &iter_data); in nf_ct_iterate_destroy()
2483 struct nf_ct_iter_data iter_data = {}; in nf_conntrack_cleanup_net_list() local
[all …]
H A Dnf_conntrack_proto.c517 struct nf_ct_iter_data iter_data = { in nf_ct_netns_do_get() local
521 nf_ct_iterate_cleanup_net(nf_ct_tcp_fixup, &iter_data); in nf_ct_netns_do_get()
/linux/drivers/scsi/
H A Dhosts.c723 struct scsi_host_busy_iter_data *iter_data = priv; in __scsi_host_busy_iter_fn() local
726 return iter_data->fn(sc, iter_data->priv); in __scsi_host_busy_iter_fn()
742 struct scsi_host_busy_iter_data iter_data = { in scsi_host_busy_iter() local
748 &iter_data); in scsi_host_busy_iter()
/linux/net/mac80211/
H A Dkey.c999 void *iter_data) in ieee80211_key_iter() argument
1007 &key->conf, iter_data); in ieee80211_key_iter()
1017 void *iter_data) in ieee80211_iter_keys() argument
1028 ieee80211_key_iter(hw, vif, key, iter, iter_data); in ieee80211_iter_keys()
1034 iter, iter_data); in ieee80211_iter_keys()
1047 void *iter_data) in _ieee80211_iter_keys_rcu() argument
1052 ieee80211_key_iter(hw, &sdata->vif, key, iter, iter_data); in _ieee80211_iter_keys_rcu()
1062 void *iter_data) in ieee80211_iter_keys_rcu() argument
1069 _ieee80211_iter_keys_rcu(hw, sdata, iter, iter_data); in ieee80211_iter_keys_rcu()
1072 _ieee80211_iter_keys_rcu(hw, sdata, iter, iter_data); in ieee80211_iter_keys_rcu()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcore.c2008 struct sk_buff *skb = iter_data->skb; in rtw89_vif_rx_stats_iter()
2011 const u8 *bssid = iter_data->bssid; in rtw89_vif_rx_stats_iter()
2056 iter_data.rtwdev = rtwdev; in rtw89_core_rx_stats()
2057 iter_data.phy_ppdu = phy_ppdu; in rtw89_core_rx_stats()
2058 iter_data.desc_info = desc_info; in rtw89_core_rx_stats()
2059 iter_data.skb = skb; in rtw89_core_rx_stats()
2437 u8 mac_id = iter_data->mac_id; in rtw89_core_stats_sta_rx_status_iter()
2458 iter_data.rtwdev = rtwdev; in rtw89_core_stats_sta_rx_status()
2459 iter_data.rx_status = rx_status; in rtw89_core_stats_sta_rx_status()
2460 iter_data.desc_info = desc_info; in rtw89_core_stats_sta_rx_status()
[all …]
H A Dwow.c349 struct rtw89_set_key_info_iter_data *iter_data = data; in rtw89_wow_set_key_info_iter() local
350 bool update_tx_key_info = iter_data->rx_ready; in rtw89_wow_set_key_info_iter()
381 iter_data->gtk_cipher = key->cipher; in rtw89_wow_set_key_info_iter()
386 iter_data->igtk_cipher = key->cipher; in rtw89_wow_set_key_info_iter()
406 iter_data->error = true; in rtw89_wow_set_key_info_iter()
/linux/include/net/netfilter/
H A Dnf_conntrack.h246 const struct nf_ct_iter_data *iter_data);
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c2512 struct wlcore_hw_queue_iter_data *iter_data = data; in wlcore_hw_queue_iter() local
2518 if (iter_data->cur_running || vif == iter_data->vif) { in wlcore_hw_queue_iter()
2519 iter_data->cur_running = true; in wlcore_hw_queue_iter()
2523 __set_bit(vif->hw_queue[0] / NUM_TX_QUEUES, iter_data->hw_queue_map); in wlcore_hw_queue_iter()
2530 struct wlcore_hw_queue_iter_data iter_data = {}; in wlcore_allocate_hw_queue_base() local
2538 iter_data.vif = vif; in wlcore_allocate_hw_queue_base()
2543 wlcore_hw_queue_iter, &iter_data); in wlcore_allocate_hw_queue_base()
2546 if (iter_data.cur_running) { in wlcore_allocate_hw_queue_base()
2556 q_base = find_first_zero_bit(iter_data.hw_queue_map, in wlcore_allocate_hw_queue_base()
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Dcore.c6292 struct rtl8xxxu_rx_update_rssi_data *iter_data = data; in rtl8xxxu_rx_update_rssi_iter() local
6294 struct ieee80211_hdr *hdr = iter_data->hdr; in rtl8xxxu_rx_update_rssi_iter()
6295 struct rtl8xxxu_priv *priv = iter_data->priv; in rtl8xxxu_rx_update_rssi_iter()
6297 struct ieee80211_rx_status *rx_status = iter_data->rx_status; in rtl8xxxu_rx_update_rssi_iter()
6298 u8 *bssid = iter_data->bssid; in rtl8xxxu_rx_update_rssi_iter()
7407 struct rtl8xxxu_iter_stas_data iter_data; in rtl8xxxu_watchdog_callback() local
7412 iter_data.priv = priv; in rtl8xxxu_watchdog_callback()
7413 INIT_LIST_HEAD(&iter_data.list); in rtl8xxxu_watchdog_callback()
7417 &iter_data); in rtl8xxxu_watchdog_callback()
7418 list_for_each_entry_safe(sta_entry, tmp, &iter_data.list, list) { in rtl8xxxu_watchdog_callback()
/linux/include/net/
H A Dmac80211.h6581 void *iter_data);
6605 void *iter_data);
6631 void *iter_data);

12