Lines Matching refs:rport

70 	struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device));
77 scsi_result = fc_remote_port_chkready(rport);
98 * fc_remote_port_chkready until rport is BLOCKED
115 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
126 port = zfcp_get_port_by_wwpn(adapter, rport->port_name);
293 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
305 ret = fc_block_rport(rport);
346 struct fc_rport *rport = starget_to_rport(starget);
347 struct Scsi_Host *shost = rport_to_shost(rport);
530 port->rport = NULL;
686 static void zfcp_scsi_set_rport_dev_loss_tmo(struct fc_rport *rport,
689 rport->dev_loss_tmo = timeout;
693 * zfcp_scsi_terminate_rport_io - Terminate all I/O on a rport
694 * @rport: The FC rport where to teminate I/O
702 static void zfcp_scsi_terminate_rport_io(struct fc_rport *rport)
705 struct Scsi_Host *shost = rport_to_shost(rport);
709 port = zfcp_get_port_by_wwpn(adapter, rport->port_name);
717 rport->port_name /* zfcp_scsi_rport_register */,
718 rport->port_id /* zfcp_scsi_rport_register */);
725 struct fc_rport *rport;
727 if (port->rport)
738 rport = fc_remote_port_add(port->adapter->scsi_host, 0, &ids);
739 if (!rport) {
746 rport->maxframe_size = port->maxframe_size;
747 rport->supported_classes = port->supported_classes;
748 port->rport = rport;
749 port->starget_id = rport->scsi_target_id;
756 struct fc_rport *rport = port->rport;
758 if (rport) {
762 fc_remote_port_delete(rport);
763 port->rport = NULL;
781 if (port->rport && queue_work(port->adapter->work_queue,