Lines Matching refs:targetport

350 	if (!phba->targetport)  in lpfc_nvmet_xmt_ls_rsp_cmp()
356 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_xmt_ls_rsp_cmp()
437 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_ctxbuf_post()
740 if (phba->targetport) in lpfc_nvmet_xmt_fcp_op_cmp()
741 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_xmt_fcp_op_cmp()
1128 lpfc_nvmet_targetport_delete(struct nvmet_fc_target_port *targetport) in lpfc_nvmet_targetport_delete() argument
1130 struct lpfc_nvmet_tgtport *tport = targetport->private; in lpfc_nvmet_targetport_delete()
1133 if (tport->phba->targetport) in lpfc_nvmet_targetport_delete()
1262 tgtp = phba->targetport->private; in lpfc_nvmet_defer_rcv()
1306 lpfc_nvmet_ls_req(struct nvmet_fc_target_port *targetport, in lpfc_nvmet_ls_req() argument
1310 struct lpfc_nvmet_tgtport *lpfc_nvmet = targetport->private; in lpfc_nvmet_ls_req()
1346 lpfc_nvmet_ls_abort(struct nvmet_fc_target_port *targetport, in lpfc_nvmet_ls_abort() argument
1350 struct lpfc_nvmet_tgtport *lpfc_nvmet = targetport->private; in lpfc_nvmet_ls_abort()
1383 if (!phba->targetport || !phba->targetport->private) in lpfc_nvmet_host_release()
1391 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_host_release()
1658 if (phba->targetport) in lpfc_nvmet_create_targetport()
1681 &phba->targetport); in lpfc_nvmet_create_targetport()
1693 phba->targetport = NULL; in lpfc_nvmet_create_targetport()
1700 phba->targetport->private; in lpfc_nvmet_create_targetport()
1707 phba->targetport, tgtp, in lpfc_nvmet_create_targetport()
1756 if (!phba->targetport) in lpfc_nvmet_update_targetport()
1761 phba->targetport, vport->fc_myDID); in lpfc_nvmet_update_targetport()
1763 phba->targetport->port_id = vport->fc_myDID; in lpfc_nvmet_update_targetport()
1796 if (phba->targetport) { in lpfc_sli4_nvmet_xri_aborted()
1797 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_sli4_nvmet_xri_aborted()
1872 nvmet_fc_rcv_fcp_abort(phba->targetport, req); in lpfc_sli4_nvmet_xri_aborted()
1915 nvmet_fc_rcv_fcp_abort(phba->targetport, rsp); in lpfc_nvmet_rcv_unsol_abort()
1985 nvmet_fc_rcv_fcp_abort(phba->targetport, in lpfc_nvmet_rcv_unsol_abort()
2121 if (phba->targetport) { in lpfc_nvmet_destroy_targetport()
2122 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_destroy_targetport()
2128 nvmet_fc_unregister_targetport(phba->targetport); in lpfc_nvmet_destroy_targetport()
2133 "reached.\n", phba->targetport); in lpfc_nvmet_destroy_targetport()
2136 phba->targetport = NULL; in lpfc_nvmet_destroy_targetport()
2161 struct lpfc_nvmet_tgtport *tgtp = phba->targetport->private; in lpfc_nvmet_handle_lsreq()
2172 rc = nvmet_fc_rcv_ls_req(phba->targetport, axchg->ndlp, &axchg->ls_rsp, in lpfc_nvmet_handle_lsreq()
2224 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_process_rcv_fcp_req()
2239 rc = nvmet_fc_rcv_fcp_req(phba->targetport, &ctxp->hdlrctx.fcp_req, in lpfc_nvmet_process_rcv_fcp_req()
2399 if (!nvmebuf || !phba->targetport) { in lpfc_nvmet_unsol_fcp_buffer()
2444 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_fcp_buffer()
2757 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_prep_fcp_wqe()
3068 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_sol_fcp_abort_cmp()
3147 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_fcp_abort_cmp()
3219 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_xmt_ls_abort_cmp()
3266 if (phba->nvmet_support && phba->targetport) in lpfc_nvmet_unsol_issue_abort()
3267 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_issue_abort()
3360 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_sol_fcp_issue_abort()
3485 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_fcp_issue_abort()
3568 if (phba->nvmet_support && phba->targetport) in lpfc_nvme_unsol_ls_issue_abort()
3569 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvme_unsol_ls_issue_abort()
3631 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_invalidate_host()
3652 nvmet_fc_invalidate_host(phba->targetport, ndlp); in lpfc_nvmet_invalidate_host()