• Home
  • Raw
  • Download

Lines Matching refs:rport

102 static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout);
193 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in mptfc_block_error_handler() local
202 while ((ready = fc_remote_port_chkready(rport) >> 16) == DID_IMM_RETRY in mptfc_block_error_handler()
256 mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) in mptfc_set_rport_loss_tmo() argument
259 rport->dev_loss_tmo = timeout; in mptfc_set_rport_loss_tmo()
261 rport->dev_loss_tmo = mptfc_dev_loss_tmo; in mptfc_set_rport_loss_tmo()
425 struct fc_rport *rport; in mptfc_register_dev() local
461 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids); in mptfc_register_dev()
462 if (rport) { in mptfc_register_dev()
463 ri->rport = rport; in mptfc_register_dev()
465 rport->dev_loss_tmo = mptfc_dev_loss_tmo; in mptfc_register_dev()
479 *((struct mptfc_rport_info **)rport->dd_data) = ri; in mptfc_register_dev()
481 fc_remote_port_rolechg(rport,roles); in mptfc_register_dev()
494 ri->rport->scsi_target_id, in mptfc_register_dev()
495 ri->rport->dev_loss_tmo)); in mptfc_register_dev()
511 struct fc_rport *rport; in mptfc_target_destroy() local
514 rport = starget_to_rport(starget); in mptfc_target_destroy()
515 if (rport) { in mptfc_target_destroy()
516 ri = *((struct mptfc_rport_info **)rport->dd_data); in mptfc_target_destroy()
533 struct fc_rport *rport; in mptfc_target_alloc() local
543 rport = starget_to_rport(starget); in mptfc_target_alloc()
544 if (rport) { in mptfc_target_alloc()
545 ri = *((struct mptfc_rport_info **)rport->dd_data); in mptfc_target_alloc()
568 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev, in mptfc_dump_lun_info() argument
574 ri = *((struct mptfc_rport_info **)rport->dd_data); in mptfc_dump_lun_info()
603 struct fc_rport *rport; in mptfc_slave_alloc() local
607 rport = starget_to_rport(starget); in mptfc_slave_alloc()
609 if (!rport || fc_remote_port_chkready(rport)) in mptfc_slave_alloc()
637 mptfc_dump_lun_info(ioc, rport, sdev, vtarget); in mptfc_slave_alloc()
646 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device)); in mptfc_qcmd() local
656 err = fc_remote_port_chkready(rport); in mptfc_qcmd()
664 ri = *((struct mptfc_rport_info **)rport->dd_data); in mptfc_qcmd()
1091 fc_remote_port_delete(ri->rport); /* won't sleep */ in mptfc_setup_reset()
1092 ri->rport = NULL; in mptfc_setup_reset()
1146 fc_remote_port_delete(ri->rport); /* won't sleep */ in mptfc_rescan_devices()
1147 ri->rport = NULL; in mptfc_rescan_devices()