Lines Matching refs:rport
454 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; in get_fsp_rec_tov()
938 fsp->rport->port_id); in fc_fcp_resp()
943 fsp->rport->port_id, in fc_fcp_resp()
951 fsp->rport->port_id, in fc_fcp_resp()
1164 struct fc_rport *rport; in fc_fcp_cmd_send() local
1180 rport = fsp->rport; in fc_fcp_cmd_send()
1181 fsp->max_payload = rport->maxframe_size; in fc_fcp_cmd_send()
1182 rpriv = rport->dd_data; in fc_fcp_cmd_send()
1184 fc_fill_fc_hdr(fp, FC_RCTL_DD_UNSOL_CMD, rport->port_id, in fc_fcp_cmd_send()
1415 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local
1416 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_fcp_timeout()
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()
1472 fc_fill_fc_hdr(fp, FC_RCTL_ELS_REQ, rport->port_id, in fc_fcp_rec()
1475 if (lport->tt.elsct_send(lport, rport->port_id, fp, ELS_REC, in fc_fcp_rec()
1527 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp()
1532 rpriv = fsp->rport->dd_data; in fc_fcp_rec_resp()
1543 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp()
1653 fsp, fsp->rport->port_id); in fc_fcp_rec_error()
1659 fsp, fsp->rport->port_id, error); in fc_fcp_rec_error()
1669 fsp, fsp->rport->port_id, fsp->recov_retry, in fc_fcp_rec_error()
1711 struct fc_rport *rport; in fc_fcp_srr() local
1718 rport = fsp->rport; in fc_fcp_srr()
1719 rpriv = rport->dd_data; in fc_fcp_srr()
1736 fc_fill_fc_hdr(fp, FC_RCTL_ELS4_REQ, rport->port_id, in fc_fcp_srr()
1854 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); in fc_queuecommand() local
1859 rval = fc_remote_port_chkready(rport); in fc_queuecommand()
1866 if (!*(struct fc_remote_port **)rport->dd_data) { in fc_queuecommand()
1898 fsp->rport = rport; /* set the remote port ptr */ in fc_queuecommand()
2147 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); in fc_eh_device_reset() local
2160 FC_SCSI_DBG(lport, "Resetting rport (%6.6x)\n", rport->port_id); in fc_eh_device_reset()
2173 fsp->rport = rport; /* set the remote port ptr */ in fc_eh_device_reset()
2227 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in fc_slave_alloc() local
2229 if (!rport || fc_remote_port_chkready(rport)) in fc_slave_alloc()