Lines Matching refs:rport
472 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; in get_fsp_rec_tov()
959 fsp->rport->port_id); in fc_fcp_resp()
964 fsp->rport->port_id, in fc_fcp_resp()
972 fsp->rport->port_id, in fc_fcp_resp()
1185 struct fc_rport *rport; in fc_fcp_cmd_send() local
1201 rport = fsp->rport; in fc_fcp_cmd_send()
1202 fsp->max_payload = rport->maxframe_size; in fc_fcp_cmd_send()
1203 rpriv = rport->dd_data; in fc_fcp_cmd_send()
1205 fc_fill_fc_hdr(fp, FC_RCTL_DD_UNSOL_CMD, rport->port_id, in fc_fcp_cmd_send()
1436 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local
1437 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_fcp_timeout()
1475 struct fc_rport *rport; in fc_fcp_rec() local
1479 rport = fsp->rport; in fc_fcp_rec()
1480 rpriv = rport->dd_data; in fc_fcp_rec()
1493 fc_fill_fc_hdr(fp, FC_RCTL_ELS_REQ, rport->port_id, in fc_fcp_rec()
1496 if (lport->tt.elsct_send(lport, rport->port_id, fp, ELS_REC, in fc_fcp_rec()
1548 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp()
1553 rpriv = fsp->rport->dd_data; in fc_fcp_rec_resp()
1564 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp()
1674 fsp, fsp->rport->port_id); in fc_fcp_rec_error()
1680 fsp, fsp->rport->port_id, error); in fc_fcp_rec_error()
1690 fsp, fsp->rport->port_id, fsp->recov_retry, in fc_fcp_rec_error()
1730 struct fc_rport *rport; in fc_fcp_srr() local
1737 rport = fsp->rport; in fc_fcp_srr()
1738 rpriv = rport->dd_data; in fc_fcp_srr()
1755 fc_fill_fc_hdr(fp, FC_RCTL_ELS4_REQ, rport->port_id, in fc_fcp_srr()
1873 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); in fc_queuecommand() local
1880 rval = fc_remote_port_chkready(rport); in fc_queuecommand()
1887 if (!*(struct fc_remote_port **)rport->dd_data) { in fc_queuecommand()
1897 rpriv = rport->dd_data; in fc_queuecommand()
1921 fsp->rport = rport; /* set the remote port ptr */ in fc_queuecommand()
2172 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); in fc_eh_device_reset() local
2185 FC_SCSI_DBG(lport, "Resetting rport (%6.6x)\n", rport->port_id); in fc_eh_device_reset()
2198 fsp->rport = rport; /* set the remote port ptr */ in fc_eh_device_reset()
2252 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in fc_slave_alloc() local
2254 if (!rport || fc_remote_port_chkready(rport)) in fc_slave_alloc()