/linux-6.1.9/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.
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/net/wireless/ |
D | pmsr.c | 266 struct nlattr *peers, *peer; in nl80211_pmsr_start() local 275 peers = nla_find(nla_data(reqattr), nla_len(reqattr), in nl80211_pmsr_start() 277 if (!peers) in nl80211_pmsr_start() 281 nla_for_each_nested(peer, peers, rem) { in nl80211_pmsr_start() 291 req = kzalloc(struct_size(req, peers, count), GFP_KERNEL); in nl80211_pmsr_start() 317 nla_for_each_nested(peer, peers, rem) { in nl80211_pmsr_start() 319 err = pmsr_parse_peer(rdev, peer, &req->peers[idx], info); in nl80211_pmsr_start() 486 struct nlattr *pmsr, *peers, *peer, *resp, *data, *typedata; in nl80211_pmsr_send_result() local 492 peers = nla_nest_start_noflag(msg, NL80211_PMSR_ATTR_PEERS); in nl80211_pmsr_send_result() 493 if (!peers) in nl80211_pmsr_send_result() [all …]
|
/linux-6.1.9/net/bluetooth/ |
D | 6lowpan.c | 70 struct list_head peers; member 86 list_add_rcu(&peer->list, &dev->peers); in peer_add() 111 list_for_each_entry_rcu(peer, &dev->peers, list) { in __peer_lookup_chan() 124 list_for_each_entry_rcu(peer, &dev->peers, list) { in __peer_lookup_conn() 169 list_for_each_entry_rcu(peer, &dev->peers, list) { in peer_lookup_dst() 183 list_for_each_entry_rcu(peer, &dev->peers, list) { in peer_lookup_dst() 476 list_for_each_entry_rcu(pentry, &dev->peers, list) { in send_mcast_pkt() 685 INIT_LIST_HEAD(&(*dev)->peers); in setup_netdev() 991 struct list_head peers; in disconnect_all_peers() local 993 INIT_LIST_HEAD(&peers); in disconnect_all_peers() [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/fs/ |
D | pnode.c | 220 static inline bool peers(struct mount *m1, struct mount *m2) in peers() function 235 if (peers(m, last_dest)) { in propagate_one() 247 if (peers(last_source, first_source)) in propagate_one() 250 if (done && peers(n, parent)) in propagate_one()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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() 2558 list_for_each_entry(rport, &fc_host_rports(shost), peers) { in fc_user_scan_tgt() 2888 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fc_remove_host() 2895 &fc_host->rports, peers) { in fc_remove_host() 2896 list_del(&rport->peers); in fc_remove_host() 2902 &fc_host->rport_bindings, peers) { in fc_remove_host() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | vfdi.h | 246 struct vfdi_endpoint peers[256]; member
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | vfdi.h | 246 struct vfdi_endpoint peers[256]; member
|
/linux-6.1.9/net/tipc/ |
D | monitor.c | 88 struct hlist_head peers[NODE_HTABLE_SIZE]; member 146 static int dom_size(int peers) in dom_size() argument 150 while ((i * i) < peers) in dom_size() 188 hlist_for_each_entry(peer, &mon->peers[thash], hash) { in get_peer() 404 hlist_add_head(&p->hash, &mon->peers[tipc_hashfn(addr)]); in tipc_mon_add_peer()
|
/linux-6.1.9/include/scsi/ |
D | fcoe_sysfs.h | 84 struct list_head peers; member
|
/linux-6.1.9/include/net/netns/ |
D | ipv6.h | 67 struct inet_peer_base *peers; member
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/isdn/mISDN/ |
D | Kconfig | 37 - dynamic IP exchange, if one or both peers have dynamic IPs
|