Lines Matching refs:ptp_rdata
235 if (lport->ptp_rdata) { in fc_lport_ptp_setup()
236 fc_rport_logoff(lport->ptp_rdata); in fc_lport_ptp_setup()
237 kref_put(&lport->ptp_rdata->kref, fc_rport_destroy); in fc_lport_ptp_setup()
240 lport->ptp_rdata = fc_rport_create(lport, remote_fid); in fc_lport_ptp_setup()
241 kref_get(&lport->ptp_rdata->kref); in fc_lport_ptp_setup()
242 lport->ptp_rdata->ids.port_name = remote_wwpn; in fc_lport_ptp_setup()
243 lport->ptp_rdata->ids.node_name = remote_wwnn; in fc_lport_ptp_setup()
246 fc_rport_login(lport->ptp_rdata); in fc_lport_ptp_setup()
721 if (!lport->ptp_rdata) in fc_lport_enter_ready()
999 if (lport->ptp_rdata) { in fc_lport_reset_locked()
1000 fc_rport_logoff(lport->ptp_rdata); in fc_lport_reset_locked()
1001 kref_put(&lport->ptp_rdata->kref, fc_rport_destroy); in fc_lport_reset_locked()
1002 lport->ptp_rdata = NULL; in fc_lport_reset_locked()