Lines Matching defs:rport
877 struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device));
884 WARN_ON_ONCE(!rport)) {
916 rval = fc_remote_port_chkready(rport);
1001 struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device));
1007 rval = rport ? fc_remote_port_chkready(rport) : (DID_NO_CONNECT << 16);
1452 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
1468 err = fc_block_rport(rport);
1520 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
1521 scsi_qla_host_t *vha = shost_priv(rport_to_shost(rport));
1523 fc_port_t *fcport = *(fc_port_t **)rport->dd_data;
1537 err = fc_block_rport(rport);
1943 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
1945 if (!rport || fc_remote_port_chkready(rport))
1948 sdev->hostdata = *(fc_port_t **)rport->dd_data;
4058 if (!fcport->rport)
4061 if (fcport->rport) {
4063 "%s %8phN. rport %p roles %x\n",
4064 __func__, fcport->port_name, fcport->rport,
4065 fcport->rport->roles);
4066 fc_remote_port_delete(fcport->rport);