Lines Matching refs:rport
203 void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) in fc_set_rport_loss_tmo() argument
206 rport->dev_loss_tmo = timeout; in fc_set_rport_loss_tmo()
208 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo()
268 struct fc_rport *rport; in fc_rport_work() local
275 rport = rdata->rport; in fc_rport_work()
287 if (!rport) { in fc_rport_work()
289 rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work()
291 if (!rport) { in fc_rport_work()
298 if (rdata->rport) in fc_rport_work()
300 rdata->rport = rport; in fc_rport_work()
301 rport->maxframe_size = rdata->maxframe_size; in fc_rport_work()
302 rport->supported_classes = rdata->supported_classes; in fc_rport_work()
304 rpriv = rport->dd_data; in fc_rport_work()
355 if (rport) { in fc_rport_work()
356 rpriv = rport->dd_data; in fc_rport_work()
359 rdata->rport = NULL; in fc_rport_work()
361 fc_remote_port_delete(rport); in fc_rport_work()
2284 void fc_rport_terminate_io(struct fc_rport *rport) in fc_rport_terminate_io() argument
2286 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_rport_terminate_io()
2289 lport->tt.exch_mgr_reset(lport, 0, rport->port_id); in fc_rport_terminate_io()
2290 lport->tt.exch_mgr_reset(lport, rport->port_id, 0); in fc_rport_terminate_io()