Lines Matching refs:ptp_rdata
238 if (lport->ptp_rdata) { in fc_lport_ptp_setup()
239 fc_rport_logoff(lport->ptp_rdata); in fc_lport_ptp_setup()
240 kref_put(&lport->ptp_rdata->kref, fc_rport_destroy); in fc_lport_ptp_setup()
243 lport->ptp_rdata = fc_rport_create(lport, remote_fid); in fc_lport_ptp_setup()
244 kref_get(&lport->ptp_rdata->kref); in fc_lport_ptp_setup()
245 lport->ptp_rdata->ids.port_name = remote_wwpn; in fc_lport_ptp_setup()
246 lport->ptp_rdata->ids.node_name = remote_wwnn; in fc_lport_ptp_setup()
249 fc_rport_login(lport->ptp_rdata); in fc_lport_ptp_setup()
724 if (!lport->ptp_rdata) in fc_lport_enter_ready()
1002 if (lport->ptp_rdata) { in fc_lport_reset_locked()
1003 fc_rport_logoff(lport->ptp_rdata); in fc_lport_reset_locked()
1004 kref_put(&lport->ptp_rdata->kref, fc_rport_destroy); in fc_lport_reset_locked()
1005 lport->ptp_rdata = NULL; in fc_lport_reset_locked()