Lines Matching refs:rport
187 void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) in fc_set_rport_loss_tmo() argument
190 rport->dev_loss_tmo = timeout; in fc_set_rport_loss_tmo()
192 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo()
250 struct fc_rport *rport; in fc_rport_work() local
257 rport = rdata->rport; in fc_rport_work()
269 if (!rport) in fc_rport_work()
270 rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work()
271 if (!rport) { in fc_rport_work()
278 if (rdata->rport) in fc_rport_work()
280 rdata->rport = rport; in fc_rport_work()
281 rport->maxframe_size = rdata->maxframe_size; in fc_rport_work()
282 rport->supported_classes = rdata->supported_classes; in fc_rport_work()
284 rpriv = rport->dd_data; in fc_rport_work()
334 if (rport) { in fc_rport_work()
335 rpriv = rport->dd_data; in fc_rport_work()
338 rdata->rport = NULL; in fc_rport_work()
340 fc_remote_port_delete(rport); in fc_rport_work()
2061 void fc_rport_terminate_io(struct fc_rport *rport) in fc_rport_terminate_io() argument
2063 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_rport_terminate_io()
2066 lport->tt.exch_mgr_reset(lport, 0, rport->port_id); in fc_rport_terminate_io()
2067 lport->tt.exch_mgr_reset(lport, rport->port_id, 0); in fc_rport_terminate_io()