Lines Matching refs:rport
324 struct fc_rport *rport = starget_to_rport(scsi_target(sc->device)); in fnic_queue_wq_copy_desc() local
325 struct fc_rport_libfc_priv *rp = rport->dd_data; in fnic_queue_wq_copy_desc()
411 rport->maxframe_size, rp->r_a_tov, in fnic_queue_wq_copy_desc()
432 struct fc_rport *rport; in fnic_queuecommand_lck() local
452 rport = starget_to_rport(scsi_target(sc->device)); in fnic_queuecommand_lck()
453 if (!rport) { in fnic_queuecommand_lck()
461 ret = fc_remote_port_chkready(rport); in fnic_queuecommand_lck()
471 rp = rport->dd_data; in fnic_queuecommand_lck()
475 rport->port_id); in fnic_queuecommand_lck()
486 rport->port_id, rp->rp_state); in fnic_queuecommand_lck()
564 io_req->port_id = rport->port_id; in fnic_queuecommand_lck()
1661 void fnic_terminate_rport_io(struct fc_rport *rport) in fnic_terminate_rport_io() argument
1679 if (!rport) { in fnic_terminate_rport_io()
1683 rdata = rport->dd_data; in fnic_terminate_rport_io()
1699 rport->port_name, rport->node_name, rport, in fnic_terminate_rport_io()
1700 rport->port_id); in fnic_terminate_rport_io()
1719 if (rport != cmd_rport) { in fnic_terminate_rport_io()
1726 if (!io_req || rport != cmd_rport) { in fnic_terminate_rport_io()
1820 struct fc_rport *rport; in fnic_abort_cmd() local
1846 rport = starget_to_rport(scsi_target(sc->device)); in fnic_abort_cmd()
1851 rport->port_id, sc->device->lun, tag, CMD_FLAGS(sc)); in fnic_abort_cmd()
1922 if (fc_remote_port_chkready(rport) == 0) in fnic_abort_cmd()
2340 struct fc_rport *rport; in fnic_device_reset() local
2366 rport = starget_to_rport(scsi_target(sc->device)); in fnic_device_reset()
2369 rport->port_id, sc->device->lun, sc); in fnic_device_reset()
2375 if (fc_remote_port_chkready(rport)) { in fnic_device_reset()
2420 io_req->port_id = rport->port_id; in fnic_device_reset()