/linux-6.3-rc2/drivers/scsi/bfa/ |
A D | bfa_fcs_rport.c | 173 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit() 174 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit() 212 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending() 213 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending() 273 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogiacc_sending() 274 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogiacc_sending() 340 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_retry() 410 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi() 438 rport->old_pid = rport->pid; in bfa_fcs_rport_sm_plogi() 516 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_fc4_fcs_online() [all …]
|
A D | bfa_fcs_fcpim.c | 200 itnim->rport->bfa_rport, itnim); in bfa_fcs_itnim_sm_hal_rport_online() 417 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_aen_post() local 444 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_send_prli() local 509 itnim->rport->scsi_function = in bfa_fcs_itnim_prli_response() 590 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_itnim_create() 597 itnim->rport = rport; in bfa_fcs_itnim_create() 598 itnim->fcs = rport->fcs; in bfa_fcs_itnim_create() 747 struct bfa_fcs_rport_s *rport; in bfa_fcs_itnim_lookup() local 750 if (!rport) in bfa_fcs_itnim_lookup() 753 WARN_ON(rport->itnim == NULL); in bfa_fcs_itnim_lookup() [all …]
|
A D | bfa_fcs.h | 331 struct bfa_fcs_rport_s *rport); 333 struct bfa_fcs_rport_s *rport); 452 return rport->bfa_rport; in bfa_fcs_rport_get_halrport() 522 return itnim->rport->port->bfad_port; in bfa_fcs_itnim_get_drvport() 529 return itnim->rport->port; in bfa_fcs_itnim_get_port() 536 return itnim->rport->nwwn; in bfa_fcs_itnim_get_nwwn() 543 return itnim->rport->pwwn; in bfa_fcs_itnim_get_pwwn() 550 return itnim->rport->pid; in bfa_fcs_itnim_get_fcid() 557 return itnim->rport->maxfrsize; in bfa_fcs_itnim_get_maxfrsize() 564 return itnim->rport->fc_cos; in bfa_fcs_itnim_get_cos() [all …]
|
A D | bfa_fcs_lport.c | 488 if (rport) { in bfa_fcs_lport_plogi() 507 if (!rport) { in bfa_fcs_lport_plogi() 847 if (rport) { in bfa_fcs_lport_uf_recv() 984 if (wwn_is_equal(rport->pwwn, pwwn) && rport->pid == pid) in bfa_fcs_lport_get_rport_by_qualifier() 1248 if (rport) { in bfa_fcs_lport_n2n_online() 1263 if (rport) { in bfa_fcs_lport_n2n_online() 1350 if (!rport) in bfa_fcs_lport_loop_online() 1362 if (!rport) in bfa_fcs_lport_loop_online() 5573 if (!rport) in bfa_fcs_lport_scn_portid_rscn() 5761 if (rport) in bfa_fcs_lport_get_rport() [all …]
|
/linux-6.3-rc2/drivers/scsi/ |
A D | scsi_transport_srp.c | 317 res = srp_tmo_valid(rport->reconnect_delay, rport->fast_io_fail_tmo, in store_srp_rport_dev_loss_tmo() 472 rport->state); in __srp_start_tl_fail_timers() 482 rport->state); in __srp_start_tl_fail_timers() 544 if (rport->state != SRP_RPORT_FAIL_FAST && rport->state != SRP_RPORT_LOST) in srp_reconnect_rport() 552 res = rport->state != SRP_RPORT_LOST ? i->f->reconnect(rport) : -ENODEV; in srp_reconnect_rport() 611 return rport && rport->fast_io_fail_tmo < 0 && in srp_timed_out() 623 kfree(rport); in srp_rport_release() 703 rport = kzalloc(sizeof(*rport), GFP_KERNEL); in srp_rport_add() 704 if (!rport) in srp_rport_add() 714 memcpy(rport->port_id, ids->port_id, sizeof(rport->port_id)); in srp_rport_add() [all …]
|
A D | scsi_transport_fc.c | 367 if (rport) { in fc_target_setup() 770 if (rport && in fc_fpin_li_stats_update() 783 if (rport && in fc_fpin_li_stats_update() 817 if (rport && in fc_fpin_delivery_stats_update() 850 if (rport && in fc_fpin_peer_congn_stats_update() 863 if (rport && in fc_fpin_peer_congn_stats_update() 2453 kfree(rport); in fc_rport_dev_release() 3079 rport->dd_data = &rport[1]; in fc_remote_port_create() 3127 return rport; in fc_remote_port_create() 3721 scsi_scan_target(&rport->dev, rport->channel, in fc_scsi_scan_rport() [all …]
|
/linux-6.3-rc2/drivers/phy/rockchip/ |
A D | phy-rockchip-inno-usb2.c | 449 dev_dbg(&rport->phy->dev, "mode %d\n", rport->mode); in rockchip_usb2phy_init() 480 if (!rport->suspended) in rockchip_usb2phy_power_on() 509 if (rport->suspended) in rockchip_usb2phy_power_off() 564 switch (rport->state) { in rockchip_usb2phy_otg_sm_work() 919 if (rport->suspended && rport->port_id == USB2PHY_PORT_HOST) in rockchip_usb2phy_linestate_irq() 978 if (!rport->phy) in rockchip_usb2phy_irq() 1039 rport); in rockchip_usb2phy_port_irq_init() 1058 rport); in rockchip_usb2phy_port_irq_init() 1077 rport); in rockchip_usb2phy_port_irq_init() 1303 rport->phy = phy; in rockchip_usb2phy_probe() [all …]
|
/linux-6.3-rc2/drivers/nvme/host/ |
A D | fc.c | 914 nvme_fc_signal_discovery_scan(rport->lport, rport); in nvme_fc_rescan_remoteport() 1040 struct nvme_fc_rport *rport = lsop->rport; in __nvme_fc_finish_ls_req() local 1080 lsop->rport = rport; in __nvme_fc_send_ls_req() 1465 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp_done() local 1488 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp() local 1563 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_ls_disconnect_assoc() local 1792 lsop->rport = rport; in nvme_fc_rcv_ls_req() 3024 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_active_on_rport() local 3040 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_inactive_on_rport() local 3291 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_reconnect_or_delete() local [all …]
|
/linux-6.3-rc2/include/scsi/ |
A D | scsi_transport_srp.h | 100 int (*reconnect)(struct srp_rport *rport); 101 void (*terminate_rport_io)(struct srp_rport *rport); 102 void (*rport_delete)(struct srp_rport *rport); 109 extern void srp_rport_get(struct srp_rport *rport); 110 extern void srp_rport_put(struct srp_rport *rport); 117 extern int srp_reconnect_rport(struct srp_rport *rport); 118 extern void srp_start_tl_fail_timers(struct srp_rport *rport); 120 extern void srp_stop_rport_timers(struct srp_rport *rport); 131 static inline int srp_chkready(struct srp_rport *rport) in srp_chkready() argument 133 switch (rport->state) { in srp_chkready()
|
A D | scsi_transport_fc.h | 779 fc_remote_port_chkready(struct fc_rport *rport) in fc_remote_port_chkready() argument 783 switch (rport->port_state) { in fc_remote_port_chkready() 786 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) in fc_remote_port_chkready() 788 else if (rport->flags & FC_RPORT_DEVLOSS_PENDING) in fc_remote_port_chkready() 794 if (rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT) in fc_remote_port_chkready() 842 void fc_remote_port_delete(struct fc_rport *rport); 843 void fc_remote_port_rolechg(struct fc_rport *rport, u32 roles); 865 int fc_block_rport(struct fc_rport *rport);
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | fcloop.c | 325 spin_lock(&rport->lock); in fcloop_rport_lsrqst_work() 368 ret = nvmet_fc_rcv_ls_req(rport->targetport, rport, in fcloop_h2t_ls_req() 722 if (!rport->targetport) in fcloop_fcp_req() 1335 rport->nport = nport; in fcloop_create_remote_port() 1337 nport->rport = rport; in fcloop_create_remote_port() 1349 struct fcloop_rport *rport = nport->rport; in __unlink_remote_port() local 1353 nport->rport = NULL; in __unlink_remote_port() 1355 return rport; in __unlink_remote_port() 1361 if (!rport) in __remoteport_unreg() 1430 tport->remoteport = (nport->rport) ? nport->rport->remoteport : NULL; in fcloop_create_target_port() [all …]
|
/linux-6.3-rc2/drivers/s390/scsi/ |
A D | zfcp_scsi.c | 305 ret = fc_block_rport(rport); in zfcp_scsi_task_mgmt_function() 530 port->rport = NULL; in zfcp_scsi_adapter_unregister() 689 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo() 725 struct fc_rport *rport; in zfcp_scsi_rport_register() local 727 if (port->rport) in zfcp_scsi_rport_register() 739 if (!rport) { in zfcp_scsi_rport_register() 748 port->rport = rport; in zfcp_scsi_rport_register() 756 struct fc_rport *rport = port->rport; in zfcp_scsi_rport_block() local 758 if (rport) { in zfcp_scsi_rport_block() 762 fc_remote_port_delete(rport); in zfcp_scsi_rport_block() [all …]
|
A D | zfcp_unit.c | 24 struct fc_rport *rport = unit->port->rport; in zfcp_unit_scsi_scan() local 29 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) in zfcp_unit_scsi_scan() 30 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, in zfcp_unit_scsi_scan()
|
/linux-6.3-rc2/drivers/scsi/csiostor/ |
A D | csio_attr.c | 64 struct fc_rport *rport; in csio_reg_rnode() local 73 rport = rn->rport; in csio_reg_rnode() 74 CSIO_ASSERT(rport != NULL); in csio_reg_rnode() 79 if (!rn->rport) { in csio_reg_rnode() 86 rport = rn->rport; in csio_reg_rnode() 94 rport->supported_classes = FC_COS_CLASS3; in csio_reg_rnode() 106 rn->scsi_id = rport->scsi_target_id; in csio_reg_rnode() 124 struct fc_rport *rport = rn->rport; in csio_unreg_rnode() local 127 fc_remote_port_delete(rport); in csio_unreg_rnode() 383 rport->dev_loss_tmo = timeout; in csio_set_rport_loss_tmo() [all …]
|
/linux-6.3-rc2/arch/um/drivers/ |
A D | umcast_kern.c | 22 int rport; member 37 dpri->rport = init->rport; in umcast_init() 44 "%u\n", dpri->addr, dpri->rport, dpri->lport); in umcast_init() 108 init->rport = init->lport; in mcast_setup() 125 .rport = 1102 }); in ucast_setup() 145 init->rport = simple_strtoul(rport_str, &last, 10); in ucast_setup() 156 init->lport, init->addr, init->rport); in ucast_setup()
|
/linux-6.3-rc2/drivers/message/fusion/ |
A D | mptfc.c | 425 struct fc_rport *rport; in mptfc_register_dev() local 462 if (rport) { in mptfc_register_dev() 463 ri->rport = rport; in mptfc_register_dev() 511 struct fc_rport *rport; in mptfc_target_destroy() local 515 if (rport) { in mptfc_target_destroy() 533 struct fc_rport *rport; in mptfc_target_alloc() local 544 if (rport) { in mptfc_target_alloc() 603 struct fc_rport *rport; in mptfc_slave_alloc() local 609 if (!rport || fc_remote_port_chkready(rport)) in mptfc_slave_alloc() 1093 ri->rport = NULL; in mptfc_setup_reset() [all …]
|
/linux-6.3-rc2/drivers/scsi/libfc/ |
A D | fc_fcp.c | 1164 struct fc_rport *rport; in fc_fcp_cmd_send() local 1180 rport = fsp->rport; in fc_fcp_cmd_send() 1182 rpriv = rport->dd_data; in fc_fcp_cmd_send() 1415 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local 1454 struct fc_rport *rport; in fc_fcp_rec() local 1458 rport = fsp->rport; in fc_fcp_rec() 1459 rpriv = rport->dd_data; in fc_fcp_rec() 1718 rport = fsp->rport; in fc_fcp_srr() 1898 fsp->rport = rport; /* set the remote port ptr */ in fc_queuecommand() 2173 fsp->rport = rport; /* set the remote port ptr */ in fc_eh_device_reset() [all …]
|
A D | fc_rport.c | 208 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo() 268 struct fc_rport *rport; in fc_rport_work() local 275 rport = rdata->rport; in fc_rport_work() 287 if (!rport) { in fc_rport_work() 291 if (!rport) { in fc_rport_work() 298 if (rdata->rport) in fc_rport_work() 300 rdata->rport = rport; in fc_rport_work() 304 rpriv = rport->dd_data; in fc_rport_work() 355 if (rport) { in fc_rport_work() 356 rpriv = rport->dd_data; in fc_rport_work() [all …]
|
/linux-6.3-rc2/sound/soc/generic/ |
A D | audio-graph-card2.c | 580 struct device_node *rport = of_get_parent(ep); in __graph_parse_node() local 581 struct device_node *rports = of_get_parent(rport); in __graph_parse_node() 587 of_node_put(rport); in __graph_parse_node() 780 struct device_node *rport = of_graph_get_remote_port(ep); in audio_graph2_link_dpcm() local 814 ret = graph_parse_node(priv, GRAPH_DPCM, rport, li, 1); in audio_graph2_link_dpcm() 847 ret = graph_parse_node(priv, GRAPH_DPCM, rport, li, 0); in audio_graph2_link_dpcm() 857 graph_link_init(priv, rport, li, is_cpu); in audio_graph2_link_dpcm() 861 of_node_put(rport); in audio_graph2_link_dpcm() 1064 struct device_node *rport = of_graph_get_remote_port(ep); in graph_count_dpcm() local 1083 li->num[li->link].platforms = graph_counter(rport); in graph_count_dpcm() [all …]
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-class-fc_remote_ports | 1 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_cn_yyy 9 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_li_yyy 17 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_dn_yyy
|
/linux-6.3-rc2/drivers/scsi/bnx2fc/ |
A D | bnx2fc_tgt.c | 84 struct fc_rport *rport = rdata->rport; in bnx2fc_offload_session() local 95 "port_id (%6x)\n", rport->port_id); in bnx2fc_offload_session() 355 struct fc_rport *rport = rdata->rport; in bnx2fc_init_tgt() local 361 tgt->rport = rport; in bnx2fc_init_tgt() 446 struct fc_rport *rport = rdata->rport; in bnx2fc_rport_event_handler() local 455 if (!rport) { in bnx2fc_rport_event_handler() 460 rp = rport->dd_data; in bnx2fc_rport_event_handler() 461 if (rport->port_id == FC_FID_DIR_SERV) { in bnx2fc_rport_event_handler() 532 if (!rport) { in bnx2fc_rport_event_handler() 537 rp = rport->dd_data; in bnx2fc_rport_event_handler()
|
/linux-6.3-rc2/tools/testing/selftests/net/mptcp/ |
A D | userspace_pm.sh | 571 rport "$client4_port" token "$server4_token" > /dev/null 2>&1 584 ip netns exec "$ns1" ./pm_nl_ctl dsf lip 10.0.2.1 lport "$sport" rip 10.0.2.2 rport\ 609 dead:beef:2::2 rport "$client6_port" token "$server6_token" > /dev/null 2>&1 623 dead:beef:2::2 rport "$client6_port" token "$server6_token" > /dev/null 2>&1 647 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2 rport\ 686 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ 724 dead:beef:2::1 rport $app6_port token "$client6_token" > /dev/null 2>&1 739 dead:beef:2::1 rport $app6_port token "$client6_token" > /dev/null 2>&1 762 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ 807 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/irdma/ |
A D | trace_cm.h | 209 __field(u16, rport) 226 __entry->rport = cm_node->rem_port; 252 __entry->rport, __entry->ipv4) 286 __field(u16, rport) 301 __entry->rport = cm_node->rem_port; 324 __entry->rport, __entry->ipv4) 408 __field(u16, rport) 421 __entry->rport = cm_node->rem_port; 442 __entry->rport, __entry->ipv4)
|
/linux-6.3-rc2/drivers/scsi/ibmvscsi/ |
A D | ibmvfc.c | 1801 if (rport == tgt->rport) { in ibmvfc_relogin() 2151 if (rport) in ibmvfc_bsg_request() 3337 if (!rport || fc_remote_port_chkready(rport)) in ibmvfc_slave_alloc() 5382 if (rport) { in ibmvfc_tgt_add_rport() 5384 tgt->rport = rport; in ibmvfc_tgt_add_rport() 5514 rport = tgt->rport; in ibmvfc_do_work() 5519 if (rport) in ibmvfc_do_work() 5526 rport = tgt->rport; in ibmvfc_do_work() 5540 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work() 5543 if (rport) in ibmvfc_do_work() [all …]
|
/linux-6.3-rc2/net/bridge/ |
A D | br_forward.c | 299 struct net_bridge_port *port, *lport, *rport; in br_multicast_flood() local 302 rport = br_multicast_rport_from_node_skb(rp, skb); in br_multicast_flood() 304 if ((unsigned long)lport > (unsigned long)rport) { in br_multicast_flood() 317 port = rport; in br_multicast_flood() 326 if ((unsigned long)rport >= (unsigned long)port) in br_multicast_flood()
|