Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
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()
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()
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()
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()
2334 struct rtw_iter_port_switch_data *iter_data = data; in rtw_port_switch_iter() local
2335 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_port_switch_iter()
2337 struct rtw_vif *rtwvif_ap = iter_data->rtwvif_ap; in rtw_port_switch_iter()
2374 struct rtw_iter_port_switch_data iter_data; in rtw_core_port_switch() local
2379 iter_data.rtwdev = rtwdev; in rtw_core_port_switch()
2380 iter_data.rtwvif_ap = rtwvif; in rtw_core_port_switch()
2381 rtw_iterate_vifs(rtwdev, rtw_port_switch_iter, &iter_data); in rtw_core_port_switch()
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()
Dfw.c146 struct rtw_beacon_filter_iter_data *iter_data = data; in rtw_fw_bcn_filter_notify_vif_iter() local
147 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_fw_bcn_filter_notify_vif_iter()
148 u8 *payload = iter_data->payload; in rtw_fw_bcn_filter_notify_vif_iter()
/linux-6.6.21/block/
Dblk-mq-tag.c268 struct bt_iter_data *iter_data = data; in bt_iter() local
269 struct blk_mq_hw_ctx *hctx = iter_data->hctx; in bt_iter()
270 struct request_queue *q = iter_data->q; in bt_iter()
281 if (!iter_data->reserved) in bt_iter()
292 ret = iter_data->fn(rq, iter_data->data); in bt_iter()
316 struct bt_iter_data iter_data = { in bt_for_each() local
324 sbitmap_for_each_set(&bt->sb, bt_iter, &iter_data); in bt_for_each()
340 struct bt_tags_iter_data *iter_data = data; in bt_tags_iter() local
341 struct blk_mq_tags *tags = iter_data->tags; in bt_tags_iter()
344 bool iter_static_rqs = !!(iter_data->flags & BT_TAG_ITER_STATIC_RQS); in bt_tags_iter()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dmain.c1002 static void ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data, in ath9k_vif_iter_set_beacon() argument
1006 if (!iter_data->primary_beacon_vif) { in ath9k_vif_iter_set_beacon()
1007 iter_data->primary_beacon_vif = vif; in ath9k_vif_iter_set_beacon()
1009 if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP && in ath9k_vif_iter_set_beacon()
1011 iter_data->primary_beacon_vif = vif; in ath9k_vif_iter_set_beacon()
1014 iter_data->beacons = true; in ath9k_vif_iter_set_beacon()
1015 iter_data->nbcnvifs += 1; in ath9k_vif_iter_set_beacon()
1018 static void ath9k_vif_iter(struct ath9k_vif_iter_data *iter_data, in ath9k_vif_iter() argument
1024 if (iter_data->has_hw_macaddr) { in ath9k_vif_iter()
1026 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.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-6.6.21/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
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-6.6.21/drivers/scsi/fnic/
Dfnic_scsi.c1556 struct fnic_rport_abort_io_iter_data *iter_data = data; in fnic_rport_abort_io_iter() local
1557 struct fnic *fnic = iter_data->fnic; in fnic_rport_abort_io_iter()
1572 if (!io_req || io_req->port_id != iter_data->port_id) { in fnic_rport_abort_io_iter()
1648 iter_data->term_cnt++; in fnic_rport_abort_io_iter()
1656 struct fnic_rport_abort_io_iter_data iter_data = { in fnic_rport_exch_reset() local
1671 &iter_data); in fnic_rport_exch_reset()
1672 if (iter_data.term_cnt > atomic64_read(&term_stats->max_terminates)) in fnic_rport_exch_reset()
1673 atomic64_set(&term_stats->max_terminates, iter_data.term_cnt); in fnic_rport_exch_reset()
2015 struct fnic_pending_aborts_iter_data *iter_data = data; in fnic_pending_aborts_iter() local
2016 struct fnic *fnic = iter_data->fnic; in fnic_pending_aborts_iter()
[all …]
/linux-6.6.21/net/netfilter/
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()
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()
Dnf_conntrack_core.c2355 const struct nf_ct_iter_data *iter_data, unsigned int *bucket) in get_next_corpse() argument
2387 if (iter_data->net && in get_next_corpse()
2388 !net_eq(iter_data->net, nf_ct_net(ct))) in get_next_corpse()
2391 if (iter(ct, iter_data->data)) in get_next_corpse()
2408 const struct nf_ct_iter_data *iter_data) in nf_ct_iterate_cleanup() argument
2416 while ((ct = get_next_corpse(iter, iter_data, &bucket)) != NULL) { in nf_ct_iterate_cleanup()
2419 nf_ct_delete(ct, iter_data->portid, iter_data->report); in nf_ct_iterate_cleanup()
2427 const struct nf_ct_iter_data *iter_data) in nf_ct_iterate_cleanup_net() argument
2429 struct net *net = iter_data->net; in nf_ct_iterate_cleanup_net()
2437 nf_ct_iterate_cleanup(iter, iter_data); in nf_ct_iterate_cleanup_net()
[all …]
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-6.6.21/drivers/scsi/
Dhosts.c717 struct scsi_host_busy_iter_data *iter_data = priv; in __scsi_host_busy_iter_fn() local
720 return iter_data->fn(sc, iter_data->priv); in __scsi_host_busy_iter_fn()
736 struct scsi_host_busy_iter_data iter_data = { in scsi_host_busy_iter() local
742 &iter_data); in scsi_host_busy_iter()
/linux-6.6.21/net/mac80211/
Dkey.c999 void *iter_data) in ieee80211_iter_keys() argument
1013 &key->conf, iter_data); in ieee80211_iter_keys()
1020 &key->conf, iter_data); in ieee80211_iter_keys()
1034 void *iter_data) in _ieee80211_iter_keys_rcu() argument
1047 &key->conf, iter_data); in _ieee80211_iter_keys_rcu()
1058 void *iter_data) in ieee80211_iter_keys_rcu() argument
1065 _ieee80211_iter_keys_rcu(hw, sdata, iter, iter_data); in ieee80211_iter_keys_rcu()
1068 _ieee80211_iter_keys_rcu(hw, sdata, iter, iter_data); in ieee80211_iter_keys_rcu()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dcore.c1626 struct rtw89_vif_rx_stats_iter_data *iter_data = data; in rtw89_vif_rx_stats_iter() local
1627 struct rtw89_dev *rtwdev = iter_data->rtwdev; in rtw89_vif_rx_stats_iter()
1629 struct rtw89_rx_desc_info *desc_info = iter_data->desc_info; in rtw89_vif_rx_stats_iter()
1630 struct sk_buff *skb = iter_data->skb; in rtw89_vif_rx_stats_iter()
1632 struct rtw89_rx_phy_ppdu *phy_ppdu = iter_data->phy_ppdu; in rtw89_vif_rx_stats_iter()
1633 const u8 *bssid = iter_data->bssid; in rtw89_vif_rx_stats_iter()
1671 struct rtw89_vif_rx_stats_iter_data iter_data; in rtw89_core_rx_stats() local
1675 iter_data.rtwdev = rtwdev; in rtw89_core_rx_stats()
1676 iter_data.phy_ppdu = phy_ppdu; in rtw89_core_rx_stats()
1677 iter_data.desc_info = desc_info; in rtw89_core_rx_stats()
[all …]
Dcoex.c3858 struct rtw89_txtime_data *iter_data = in rtw89_tx_time_iter() local
3860 struct rtw89_dev *rtwdev = iter_data->rtwdev; in rtw89_tx_time_iter()
3867 u32 tx_time = iter_data->tx_time; in rtw89_tx_time_iter()
3868 u8 tx_retry = iter_data->tx_retry; in rtw89_tx_time_iter()
3869 u16 enable = iter_data->enable; in rtw89_tx_time_iter()
3870 bool reenable = iter_data->reenable; in rtw89_tx_time_iter()
5937 struct rtw89_btc_wl_sta_iter_data *iter_data = in rtw89_btc_ntfy_wl_sta_iter() local
5939 struct rtw89_dev *rtwdev = iter_data->rtwdev; in rtw89_btc_ntfy_wl_sta_iter()
5988 iter_data->rssi_map_all |= rssi_map; in rtw89_btc_ntfy_wl_sta_iter()
6011 iter_data->busy_all |= busy; in rtw89_btc_ntfy_wl_sta_iter()
[all …]
/linux-6.6.21/include/net/netfilter/
Dnf_conntrack.h250 const struct nf_ct_iter_data *iter_data);
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dmain.c2433 struct wlcore_hw_queue_iter_data *iter_data = data; in wlcore_hw_queue_iter() local
2439 if (iter_data->cur_running || vif == iter_data->vif) { in wlcore_hw_queue_iter()
2440 iter_data->cur_running = true; in wlcore_hw_queue_iter()
2444 __set_bit(vif->hw_queue[0] / NUM_TX_QUEUES, iter_data->hw_queue_map); in wlcore_hw_queue_iter()
2451 struct wlcore_hw_queue_iter_data iter_data = {}; in wlcore_allocate_hw_queue_base() local
2459 iter_data.vif = vif; in wlcore_allocate_hw_queue_base()
2464 wlcore_hw_queue_iter, &iter_data); in wlcore_allocate_hw_queue_base()
2467 if (iter_data.cur_running) { in wlcore_allocate_hw_queue_base()
2477 q_base = find_first_zero_bit(iter_data.hw_queue_map, in wlcore_allocate_hw_queue_base()
/linux-6.6.21/include/net/
Dmac80211.h6368 void *iter_data);
6392 void *iter_data);
6418 void *iter_data);
/linux-6.6.21/drivers/net/wireless/virtual/
Dmac80211_hwsim.c5668 struct tx_iter_data iter_data = {}; in hwsim_cloned_frame_received_nl() local
5676 iter_data.channel = ieee80211_get_channel(data2->hw->wiphy, in hwsim_cloned_frame_received_nl()
5678 if (!iter_data.channel) in hwsim_cloned_frame_received_nl()
5680 rx_status.band = iter_data.channel->band; in hwsim_cloned_frame_received_nl()
5683 if (!hwsim_chans_compat(iter_data.channel, channel)) { in hwsim_cloned_frame_received_nl()
5686 mac80211_hwsim_tx_iter, &iter_data); in hwsim_cloned_frame_received_nl()
5687 if (!iter_data.receive) { in hwsim_cloned_frame_received_nl()

12