Home
last modified time | relevance | path

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

12

/drivers/ntb/test/
Dntb_msi_test.c38 } peers[]; member
134 struct ntb_msi_desc *desc = nm->peers[peer].msi_desc; in ntb_msit_copy_peer_desc()
135 int irq_count = nm->peers[peer].num_irqs; in ntb_msit_copy_peer_desc()
146 complete_all(&nm->peers[peer].init_comp); in ntb_msit_copy_peer_desc()
171 kfree(nm->peers[peer].msi_desc); in ntb_msit_db_event()
172 nm->peers[peer].msi_desc = desc; in ntb_msit_db_event()
173 nm->peers[peer].num_irqs = irq_count; in ntb_msit_db_event()
283 nm->peers[i].pidx = i; in ntb_msit_create_dbgfs()
284 nm->peers[i].nm = nm; in ntb_msit_create_dbgfs()
285 init_completion(&nm->peers[i].init_comp); in ntb_msit_create_dbgfs()
[all …]
Dntb_tool.c264 struct tool_peer *peers; member
451 tc->peers = devm_kcalloc(&tc->ntb->dev, tc->peer_cnt, in tool_init_peers()
452 sizeof(*tc->peers), GFP_KERNEL); in tool_init_peers()
453 if (tc->peers == NULL) in tool_init_peers()
457 tc->peers[pidx].pidx = pidx; in tool_init_peers()
458 tc->peers[pidx].tc = tc; in tool_init_peers()
580 struct tool_mw *inmw = &tc->peers[pidx].inmws[widx]; in tool_setup_mw()
611 tc->peers[pidx].dbgfs_dir, inmw, in tool_setup_mw()
628 struct tool_mw *inmw = &tc->peers[pidx].inmws[widx]; in tool_free_mw()
843 tc->peers[pidx].dbgfs_dir, outmw, in tool_setup_peer_mw()
[all …]
Dntb_perf.c193 struct perf_peer *peers; member
319 peer = &perf->peers[*pidx]; in perf_spad_cmd_recv()
463 peer = &perf->peers[pidx]; in perf_cmd_recv()
490 peer = &perf->peers[pidx]; in perf_link_event()
756 perf_cmd_exec(&perf->peers[pidx], PERF_CMD_CLEAR); in perf_disable_service()
759 flush_work(&perf->peers[pidx].service); in perf_disable_service()
762 struct perf_peer *peer = &perf->peers[pidx]; in perf_disable_service()
1158 perf->test_peer = &perf->peers[0]; in perf_init_threads()
1215 peer = &perf->peers[pidx]; in perf_dbgfs_read_info()
1301 peer = &perf->peers[pidx]; in perf_dbgfs_write_run()
[all …]
DKconfig35 send MSI interrupts between peers.
/drivers/net/wireguard/selftest/
Dallowedips.c258 struct wg_peer **peers, *peer; in randomized_test() local
269 peers = kcalloc(NUM_PEERS, sizeof(*peers), GFP_KERNEL); in randomized_test()
270 if (unlikely(!peers)) { in randomized_test()
275 peers[i] = kzalloc(sizeof(*peers[i]), GFP_KERNEL); in randomized_test()
276 if (unlikely(!peers[i])) { in randomized_test()
280 kref_init(&peers[i]->refcount); in randomized_test()
281 INIT_LIST_HEAD(&peers[i]->allowedips_list); in randomized_test()
289 peer = peers[prandom_u32_max(NUM_PEERS)]; in randomized_test()
315 peer = peers[prandom_u32_max(NUM_PEERS)]; in randomized_test()
333 peer = peers[prandom_u32_max(NUM_PEERS)]; in randomized_test()
[all …]
/drivers/ntb/
Dmsi.c37 int peers; in ntb_msi_init() local
41 peers = ntb_peer_port_count(ntb); in ntb_msi_init()
42 if (peers <= 0) in ntb_msi_init()
45 ntb->msi = devm_kzalloc(&ntb->dev, struct_size(ntb->msi, peer_mws, peers), in ntb_msi_init()
52 for (i = 0; i < peers; i++) { in ntb_msi_init()
71 for (i = 0; i < peers; i++) in ntb_msi_init()
/drivers/ntb/hw/idt/
Dntb_hw_idt.c521 ndev->peers[ndev->peer_cnt].port = port; in idt_scan_ports()
522 ndev->peers[ndev->peer_cnt].part = part; in idt_scan_ports()
585 return ndev->peers[pidx].port; in idt_ntb_peer_port_number()
647 port_mask &= ~BIT(ndev->peers[pidx].port); in idt_init_link()
648 part_mask &= ~BIT(ndev->peers[pidx].part); in idt_init_link()
842 port = ndev->peers[pidx].port; in idt_ntb_peer_link_is_up()
861 idt_nt_write(ndev, IDT_NT_NTMTBLADDR, ndev->peers[pidx].part); in idt_ntb_peer_link_is_up()
1142 peer = &ndev->peers[pidx]; in idt_init_mws()
1177 return ndev->peers[pidx].mw_cnt; in idt_ntb_mw_count()
1205 peer = &ndev->peers[pidx]; in idt_ntb_mw_get_align()
[all …]
Dntb_hw_idt.h1132 struct idt_ntb_peer peers[IDT_MAX_NR_PEERS]; member
/drivers/net/
Drionet.c73 struct list_head peers; member
241 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_dbell_event()
355 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_open()
385 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_close()
415 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_remove_dev()
590 INIT_LIST_HEAD(&nets[netid].peers); in rionet_add_dev()
623 list_add_tail(&peer->node, &nets[netid].peers); in rionet_add_dev()
652 list_for_each_entry(peer, &nets[i].peers, node) { in rionet_shutdown()
/drivers/scsi/libfc/
Dfc_disc.c57 list_for_each_entry(rdata, &disc->rports, peers) { in fc_disc_stop_rports()
129 list_add_tail(&dp->peers, &disc_ports); in fc_disc_recv_rscn_req()
148 list_for_each_entry_safe(dp, next, &disc_ports, peers) { in fc_disc_recv_rscn_req()
149 list_del(&dp->peers); in fc_disc_recv_rscn_req()
278 list_for_each_entry(rdata, &disc->rports, peers) { in fc_disc_done()
/drivers/net/wireless/ath/ath10k/
Dtxrx.c157 list_for_each_entry(peer, &ar->peers, list) { in ath10k_peer_find()
178 list_for_each_entry(peer, &ar->peers, list) in ath10k_peer_find_by_id()
239 list_add(&peer->list, &ar->peers); in ath10k_peer_map_event()
Ddebug.c249 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset()
264 INIT_LIST_HEAD(&stats.peers); in ath10k_debug_fw_stats_process()
295 num_peers = ath10k_wmi_fw_stats_num_peers(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
318 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
330 if (!list_empty(&stats.peers)) in ath10k_debug_fw_stats_process()
334 list_splice_tail_init(&stats.peers, &ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
346 ath10k_fw_stats_peers_free(&stats.peers); in ath10k_debug_fw_stats_process()
2523 INIT_LIST_HEAD(&ar->debug.fw_stats.peers); in ath10k_debug_create()
Dcore.h345 struct list_head peers; member
1177 struct list_head peers; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c149 memcpy(result.addr, mvm->ftm_initiator.req->peers[i].addr, in iwl_mvm_ftm_restart()
262 if (req->peers[i].report_ap_tsf) { in iwl_mvm_ftm_cmd_common()
562 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v5()
592 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v7()
618 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v8()
644 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v9()
742 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v11()
813 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v12()
841 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v13()
941 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_find_peer()
/drivers/net/wireless/ath/ath11k/
Dpeer.c18 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_list_by_id()
35 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find()
86 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_by_vdev_id()
137 list_add(&peer->list, &ab->peers); in ath11k_peer_map_event()
249 list_for_each_entry_safe(peer, tmp, &ab->peers, list) { in ath11k_peer_cleanup()
/drivers/net/ethernet/intel/ice/
Dice_lag.c145 int peers = 0; in ice_lag_link() local
153 peers++; in ice_lag_link()
168 lag->primary = !!(peers == 1); in ice_lag_link()
/drivers/scsi/fcoe/
Dfcoe_sysfs.c507 list_for_each_entry(fcf, &ctlr->fcfs, peers) in store_private_fcoe_ctlr_fcf_dev_loss_tmo()
878 &ctlr->fcfs, peers) { in fcoe_ctlr_device_delete()
879 list_del(&fcf->peers); in fcoe_ctlr_device_delete()
947 list_del(&fcf->peers); in fip_timeout_deleted_fcf()
999 list_for_each_entry(fcf, &ctlr->fcfs, peers) { in fcoe_fcf_device_add()
1046 list_add_tail(&fcf->peers, &ctlr->fcfs); in fcoe_fcf_device_add()
/drivers/scsi/
Dscsi_transport_fc.c659 list_for_each_entry(rport, &fc_host_rports(shost), peers) { in fc_find_rport_by_wwpn()
2020 &fc_host_rport_bindings(shost), peers); in store_fc_private_host_tgtid_bind_type()
2021 list_del(&rport->peers); in store_fc_private_host_tgtid_bind_type()
2073 list_for_each_entry(rport, &fc_host->rports, peers) in store_fc_private_host_dev_loss_tmo()
2385 list_for_each_entry(vport, &fc_host->vports, peers) { in store_fc_host_vport_delete()
2557 list_for_each_entry(rport, &fc_host_rports(shost), peers) { in fc_user_scan_tgt()
2887 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fc_remove_host()
2894 &fc_host->rports, peers) { in fc_remove_host()
2895 list_del(&rport->peers); in fc_remove_host()
2901 &fc_host->rport_bindings, peers) { in fc_remove_host()
[all …]
/drivers/rapidio/
Drio_cm.c159 struct list_head peers; member
1154 list_for_each_entry(peer, &new_ch->cmdev->peers, node) { in riocm_ch_accept()
1596 list_for_each_entry(peer, &cm->peers, node) { in cm_ep_get_list()
1811 list_for_each_entry(peer, &cm->peers, node) { in cm_chan_connect()
1973 list_add_tail(&peer->node, &cm->peers); in riocm_add_dev()
2020 list_for_each_entry(peer, &cm->peers, node) { in riocm_remove_dev()
2155 INIT_LIST_HEAD(&cm->peers); in riocm_add_mport()
2227 if (!list_empty(&cm->peers)) in riocm_remove_mport()
2229 list_for_each_entry_safe(peer, temp, &cm->peers, node) { in riocm_remove_mport()
/drivers/net/ethernet/sfc/siena/
Dvfdi.h246 struct vfdi_endpoint peers[256]; member
Dsiena_sriov.c1102 peer = vfdi_status->peers + 1; in efx_siena_sriov_peer_work()
1103 peer_space = ARRAY_SIZE(vfdi_status->peers) - 1; in efx_siena_sriov_peer_work()
1334 ether_addr_copy(vfdi_status->peers[0].mac_addr, net_dev->dev_addr); in efx_siena_sriov_init()
1485 ether_addr_copy(vfdi_status->peers[0].mac_addr, in efx_siena_sriov_mac_address_changed()
/drivers/net/ethernet/sfc/
Dvfdi.h246 struct vfdi_endpoint peers[256]; member
/drivers/isdn/mISDN/
DKconfig37 - dynamic IP exchange, if one or both peers have dynamic IPs
/drivers/scsi/qedf/
Dqedf_debugfs.c359 list_for_each_entry_rcu(fcport, &qedf->fcports, peers) { in qedf_driver_stats_show()
Dqedf.h235 struct list_head peers; member

12