Lines Matching refs:rport

84     				     " transport to wait for an rport to "
102 static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout);
186 mptfc_block_error_handler(struct fc_rport *rport)
189 struct Scsi_Host *shost = rport_to_shost(rport);
198 while ((ready = fc_remote_port_chkready(rport) >> 16) == DID_IMM_RETRY
205 dev_name(&rport->dev), ready, ioc->active));
217 dev_name(&rport->dev), ready, ioc->active));
227 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device));
231 rtn = mptfc_block_error_handler(rport);
246 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device));
250 rtn = mptfc_block_error_handler(rport);
276 rtn = fc_block_rport(ri->rport);
292 mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout)
295 rport->dev_loss_tmo = timeout;
297 rport->dev_loss_tmo = mptfc_dev_loss_tmo;
461 struct fc_rport *rport;
494 /* MPT_RPORT_INFO_FLAGS_REGISTERED - rport not previously deleted */
497 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids);
498 if (rport) {
499 ri->rport = rport;
501 rport->dev_loss_tmo = mptfc_dev_loss_tmo;
515 *((struct mptfc_rport_info **)rport->dd_data) = ri;
516 /* scan will be scheduled once rport becomes a target */
517 fc_remote_port_rolechg(rport,roles);
523 "rport tid %d, tmo %d\n",
530 ri->rport->scsi_target_id,
531 ri->rport->dev_loss_tmo));
547 struct fc_rport *rport;
550 rport = starget_to_rport(starget);
551 if (rport) {
552 ri = *((struct mptfc_rport_info **)rport->dd_data);
569 struct fc_rport *rport;
579 rport = starget_to_rport(starget);
580 if (rport) {
581 ri = *((struct mptfc_rport_info **)rport->dd_data);
599 * @rport
604 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev,
610 ri = *((struct mptfc_rport_info **)rport->dd_data);
639 struct fc_rport *rport;
643 rport = starget_to_rport(starget);
645 if (!rport || fc_remote_port_chkready(rport))
673 mptfc_dump_lun_info(ioc, rport, sdev, vtarget);
682 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device));
692 err = fc_remote_port_chkready(rport);
700 ri = *((struct mptfc_rport_info **)rport->dd_data);
1128 fc_remote_port_delete(ri->rport); /* won't sleep */
1129 ri->rport = NULL;
1183 fc_remote_port_delete(ri->rport); /* won't sleep */
1184 ri->rport = NULL;