Lines Matching refs:lport
86 struct lpfc_nvme_lport *lport; in lpfc_nvme_create_queue() local
94 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_create_queue()
95 vport = lport->vport; in lpfc_nvme_create_queue()
143 struct lpfc_nvme_lport *lport; in lpfc_nvme_delete_queue() local
149 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_delete_queue()
150 vport = lport->vport; in lpfc_nvme_delete_queue()
154 lport, qidx, handle); in lpfc_nvme_delete_queue()
161 struct lpfc_nvme_lport *lport = localport->private; in lpfc_nvme_localport_delete() local
163 lpfc_printf_vlog(lport->vport, KERN_INFO, LOG_NVME, in lpfc_nvme_localport_delete()
165 lport); in lpfc_nvme_localport_delete()
168 if (lport->vport->localport) in lpfc_nvme_localport_delete()
169 complete(lport->lport_unreg_cmp); in lpfc_nvme_localport_delete()
260 struct lpfc_nvme_lport *lport; in lpfc_nvme_handle_lsreq() local
273 lport = vport->localport->private; in lpfc_nvme_handle_lsreq()
274 if (!lport) in lpfc_nvme_handle_lsreq()
358 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_req_cmp() local
364 lport = (struct lpfc_nvme_lport *)vport->localport->private; in lpfc_nvme_ls_req_cmp()
365 if (lport) { in lpfc_nvme_ls_req_cmp()
366 atomic_inc(&lport->fc4NvmeLsCmpls); in lpfc_nvme_ls_req_cmp()
369 atomic_inc(&lport->cmpl_ls_xb); in lpfc_nvme_ls_req_cmp()
370 atomic_inc(&lport->cmpl_ls_err); in lpfc_nvme_ls_req_cmp()
654 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_req() local
659 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_ls_req()
661 if (unlikely(!lport) || unlikely(!rport)) in lpfc_nvme_ls_req()
664 vport = lport->vport; in lpfc_nvme_ls_req()
668 atomic_inc(&lport->fc4NvmeLsRequests); in lpfc_nvme_ls_req()
673 atomic_inc(&lport->xmt_ls_err); in lpfc_nvme_ls_req()
752 struct lpfc_nvme_lport *lport; in lpfc_nvme_xmt_ls_rsp() local
758 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_xmt_ls_rsp()
769 atomic_inc(&lport->xmt_ls_abort); in lpfc_nvme_xmt_ls_rsp()
790 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_abort() local
795 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_ls_abort()
796 if (unlikely(!lport)) in lpfc_nvme_ls_abort()
798 vport = lport->vport; in lpfc_nvme_ls_abort()
807 atomic_inc(&lport->xmt_ls_abort); in lpfc_nvme_ls_abort()
931 struct lpfc_nvme_lport *lport; in lpfc_nvme_io_cmd_wqe_cmpl() local
971 lport = (struct lpfc_nvme_lport *)vport->localport->private; in lpfc_nvme_io_cmd_wqe_cmpl()
972 if (lport) { in lpfc_nvme_io_cmd_wqe_cmpl()
974 atomic_inc(&lport->cmpl_fcp_xb); in lpfc_nvme_io_cmd_wqe_cmpl()
975 atomic_inc(&lport->cmpl_fcp_err); in lpfc_nvme_io_cmd_wqe_cmpl()
1485 struct lpfc_nvme_lport *lport; in lpfc_nvme_fcp_io_submit() local
1500 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_fcp_io_submit()
1501 if (unlikely(!lport)) { in lpfc_nvme_fcp_io_submit()
1506 vport = lport->vport; in lpfc_nvme_fcp_io_submit()
1511 atomic_inc(&lport->xmt_fcp_err); in lpfc_nvme_fcp_io_submit()
1521 atomic_inc(&lport->xmt_fcp_err); in lpfc_nvme_fcp_io_submit()
1530 atomic_inc(&lport->xmt_fcp_err); in lpfc_nvme_fcp_io_submit()
1552 atomic_inc(&lport->xmt_fcp_err); in lpfc_nvme_fcp_io_submit()
1566 atomic_inc(&lport->xmt_fcp_bad_ndlp); in lpfc_nvme_fcp_io_submit()
1608 atomic_inc(&lport->xmt_fcp_qdepth); in lpfc_nvme_fcp_io_submit()
1624 atomic_inc(&lport->xmt_fcp_noxri); in lpfc_nvme_fcp_io_submit()
1671 atomic_inc(&lport->xmt_fcp_err); in lpfc_nvme_fcp_io_submit()
1682 atomic_inc(&lport->xmt_fcp_wqerr); in lpfc_nvme_fcp_io_submit()
1779 struct lpfc_nvme_lport *lport; in lpfc_nvme_fcp_abort() local
1791 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_fcp_abort()
1792 if (unlikely(!lport)) in lpfc_nvme_fcp_abort()
1795 vport = lport->vport; in lpfc_nvme_fcp_abort()
1877 atomic_inc(&lport->xmt_fcp_abort); in lpfc_nvme_fcp_abort()
2071 struct lpfc_nvme_lport *lport; in lpfc_nvme_create_localport() local
2111 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_create_localport()
2113 lport->vport = vport; in lpfc_nvme_create_localport()
2116 atomic_set(&lport->xmt_fcp_noxri, 0); in lpfc_nvme_create_localport()
2117 atomic_set(&lport->xmt_fcp_bad_ndlp, 0); in lpfc_nvme_create_localport()
2118 atomic_set(&lport->xmt_fcp_qdepth, 0); in lpfc_nvme_create_localport()
2119 atomic_set(&lport->xmt_fcp_err, 0); in lpfc_nvme_create_localport()
2120 atomic_set(&lport->xmt_fcp_wqerr, 0); in lpfc_nvme_create_localport()
2121 atomic_set(&lport->xmt_fcp_abort, 0); in lpfc_nvme_create_localport()
2122 atomic_set(&lport->xmt_ls_abort, 0); in lpfc_nvme_create_localport()
2123 atomic_set(&lport->xmt_ls_err, 0); in lpfc_nvme_create_localport()
2124 atomic_set(&lport->cmpl_fcp_xb, 0); in lpfc_nvme_create_localport()
2125 atomic_set(&lport->cmpl_fcp_err, 0); in lpfc_nvme_create_localport()
2126 atomic_set(&lport->cmpl_ls_xb, 0); in lpfc_nvme_create_localport()
2127 atomic_set(&lport->cmpl_ls_err, 0); in lpfc_nvme_create_localport()
2129 atomic_set(&lport->fc4NvmeLsRequests, 0); in lpfc_nvme_create_localport()
2130 atomic_set(&lport->fc4NvmeLsCmpls, 0); in lpfc_nvme_create_localport()
2149 struct lpfc_nvme_lport *lport, in lpfc_nvme_lport_unreg_wait() argument
2191 lport, vport->localport, pending, in lpfc_nvme_lport_unreg_wait()
2199 lport, vport->localport); in lpfc_nvme_lport_unreg_wait()
2218 struct lpfc_nvme_lport *lport; in lpfc_nvme_destroy_localport() local
2228 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_destroy_localport()
2237 lport->lport_unreg_cmp = &lport_unreg_cmp; in lpfc_nvme_destroy_localport()
2243 lpfc_nvme_lport_unreg_wait(vport, lport, &lport_unreg_cmp); in lpfc_nvme_destroy_localport()
2270 struct lpfc_nvme_lport *lport; in lpfc_nvme_update_localport() local
2278 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_update_localport()
2279 if (!lport) { in lpfc_nvme_update_localport()
2297 lport, localport->port_id); in lpfc_nvme_update_localport()
2307 struct lpfc_nvme_lport *lport; in lpfc_nvme_register_port() local
2323 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_register_port()
2401 rport->lport = lport; in lpfc_nvme_register_port()
2412 lport, remote_port, rport, in lpfc_nvme_register_port()
2495 struct lpfc_nvme_lport *lport; in lpfc_nvme_unregister_port() local
2507 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_unregister_port()
2508 if (!lport) in lpfc_nvme_unregister_port()