Lines Matching refs:tgtp

345 	struct lpfc_nvmet_tgtport *tgtp;  in lpfc_nvmet_xmt_ls_rsp_cmp()  local
354 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_xmt_ls_rsp_cmp()
355 if (tgtp) { in lpfc_nvmet_xmt_ls_rsp_cmp()
357 atomic_inc(&tgtp->xmt_ls_rsp_error); in lpfc_nvmet_xmt_ls_rsp_cmp()
359 atomic_inc(&tgtp->xmt_ls_rsp_aborted); in lpfc_nvmet_xmt_ls_rsp_cmp()
361 atomic_inc(&tgtp->xmt_ls_rsp_xb_set); in lpfc_nvmet_xmt_ls_rsp_cmp()
363 atomic_inc(&tgtp->xmt_ls_rsp_cmpl); in lpfc_nvmet_xmt_ls_rsp_cmp()
389 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_ctxbuf_post() local
436 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_ctxbuf_post()
468 atomic_inc(&tgtp->rcv_fcp_cmd_in); in lpfc_nvmet_ctxbuf_post()
476 atomic_inc(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvmet_ctxbuf_post()
482 atomic_read(&tgtp->rcv_fcp_cmd_in), in lpfc_nvmet_ctxbuf_post()
483 atomic_read(&tgtp->rcv_fcp_cmd_out), in lpfc_nvmet_ctxbuf_post()
484 atomic_read(&tgtp->xmt_fcp_release)); in lpfc_nvmet_ctxbuf_post()
721 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_xmt_fcp_op_cmp() local
739 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_xmt_fcp_op_cmp()
741 tgtp = NULL; in lpfc_nvmet_xmt_fcp_op_cmp()
749 if (tgtp) { in lpfc_nvmet_xmt_fcp_op_cmp()
750 atomic_inc(&tgtp->xmt_fcp_rsp_error); in lpfc_nvmet_xmt_fcp_op_cmp()
752 atomic_inc(&tgtp->xmt_fcp_rsp_aborted); in lpfc_nvmet_xmt_fcp_op_cmp()
761 if (tgtp) in lpfc_nvmet_xmt_fcp_op_cmp()
762 atomic_inc(&tgtp->xmt_fcp_rsp_xb_set); in lpfc_nvmet_xmt_fcp_op_cmp()
780 if (tgtp) in lpfc_nvmet_xmt_fcp_op_cmp()
781 atomic_inc(&tgtp->xmt_fcp_rsp_cmpl); in lpfc_nvmet_xmt_fcp_op_cmp()
1245 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_defer_rcv() local
1264 tgtp = phba->targetport->private; in lpfc_nvmet_defer_rcv()
1265 if (tgtp) in lpfc_nvmet_defer_rcv()
1266 atomic_inc(&tgtp->rcv_fcp_cmd_defer); in lpfc_nvmet_defer_rcv()
1372 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_host_release() local
1381 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_host_release()
1382 atomic_set(&tgtp->state, 0); in lpfc_nvmet_host_release()
1388 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_discovery_event() local
1392 tgtp = tgtport->private; in lpfc_nvmet_discovery_event()
1393 phba = tgtp->phba; in lpfc_nvmet_discovery_event()
1639 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_create_targetport() local
1684 tgtp = (struct lpfc_nvmet_tgtport *) in lpfc_nvmet_create_targetport()
1686 tgtp->phba = phba; in lpfc_nvmet_create_targetport()
1692 phba->targetport, tgtp, in lpfc_nvmet_create_targetport()
1697 atomic_set(&tgtp->rcv_ls_req_in, 0); in lpfc_nvmet_create_targetport()
1698 atomic_set(&tgtp->rcv_ls_req_out, 0); in lpfc_nvmet_create_targetport()
1699 atomic_set(&tgtp->rcv_ls_req_drop, 0); in lpfc_nvmet_create_targetport()
1700 atomic_set(&tgtp->xmt_ls_abort, 0); in lpfc_nvmet_create_targetport()
1701 atomic_set(&tgtp->xmt_ls_abort_cmpl, 0); in lpfc_nvmet_create_targetport()
1702 atomic_set(&tgtp->xmt_ls_rsp, 0); in lpfc_nvmet_create_targetport()
1703 atomic_set(&tgtp->xmt_ls_drop, 0); in lpfc_nvmet_create_targetport()
1704 atomic_set(&tgtp->xmt_ls_rsp_error, 0); in lpfc_nvmet_create_targetport()
1705 atomic_set(&tgtp->xmt_ls_rsp_xb_set, 0); in lpfc_nvmet_create_targetport()
1706 atomic_set(&tgtp->xmt_ls_rsp_aborted, 0); in lpfc_nvmet_create_targetport()
1707 atomic_set(&tgtp->xmt_ls_rsp_cmpl, 0); in lpfc_nvmet_create_targetport()
1708 atomic_set(&tgtp->rcv_fcp_cmd_in, 0); in lpfc_nvmet_create_targetport()
1709 atomic_set(&tgtp->rcv_fcp_cmd_out, 0); in lpfc_nvmet_create_targetport()
1710 atomic_set(&tgtp->rcv_fcp_cmd_drop, 0); in lpfc_nvmet_create_targetport()
1711 atomic_set(&tgtp->xmt_fcp_drop, 0); in lpfc_nvmet_create_targetport()
1712 atomic_set(&tgtp->xmt_fcp_read_rsp, 0); in lpfc_nvmet_create_targetport()
1713 atomic_set(&tgtp->xmt_fcp_read, 0); in lpfc_nvmet_create_targetport()
1714 atomic_set(&tgtp->xmt_fcp_write, 0); in lpfc_nvmet_create_targetport()
1715 atomic_set(&tgtp->xmt_fcp_rsp, 0); in lpfc_nvmet_create_targetport()
1716 atomic_set(&tgtp->xmt_fcp_release, 0); in lpfc_nvmet_create_targetport()
1717 atomic_set(&tgtp->xmt_fcp_rsp_cmpl, 0); in lpfc_nvmet_create_targetport()
1718 atomic_set(&tgtp->xmt_fcp_rsp_error, 0); in lpfc_nvmet_create_targetport()
1719 atomic_set(&tgtp->xmt_fcp_rsp_xb_set, 0); in lpfc_nvmet_create_targetport()
1720 atomic_set(&tgtp->xmt_fcp_rsp_aborted, 0); in lpfc_nvmet_create_targetport()
1721 atomic_set(&tgtp->xmt_fcp_rsp_drop, 0); in lpfc_nvmet_create_targetport()
1722 atomic_set(&tgtp->xmt_fcp_xri_abort_cqe, 0); in lpfc_nvmet_create_targetport()
1723 atomic_set(&tgtp->xmt_fcp_abort, 0); in lpfc_nvmet_create_targetport()
1724 atomic_set(&tgtp->xmt_fcp_abort_cmpl, 0); in lpfc_nvmet_create_targetport()
1725 atomic_set(&tgtp->xmt_abort_unsol, 0); in lpfc_nvmet_create_targetport()
1726 atomic_set(&tgtp->xmt_abort_sol, 0); in lpfc_nvmet_create_targetport()
1727 atomic_set(&tgtp->xmt_abort_rsp, 0); in lpfc_nvmet_create_targetport()
1728 atomic_set(&tgtp->xmt_abort_rsp_error, 0); in lpfc_nvmet_create_targetport()
1729 atomic_set(&tgtp->defer_ctx, 0); in lpfc_nvmet_create_targetport()
1730 atomic_set(&tgtp->defer_fod, 0); in lpfc_nvmet_create_targetport()
1731 atomic_set(&tgtp->defer_wqfull, 0); in lpfc_nvmet_create_targetport()
1768 struct lpfc_nvmet_tgtport *tgtp; in lpfc_sli4_nvmet_xri_aborted() local
1782 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_sli4_nvmet_xri_aborted()
1783 atomic_inc(&tgtp->xmt_fcp_xri_abort_cqe); in lpfc_sli4_nvmet_xri_aborted()
2098 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_destroy_targetport() local
2106 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_destroy_targetport()
2111 tgtp->tport_unreg_cmp = &tport_unreg_cmp; in lpfc_nvmet_destroy_targetport()
2145 struct lpfc_nvmet_tgtport *tgtp = phba->targetport->private; in lpfc_nvmet_handle_lsreq() local
2149 atomic_inc(&tgtp->rcv_ls_req_in); in lpfc_nvmet_handle_lsreq()
2166 atomic_inc(&tgtp->rcv_ls_req_out); in lpfc_nvmet_handle_lsreq()
2170 atomic_inc(&tgtp->rcv_ls_req_drop); in lpfc_nvmet_handle_lsreq()
2182 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_process_rcv_fcp_req() local
2208 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_process_rcv_fcp_req()
2227 atomic_inc(&tgtp->rcv_fcp_cmd_out); in lpfc_nvmet_process_rcv_fcp_req()
2245 atomic_inc(&tgtp->rcv_fcp_cmd_out); in lpfc_nvmet_process_rcv_fcp_req()
2246 atomic_inc(&tgtp->defer_fod); in lpfc_nvmet_process_rcv_fcp_req()
2264 atomic_inc(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvmet_process_rcv_fcp_req()
2268 atomic_read(&tgtp->rcv_fcp_cmd_in), in lpfc_nvmet_process_rcv_fcp_req()
2269 atomic_read(&tgtp->rcv_fcp_cmd_out), in lpfc_nvmet_process_rcv_fcp_req()
2270 atomic_read(&tgtp->xmt_fcp_release)); in lpfc_nvmet_process_rcv_fcp_req()
2371 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_unsol_fcp_buffer() local
2428 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_fcp_buffer()
2446 atomic_inc(&tgtp->defer_ctx); in lpfc_nvmet_unsol_fcp_buffer()
2490 atomic_inc(&tgtp->rcv_fcp_cmd_in); in lpfc_nvmet_unsol_fcp_buffer()
2498 atomic_inc(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvmet_unsol_fcp_buffer()
2503 atomic_read(&tgtp->rcv_fcp_cmd_in), in lpfc_nvmet_unsol_fcp_buffer()
2504 atomic_read(&tgtp->rcv_fcp_cmd_out), in lpfc_nvmet_unsol_fcp_buffer()
2505 atomic_read(&tgtp->xmt_fcp_release)); in lpfc_nvmet_unsol_fcp_buffer()
2699 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_prep_fcp_wqe() local
2740 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_prep_fcp_wqe()
2838 atomic_inc(&tgtp->xmt_fcp_read_rsp); in lpfc_nvmet_prep_fcp_wqe()
2855 atomic_inc(&tgtp->xmt_fcp_read); in lpfc_nvmet_prep_fcp_wqe()
2922 atomic_inc(&tgtp->xmt_fcp_write); in lpfc_nvmet_prep_fcp_wqe()
2980 atomic_inc(&tgtp->xmt_fcp_rsp); in lpfc_nvmet_prep_fcp_wqe()
3044 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_sol_fcp_abort_cmp() local
3052 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_sol_fcp_abort_cmp()
3054 atomic_inc(&tgtp->xmt_fcp_abort_cmpl); in lpfc_nvmet_sol_fcp_abort_cmp()
3071 atomic_inc(&tgtp->xmt_abort_rsp); in lpfc_nvmet_sol_fcp_abort_cmp()
3113 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_unsol_fcp_abort_cmp() local
3130 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_fcp_abort_cmp()
3133 atomic_inc(&tgtp->xmt_fcp_abort_cmpl); in lpfc_nvmet_unsol_fcp_abort_cmp()
3155 atomic_inc(&tgtp->xmt_abort_rsp); in lpfc_nvmet_unsol_fcp_abort_cmp()
3194 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_xmt_ls_abort_cmp() local
3201 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_xmt_ls_abort_cmp()
3202 atomic_inc(&tgtp->xmt_ls_abort_cmpl); in lpfc_nvmet_xmt_ls_abort_cmp()
3239 struct lpfc_nvmet_tgtport *tgtp = NULL; in lpfc_nvmet_unsol_issue_abort() local
3249 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_issue_abort()
3255 if (tgtp) in lpfc_nvmet_unsol_issue_abort()
3256 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvmet_unsol_issue_abort()
3336 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_sol_fcp_issue_abort() local
3343 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_sol_fcp_issue_abort()
3353 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvmet_sol_fcp_issue_abort()
3369 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvmet_sol_fcp_issue_abort()
3396 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvmet_sol_fcp_issue_abort()
3411 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvmet_sol_fcp_issue_abort()
3441 atomic_inc(&tgtp->xmt_abort_sol); in lpfc_nvmet_sol_fcp_issue_abort()
3445 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvmet_sol_fcp_issue_abort()
3462 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_unsol_fcp_issue_abort() local
3468 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_unsol_fcp_issue_abort()
3512 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvmet_unsol_fcp_issue_abort()
3535 struct lpfc_nvmet_tgtport *tgtp = NULL; in lpfc_nvme_unsol_ls_issue_abort() local
3553 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvme_unsol_ls_issue_abort()
3581 if (tgtp) in lpfc_nvme_unsol_ls_issue_abort()
3582 atomic_inc(&tgtp->xmt_abort_unsol); in lpfc_nvme_unsol_ls_issue_abort()
3586 if (tgtp) in lpfc_nvme_unsol_ls_issue_abort()
3587 atomic_inc(&tgtp->xmt_abort_rsp_error); in lpfc_nvme_unsol_ls_issue_abort()
3608 struct lpfc_nvmet_tgtport *tgtp; in lpfc_nvmet_invalidate_host() local
3614 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_nvmet_invalidate_host()
3615 atomic_set(&tgtp->state, LPFC_NVMET_INV_HOST_ACTIVE); in lpfc_nvmet_invalidate_host()