Lines Matching refs:rport
190 void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) in fc_set_rport_loss_tmo() argument
193 rport->dev_loss_tmo = timeout; in fc_set_rport_loss_tmo()
195 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo()
253 struct fc_rport *rport; in fc_rport_work() local
260 rport = rdata->rport; in fc_rport_work()
272 if (!rport) in fc_rport_work()
273 rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work()
274 if (!rport) { in fc_rport_work()
281 if (rdata->rport) in fc_rport_work()
283 rdata->rport = rport; in fc_rport_work()
284 rport->maxframe_size = rdata->maxframe_size; in fc_rport_work()
285 rport->supported_classes = rdata->supported_classes; in fc_rport_work()
287 rpriv = rport->dd_data; in fc_rport_work()
337 if (rport) { in fc_rport_work()
338 rpriv = rport->dd_data; in fc_rport_work()
341 rdata->rport = NULL; in fc_rport_work()
343 fc_remote_port_delete(rport); in fc_rport_work()
2064 void fc_rport_terminate_io(struct fc_rport *rport) in fc_rport_terminate_io() argument
2066 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_rport_terminate_io()
2069 lport->tt.exch_mgr_reset(lport, 0, rport->port_id); in fc_rport_terminate_io()
2070 lport->tt.exch_mgr_reset(lport, rport->port_id, 0); in fc_rport_terminate_io()