Lines Matching defs:rport
219 struct fc_rport *rport;
227 rport = starget_to_rport(scsi_target(sdev));
228 fc_remote_port_delete(rport);
5220 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device));
5229 if (unlikely(!rdata) || unlikely(!rport))
5232 err = fc_remote_port_chkready(rport);
5511 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device));
5523 status = fc_block_rport(rport);
5762 * @rport: Pointer to remote port
5775 lpfc_send_taskmgmt(struct lpfc_vport *vport, struct fc_rport *rport,
5788 rdata = rport->dd_data;
5867 * @rport: Pointer to fc_rport data structure.
5869 * This routine delays until the scsi target (aka rport) for the
5877 lpfc_chk_tgt_mapped(struct lpfc_vport *vport, struct fc_rport *rport)
5883 rdata = rport->dd_data;
5886 "0797 Tgt Map rport failure: rdata x%px\n", rdata);
5902 rdata = rport->dd_data;
5973 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device));
5983 if (!rport)
5986 rdata = rport->dd_data;
5994 status = fc_block_rport(rport);
5998 status = lpfc_chk_tgt_mapped(vport, rport);
6001 "0721 Device Reset rport failure: rdata x%px\n", rdata);
6014 status = lpfc_send_taskmgmt(vport, rport, tgt_id, lun_id,
6051 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device));
6064 if (!rport)
6067 rdata = rport->dd_data;
6075 status = fc_block_rport(rport);
6079 status = lpfc_chk_tgt_mapped(vport, rport);
6082 "0722 Target Reset rport failure: rdata x%px\n", rdata);
6103 status = lpfc_send_taskmgmt(vport, rport, tgt_id, lun_id,
6233 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
6242 if (!rport || fc_remote_port_chkready(rport))
6252 u64_to_wwn(rport->port_name, target_wwpn.u.wwn);
6272 device_data->rport_data = rport->dd_data;
6277 sdev->hostdata = rport->dd_data;
6399 * and pointer to the rport data.