| /drivers/scsi/bfa/ |
| A D | bfa_fcs_rport.c | 189 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit() 190 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit() 228 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending() 229 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending() 289 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogiacc_sending() 290 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogiacc_sending() 356 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_retry() 426 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi() 454 rport->old_pid = rport->pid; in bfa_fcs_rport_sm_plogi() 532 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_fc4_fcs_online() [all …]
|
| A D | bfa_fcs_fcpim.c | 217 itnim->rport->bfa_rport, itnim); in bfa_fcs_itnim_sm_hal_rport_online() 434 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_aen_post() local 461 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_send_prli() local 526 itnim->rport->scsi_function = in bfa_fcs_itnim_prli_response() 607 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_itnim_create() 614 itnim->rport = rport; in bfa_fcs_itnim_create() 615 itnim->fcs = rport->fcs; in bfa_fcs_itnim_create() 764 struct bfa_fcs_rport_s *rport; in bfa_fcs_itnim_lookup() local 767 if (!rport) in bfa_fcs_itnim_lookup() 770 WARN_ON(rport->itnim == NULL); in bfa_fcs_itnim_lookup() [all …]
|
| A D | bfa_fcs.h | 418 struct bfa_fcs_rport_s *rport); 420 struct bfa_fcs_rport_s *rport); 608 return rport->bfa_rport; in bfa_fcs_rport_get_halrport() 696 return itnim->rport->port->bfad_port; in bfa_fcs_itnim_get_drvport() 703 return itnim->rport->port; in bfa_fcs_itnim_get_port() 710 return itnim->rport->nwwn; in bfa_fcs_itnim_get_nwwn() 717 return itnim->rport->pwwn; in bfa_fcs_itnim_get_pwwn() 724 return itnim->rport->pid; in bfa_fcs_itnim_get_fcid() 731 return itnim->rport->maxfrsize; in bfa_fcs_itnim_get_maxfrsize() 738 return itnim->rport->fc_cos; in bfa_fcs_itnim_get_cos() [all …]
|
| A D | bfa_fcs_lport.c | 475 if (rport) { in bfa_fcs_lport_plogi() 494 if (!rport) { in bfa_fcs_lport_plogi() 834 if (rport) { in bfa_fcs_lport_uf_recv() 895 return rport; in bfa_fcs_lport_get_rport_by_pid() 952 if (wwn_is_equal(rport->pwwn, pwwn) && rport->pid == pid) in bfa_fcs_lport_get_rport_by_qualifier() 1216 if (rport) { in bfa_fcs_lport_n2n_online() 1231 if (rport) { in bfa_fcs_lport_n2n_online() 1318 if (!rport) in bfa_fcs_lport_loop_online() 1330 if (!rport) in bfa_fcs_lport_loop_online() 5483 if (!rport) in bfa_fcs_lport_scn_portid_rscn() [all …]
|
| A D | bfad_im.c | 928 struct fc_rport *rport) in bfad_im_check_if_make_lun_visible() argument 931 (struct bfad_itnim_data_s *) rport->dd_data; in bfad_im_check_if_make_lun_visible() 933 struct bfa_rport_s *bfa_rport = itnim_data->itnim->bfa_itnim->rport; in bfad_im_check_if_make_lun_visible() 955 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in bfad_im_sdev_init() local 959 if (!rport || fc_remote_port_chkready(rport)) in bfad_im_sdev_init() 962 itnim_data = (struct bfad_itnim_data_s *) rport->dd_data; in bfad_im_sdev_init() 980 if (bfad_im_check_if_make_lun_visible(sdev, rport) != in bfad_im_sdev_init() 985 sdev->hostdata = rport->dd_data; in bfad_im_sdev_init() 1214 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in bfad_im_queuecommand_lck() local 1216 rc = fc_remote_port_chkready(rport); in bfad_im_queuecommand_lck()
|
| /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() 758 if (rport && in fc_fpin_li_stats_update() 771 if (rport && in fc_fpin_li_stats_update() 805 if (rport && in fc_fpin_delivery_stats_update() 838 if (rport && in fc_fpin_peer_congn_stats_update() 851 if (rport && in fc_fpin_peer_congn_stats_update() 2440 kfree(rport); in fc_rport_dev_release() 3068 rport->dd_data = &rport[1]; in fc_remote_port_create() 3132 return rport; in fc_remote_port_create() 3727 scsi_scan_target(&rport->dev, rport->channel, in fc_scsi_scan_rport() [all …]
|
| /drivers/phy/rockchip/ |
| A D | phy-rockchip-inno-usb2.c | 542 dev_dbg(&rport->phy->dev, "mode %d\n", rport->mode); in rockchip_usb2phy_init() 582 if (!rport->suspended) in rockchip_usb2phy_power_on() 623 if (rport->suspended) in rockchip_usb2phy_power_off() 678 switch (rport->state) { in rockchip_usb2phy_otg_sm_work() 1039 if (rport->suspended && rport->port_id == USB2PHY_PORT_HOST) in rockchip_usb2phy_linestate_irq() 1128 if (!rport->phy) in rockchip_usb2phy_irq() 1193 rport); in rockchip_usb2phy_port_irq_init() 1212 rport); in rockchip_usb2phy_port_irq_init() 1231 rport); in rockchip_usb2phy_port_irq_init() 1462 rport->phy = phy; in rockchip_usb2phy_probe() [all …]
|
| /drivers/nvme/host/ |
| A D | fc.c | 865 nvme_fc_signal_discovery_scan(rport->lport, rport); in nvme_fc_rescan_remoteport() 991 struct nvme_fc_rport *rport = lsop->rport; in __nvme_fc_finish_ls_req() local 1031 lsop->rport = rport; in __nvme_fc_send_ls_req() 1415 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp_free() local 1446 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp() local 1521 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_ls_disconnect_assoc() local 1750 lsop->rport = rport; in nvme_fc_rcv_ls_req() 2989 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_active_on_rport() local 3005 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_inactive_on_rport() local 3268 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_reconnect_or_delete() local [all …]
|
| /drivers/nvme/target/ |
| A D | fcloop.c | 380 ret = nvmet_fc_rcv_ls_req(rport->targetport, rport, in fcloop_h2t_ls_req() 1109 rport->nport->rport = NULL; in fcloop_remoteport_delete() 1463 nport->rport = rport; in fcloop_create_remote_port() 1464 rport->flags = 0; in fcloop_create_remote_port() 1476 struct fcloop_rport *rport = nport->rport; in __unlink_remote_port() local 1482 nport->rport = NULL; in __unlink_remote_port() 1484 return rport; in __unlink_remote_port() 1515 if (!rport) { in fcloop_delete_remote_port() 1556 tport->remoteport = (nport->rport) ? nport->rport->remoteport : NULL; in fcloop_create_target_port() 1557 if (nport->rport) in fcloop_create_target_port() [all …]
|
| /drivers/s390/scsi/ |
| A D | zfcp_scsi.c | 306 ret = fc_block_rport(rport); in zfcp_scsi_task_mgmt_function() 531 port->rport = NULL; in zfcp_scsi_adapter_unregister() 690 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo() 726 struct fc_rport *rport; in zfcp_scsi_rport_register() local 728 if (port->rport) in zfcp_scsi_rport_register() 740 if (!rport) { in zfcp_scsi_rport_register() 749 port->rport = rport; in zfcp_scsi_rport_register() 757 struct fc_rport *rport = port->rport; in zfcp_scsi_rport_block() local 759 if (rport) { in zfcp_scsi_rport_block() 763 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()
|
| /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 …]
|
| /drivers/message/fusion/ |
| A D | mptfc.c | 462 struct fc_rport *rport; in mptfc_register_dev() local 499 if (rport) { in mptfc_register_dev() 500 ri->rport = rport; in mptfc_register_dev() 548 struct fc_rport *rport; in mptfc_target_destroy() local 552 if (rport) { in mptfc_target_destroy() 570 struct fc_rport *rport; in mptfc_target_alloc() local 581 if (rport) { in mptfc_target_alloc() 640 struct fc_rport *rport; in mptfc_sdev_init() local 646 if (!rport || fc_remote_port_chkready(rport)) in mptfc_sdev_init() 1130 ri->rport = NULL; in mptfc_setup_reset() [all …]
|
| /drivers/scsi/libfc/ |
| A D | fc_fcp.c | 1169 struct fc_rport *rport; in fc_fcp_cmd_send() local 1185 rport = fsp->rport; in fc_fcp_cmd_send() 1187 rpriv = rport->dd_data; in fc_fcp_cmd_send() 1420 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local 1459 struct fc_rport *rport; in fc_fcp_rec() local 1463 rport = fsp->rport; in fc_fcp_rec() 1464 rpriv = rport->dd_data; in fc_fcp_rec() 1724 rport = fsp->rport; in fc_fcp_srr() 1904 fsp->rport = rport; /* set the remote port ptr */ in fc_queuecommand() 2179 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 …]
|
| /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() 353 struct fc_rport *rport = rdata->rport; in bnx2fc_init_tgt() local 359 tgt->rport = rport; in bnx2fc_init_tgt() 444 struct fc_rport *rport = rdata->rport; in bnx2fc_rport_event_handler() local 453 if (!rport) { in bnx2fc_rport_event_handler() 458 rp = rport->dd_data; in bnx2fc_rport_event_handler() 459 if (rport->port_id == FC_FID_DIR_SERV) { in bnx2fc_rport_event_handler() 530 if (!rport) { in bnx2fc_rport_event_handler() 535 rp = rport->dd_data; in bnx2fc_rport_event_handler()
|
| A D | bnx2fc_io.c | 681 if (rport == NULL) { in bnx2fc_initiate_tmf() 686 rp = rport->dd_data; in bnx2fc_initiate_tmf() 688 rc = fc_block_rport(rport); in bnx2fc_initiate_tmf() 747 did = rport->port_id; in bnx2fc_initiate_tmf() 819 struct fc_rport *rport = tgt->rport; in bnx2fc_initiate_abts() local 847 if (rport == NULL) { in bnx2fc_initiate_abts() 883 did = rport->port_id; in bnx2fc_initiate_abts() 1062 struct fc_lport *lport = shost_priv(rport_to_shost(rport)); in bnx2fc_eh_target_reset() 1129 struct fc_rport_libfc_priv *rp = rport->dd_data; in bnx2fc_eh_abort() 1844 struct fc_rport_libfc_priv *rp = rport->dd_data; in bnx2fc_queuecommand() [all …]
|
| /drivers/scsi/ibmvscsi/ |
| A D | ibmvfc.c | 1836 if (rport == tgt->rport) { in ibmvfc_relogin() 2201 if (rport) in ibmvfc_bsg_request() 3412 if (!rport || fc_remote_port_chkready(rport)) in ibmvfc_sdev_init() 5538 if (rport) { in ibmvfc_tgt_add_rport() 5540 tgt->rport = rport; in ibmvfc_tgt_add_rport() 5668 rport = tgt->rport; in ibmvfc_do_work() 5673 if (rport) in ibmvfc_do_work() 5680 rport = tgt->rport; in ibmvfc_do_work() 5694 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work() 5697 if (rport) in ibmvfc_do_work() [all …]
|
| /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)
|
| /drivers/scsi/lpfc/ |
| A D | lpfc_nvme.c | 196 ndlp = rport->ndlp; in lpfc_nvme_remoteport_delete() 667 struct lpfc_nvme_rport *rport; in lpfc_nvme_ls_req() local 1538 struct lpfc_nvme_rport *rport; in lpfc_nvme_fcp_io_submit() local 1599 ndlp = rport->ndlp; in lpfc_nvme_fcp_io_submit() 2392 struct lpfc_nvme_rport *rport; in lpfc_nvme_register_port() local 2475 rport->ndlp = NULL; in lpfc_nvme_register_port() 2476 rport->remoteport = NULL; in lpfc_nvme_register_port() 2490 rport->lport = lport; in lpfc_nvme_register_port() 2491 rport->ndlp = ndlp; in lpfc_nvme_register_port() 2493 ndlp->nrport = rport; in lpfc_nvme_register_port() [all …]
|
| A D | lpfc_hbadisc.c | 98 if (!rport) { in lpfc_rport_invalid() 105 __func__, rport, rport->scsi_target_id); in lpfc_rport_invalid() 112 __func__, rport, rport->scsi_target_id); in lpfc_rport_invalid() 119 __func__, rport, rport->scsi_target_id); in lpfc_rport_invalid() 235 if (ndlp->rport != rport) { in lpfc_dev_loss_tmo_callbk() 240 ndlp->nlp_DID, ndlp, rport, ndlp->rport, in lpfc_dev_loss_tmo_callbk() 275 ndlp->rport = NULL; in lpfc_dev_loss_tmo_callbk() 4498 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids); in lpfc_register_remote_port() 4499 if (!rport) { in lpfc_register_remote_port() 4538 __func__, rport, rport->port_id, rport->roles, in lpfc_register_remote_port() [all …]
|
| /drivers/scsi/qla2xxx/ |
| A D | qla_nvme.c | 37 struct qla_nvme_rport *rport; in qla_nvme_register_remote() local 106 rport = fcport->nvme_remote_port->private; in qla_nvme_register_remote() 107 rport->fcport = fcport; in qla_nvme_register_remote() 363 struct nvme_fc_remote_port *rport, in qla_nvme_xmt_ls_rsp() argument 368 struct qla_nvme_rport *qla_rport = rport->private; in qla_nvme_xmt_ls_rsp() 473 struct qla_nvme_rport *qla_rport = rport->private; in qla_nvme_ls_req() 774 struct qla_nvme_rport *qla_rport = rport->private; in qla_nvme_post_cmd() 859 struct qla_nvme_rport *qla_rport = rport->private; in qla_nvme_remoteport_delete() 1229 struct nvme_fc_remote_port *rport; in qla2xxx_process_purls_iocb() local 1278 rport = fcport->nvme_remote_port; in qla2xxx_process_purls_iocb() [all …]
|
| /drivers/scsi/fnic/ |
| A D | fnic_fcs.c | 910 struct fc_rport *rport; in fnic_fdls_add_tport() local 923 rport = fc_remote_port_add(fnic->host, 0, &ids); in fnic_fdls_add_tport() 925 if (!rport) { in fnic_fdls_add_tport() 935 rport->maxframe_size = FNIC_FC_MAX_PAYLOAD_LEN; in fnic_fdls_add_tport() 937 rdd_data = rport->dd_data; in fnic_fdls_add_tport() 940 tport->rport = rport; in fnic_fdls_add_tport() 951 struct fc_rport *rport; in fnic_fdls_remove_tport() local 957 rport = tport->rport; in fnic_fdls_remove_tport() 959 if (rport) { in fnic_fdls_remove_tport() 967 fc_remote_port_delete(rport); in fnic_fdls_remove_tport() [all …]
|
| A D | fnic_scsi.c | 462 struct fc_rport *rport; in fnic_queuecommand() local 480 if (!rport) { in fnic_queuecommand() 520 rport->port_id); in fnic_queuecommand() 526 rport->port_id); in fnic_queuecommand() 540 tport->rport = rport; in fnic_queuecommand() 1932 if (!rport) { in fnic_terminate_rport_io() 1943 rport->port_id); in fnic_terminate_rport_io() 1947 rport->port_id); in fnic_terminate_rport_io() 2009 struct fc_rport *rport; in fnic_abort_cmd() local 2051 rport->port_id); in fnic_abort_cmd() [all …]
|