Lines Matching refs:rport

461 	struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data;  in get_fsp_rec_tov()
948 fsp->rport->port_id); in fc_fcp_resp()
953 fsp->rport->port_id, in fc_fcp_resp()
961 fsp->rport->port_id, in fc_fcp_resp()
1174 struct fc_rport *rport; in fc_fcp_cmd_send() local
1190 rport = fsp->rport; in fc_fcp_cmd_send()
1191 fsp->max_payload = rport->maxframe_size; in fc_fcp_cmd_send()
1192 rpriv = rport->dd_data; in fc_fcp_cmd_send()
1194 fc_fill_fc_hdr(fp, FC_RCTL_DD_UNSOL_CMD, rport->port_id, in fc_fcp_cmd_send()
1425 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local
1426 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_fcp_timeout()
1464 struct fc_rport *rport; in fc_fcp_rec() local
1468 rport = fsp->rport; in fc_fcp_rec()
1469 rpriv = rport->dd_data; in fc_fcp_rec()
1482 fc_fill_fc_hdr(fp, FC_RCTL_ELS_REQ, rport->port_id, in fc_fcp_rec()
1485 if (lport->tt.elsct_send(lport, rport->port_id, fp, ELS_REC, in fc_fcp_rec()
1537 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp()
1542 rpriv = fsp->rport->dd_data; in fc_fcp_rec_resp()
1553 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp()
1663 fsp, fsp->rport->port_id); in fc_fcp_rec_error()
1669 fsp, fsp->rport->port_id, error); in fc_fcp_rec_error()
1679 fsp, fsp->rport->port_id, fsp->recov_retry, in fc_fcp_rec_error()
1721 struct fc_rport *rport; in fc_fcp_srr() local
1728 rport = fsp->rport; in fc_fcp_srr()
1729 rpriv = rport->dd_data; in fc_fcp_srr()
1746 fc_fill_fc_hdr(fp, FC_RCTL_ELS4_REQ, rport->port_id, in fc_fcp_srr()
1864 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); in fc_queuecommand() local
1870 rval = fc_remote_port_chkready(rport); in fc_queuecommand()
1877 if (!*(struct fc_remote_port **)rport->dd_data) { in fc_queuecommand()
1909 fsp->rport = rport; /* set the remote port ptr */ in fc_queuecommand()
2160 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); in fc_eh_device_reset() local
2173 FC_SCSI_DBG(lport, "Resetting rport (%6.6x)\n", rport->port_id); in fc_eh_device_reset()
2186 fsp->rport = rport; /* set the remote port ptr */ in fc_eh_device_reset()
2240 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in fc_slave_alloc() local
2242 if (!rport || fc_remote_port_chkready(rport)) in fc_slave_alloc()