Searched refs:rport (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/include/scsi/ |
D | scsi_transport_srp.h | 100 int (*reconnect)(struct srp_rport *rport); 101 void (*terminate_rport_io)(struct srp_rport *rport); 102 void (*rport_delete)(struct srp_rport *rport); 109 extern void srp_rport_get(struct srp_rport *rport); 110 extern void srp_rport_put(struct srp_rport *rport); 117 extern int srp_reconnect_rport(struct srp_rport *rport); 118 extern void srp_start_tl_fail_timers(struct srp_rport *rport); 120 extern void srp_stop_rport_timers(struct srp_rport *rport); 131 static inline int srp_chkready(struct srp_rport *rport) in srp_chkready() argument 133 switch (rport->state) { in srp_chkready()
|
D | scsi_transport_fc.h | 732 fc_remote_port_chkready(struct fc_rport *rport) in fc_remote_port_chkready() argument 736 switch (rport->port_state) { in fc_remote_port_chkready() 738 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) in fc_remote_port_chkready() 740 else if (rport->flags & FC_RPORT_DEVLOSS_PENDING) in fc_remote_port_chkready() 746 if (rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT) in fc_remote_port_chkready() 794 void fc_remote_port_delete(struct fc_rport *rport); 795 void fc_remote_port_rolechg(struct fc_rport *rport, u32 roles); 809 int fc_block_rport(struct fc_rport *rport);
|
D | libfc.h | 204 struct fc_rport *rport; member 354 struct fc_rport *rport; member
|
/linux-4.19.296/drivers/s390/scsi/ |
D | zfcp_scsi.c | 66 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); in zfcp_scsi_queuecommand() local 73 scsi_result = fc_remote_port_chkready(rport); in zfcp_scsi_queuecommand() 111 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_slave_alloc() local 122 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_scsi_slave_alloc() 287 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_task_mgmt_function() local 299 ret = fc_block_rport(rport); in zfcp_scsi_task_mgmt_function() 340 struct fc_rport *rport = starget_to_rport(starget); in zfcp_scsi_eh_target_reset_handler() local 341 struct Scsi_Host *shost = rport_to_shost(rport); in zfcp_scsi_eh_target_reset_handler() 501 port->rport = NULL; in zfcp_scsi_adapter_unregister() 657 static void zfcp_scsi_set_rport_dev_loss_tmo(struct fc_rport *rport, in zfcp_scsi_set_rport_dev_loss_tmo() argument [all …]
|
D | zfcp_unit.c | 24 struct fc_rport *rport = unit->port->rport; in zfcp_unit_scsi_scan() local 29 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) in zfcp_unit_scsi_scan() 30 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, in zfcp_unit_scsi_scan()
|
D | zfcp_fc.c | 940 struct fc_rport *rport = fc_bsg_to_rport(job); in zfcp_fc_job_wka_port() local 946 shost = rport ? rport_to_shost(rport) : fc_bsg_to_shost(job); in zfcp_fc_job_wka_port() 980 struct fc_rport *rport = fc_bsg_to_rport(job); in zfcp_fc_exec_els_job() local 985 if (rport) { in zfcp_fc_exec_els_job() 986 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_fc_exec_els_job() 1028 struct fc_rport *rport = fc_bsg_to_rport(job); in zfcp_fc_exec_bsg_job() local 1030 shost = rport ? rport_to_shost(rport) : fc_bsg_to_shost(job); in zfcp_fc_exec_bsg_job()
|
D | zfcp_def.h | 201 struct fc_rport *rport; /* rport of fc transport class */ member
|
/linux-4.19.296/drivers/message/fusion/ |
D | mptfc.c | 102 static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout); 194 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in mptfc_block_error_handler() local 203 while ((ready = fc_remote_port_chkready(rport) >> 16) == DID_IMM_RETRY in mptfc_block_error_handler() 257 mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) in mptfc_set_rport_loss_tmo() argument 260 rport->dev_loss_tmo = timeout; in mptfc_set_rport_loss_tmo() 262 rport->dev_loss_tmo = mptfc_dev_loss_tmo; in mptfc_set_rport_loss_tmo() 426 struct fc_rport *rport; in mptfc_register_dev() local 462 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids); in mptfc_register_dev() 463 if (rport) { in mptfc_register_dev() 464 ri->rport = rport; in mptfc_register_dev() [all …]
|
D | mptbase.h | 552 struct fc_rport *rport; member
|