/drivers/ntb/test/ |
D | ntb_msi_test.c | 38 } 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 …]
|
D | ntb_tool.c | 264 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 …]
|
D | ntb_perf.c | 193 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 …]
|
D | Kconfig | 35 send MSI interrupts between peers.
|
/drivers/net/wireguard/selftest/ |
D | allowedips.c | 258 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/ |
D | msi.c | 37 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/ |
D | ntb_hw_idt.c | 521 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 …]
|
D | ntb_hw_idt.h | 1132 struct idt_ntb_peer peers[IDT_MAX_NR_PEERS]; member
|
/drivers/net/ |
D | rionet.c | 73 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/ |
D | fc_disc.c | 57 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/ |
D | txrx.c | 157 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()
|
D | debug.c | 249 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()
|
D | core.h | 345 struct list_head peers; member 1177 struct list_head peers; member
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-initiator.c | 149 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/ |
D | peer.c | 18 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/ |
D | ice_lag.c | 145 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/ |
D | fcoe_sysfs.c | 507 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/ |
D | scsi_transport_fc.c | 659 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/ |
D | rio_cm.c | 159 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/ |
D | vfdi.h | 246 struct vfdi_endpoint peers[256]; member
|
D | siena_sriov.c | 1102 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/ |
D | vfdi.h | 246 struct vfdi_endpoint peers[256]; member
|
/drivers/isdn/mISDN/ |
D | Kconfig | 37 - dynamic IP exchange, if one or both peers have dynamic IPs
|
/drivers/scsi/qedf/ |
D | qedf_debugfs.c | 359 list_for_each_entry_rcu(fcport, &qedf->fcports, peers) { in qedf_driver_stats_show()
|
D | qedf.h | 235 struct list_head peers; member
|