Lines Matching refs:tgtp
1034 struct lpfc_nvmet_tgtport *tgtp; in lpfc_debugfs_nvmestat_data() local
1047 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_debugfs_nvmestat_data()
1053 atomic_read(&tgtp->rcv_ls_req_in), in lpfc_debugfs_nvmestat_data()
1054 atomic_read(&tgtp->rcv_ls_req_drop), in lpfc_debugfs_nvmestat_data()
1055 atomic_read(&tgtp->xmt_ls_abort)); in lpfc_debugfs_nvmestat_data()
1056 if (atomic_read(&tgtp->rcv_ls_req_in) != in lpfc_debugfs_nvmestat_data()
1057 atomic_read(&tgtp->rcv_ls_req_out)) { in lpfc_debugfs_nvmestat_data()
1060 atomic_read(&tgtp->rcv_ls_req_in), in lpfc_debugfs_nvmestat_data()
1061 atomic_read(&tgtp->rcv_ls_req_out)); in lpfc_debugfs_nvmestat_data()
1066 atomic_read(&tgtp->xmt_ls_rsp), in lpfc_debugfs_nvmestat_data()
1067 atomic_read(&tgtp->xmt_ls_drop), in lpfc_debugfs_nvmestat_data()
1068 atomic_read(&tgtp->xmt_ls_rsp_cmpl)); in lpfc_debugfs_nvmestat_data()
1072 atomic_read(&tgtp->xmt_ls_rsp_aborted), in lpfc_debugfs_nvmestat_data()
1073 atomic_read(&tgtp->xmt_ls_rsp_xb_set), in lpfc_debugfs_nvmestat_data()
1074 atomic_read(&tgtp->xmt_ls_rsp_error)); in lpfc_debugfs_nvmestat_data()
1079 atomic_read(&tgtp->rcv_fcp_cmd_in), in lpfc_debugfs_nvmestat_data()
1080 atomic_read(&tgtp->rcv_fcp_cmd_defer), in lpfc_debugfs_nvmestat_data()
1081 atomic_read(&tgtp->xmt_fcp_release), in lpfc_debugfs_nvmestat_data()
1082 atomic_read(&tgtp->rcv_fcp_cmd_drop)); in lpfc_debugfs_nvmestat_data()
1084 if (atomic_read(&tgtp->rcv_fcp_cmd_in) != in lpfc_debugfs_nvmestat_data()
1085 atomic_read(&tgtp->rcv_fcp_cmd_out)) { in lpfc_debugfs_nvmestat_data()
1088 atomic_read(&tgtp->rcv_fcp_cmd_in), in lpfc_debugfs_nvmestat_data()
1089 atomic_read(&tgtp->rcv_fcp_cmd_out)); in lpfc_debugfs_nvmestat_data()
1095 atomic_read(&tgtp->xmt_fcp_read), in lpfc_debugfs_nvmestat_data()
1096 atomic_read(&tgtp->xmt_fcp_read_rsp), in lpfc_debugfs_nvmestat_data()
1097 atomic_read(&tgtp->xmt_fcp_write), in lpfc_debugfs_nvmestat_data()
1098 atomic_read(&tgtp->xmt_fcp_rsp)); in lpfc_debugfs_nvmestat_data()
1102 atomic_read(&tgtp->xmt_fcp_rsp_cmpl), in lpfc_debugfs_nvmestat_data()
1103 atomic_read(&tgtp->xmt_fcp_rsp_error), in lpfc_debugfs_nvmestat_data()
1104 atomic_read(&tgtp->xmt_fcp_rsp_drop)); in lpfc_debugfs_nvmestat_data()
1108 atomic_read(&tgtp->xmt_fcp_rsp_aborted), in lpfc_debugfs_nvmestat_data()
1109 atomic_read(&tgtp->xmt_fcp_rsp_xb_set), in lpfc_debugfs_nvmestat_data()
1110 atomic_read(&tgtp->xmt_fcp_xri_abort_cqe)); in lpfc_debugfs_nvmestat_data()
1114 atomic_read(&tgtp->xmt_fcp_abort), in lpfc_debugfs_nvmestat_data()
1115 atomic_read(&tgtp->xmt_fcp_abort_cmpl)); in lpfc_debugfs_nvmestat_data()
1119 atomic_read(&tgtp->xmt_abort_sol), in lpfc_debugfs_nvmestat_data()
1120 atomic_read(&tgtp->xmt_abort_unsol), in lpfc_debugfs_nvmestat_data()
1121 atomic_read(&tgtp->xmt_abort_rsp), in lpfc_debugfs_nvmestat_data()
1122 atomic_read(&tgtp->xmt_abort_rsp_error)); in lpfc_debugfs_nvmestat_data()
1153 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data()
1154 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data()
1155 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data()
2686 struct lpfc_nvmet_tgtport *tgtp; in lpfc_debugfs_nvmestat_write() local
2702 tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private; in lpfc_debugfs_nvmestat_write()
2705 atomic_set(&tgtp->rcv_ls_req_in, 0); in lpfc_debugfs_nvmestat_write()
2706 atomic_set(&tgtp->rcv_ls_req_out, 0); in lpfc_debugfs_nvmestat_write()
2707 atomic_set(&tgtp->rcv_ls_req_drop, 0); in lpfc_debugfs_nvmestat_write()
2708 atomic_set(&tgtp->xmt_ls_abort, 0); in lpfc_debugfs_nvmestat_write()
2709 atomic_set(&tgtp->xmt_ls_abort_cmpl, 0); in lpfc_debugfs_nvmestat_write()
2710 atomic_set(&tgtp->xmt_ls_rsp, 0); in lpfc_debugfs_nvmestat_write()
2711 atomic_set(&tgtp->xmt_ls_drop, 0); in lpfc_debugfs_nvmestat_write()
2712 atomic_set(&tgtp->xmt_ls_rsp_error, 0); in lpfc_debugfs_nvmestat_write()
2713 atomic_set(&tgtp->xmt_ls_rsp_cmpl, 0); in lpfc_debugfs_nvmestat_write()
2715 atomic_set(&tgtp->rcv_fcp_cmd_in, 0); in lpfc_debugfs_nvmestat_write()
2716 atomic_set(&tgtp->rcv_fcp_cmd_out, 0); in lpfc_debugfs_nvmestat_write()
2717 atomic_set(&tgtp->rcv_fcp_cmd_drop, 0); in lpfc_debugfs_nvmestat_write()
2718 atomic_set(&tgtp->xmt_fcp_drop, 0); in lpfc_debugfs_nvmestat_write()
2719 atomic_set(&tgtp->xmt_fcp_read_rsp, 0); in lpfc_debugfs_nvmestat_write()
2720 atomic_set(&tgtp->xmt_fcp_read, 0); in lpfc_debugfs_nvmestat_write()
2721 atomic_set(&tgtp->xmt_fcp_write, 0); in lpfc_debugfs_nvmestat_write()
2722 atomic_set(&tgtp->xmt_fcp_rsp, 0); in lpfc_debugfs_nvmestat_write()
2723 atomic_set(&tgtp->xmt_fcp_release, 0); in lpfc_debugfs_nvmestat_write()
2724 atomic_set(&tgtp->xmt_fcp_rsp_cmpl, 0); in lpfc_debugfs_nvmestat_write()
2725 atomic_set(&tgtp->xmt_fcp_rsp_error, 0); in lpfc_debugfs_nvmestat_write()
2726 atomic_set(&tgtp->xmt_fcp_rsp_drop, 0); in lpfc_debugfs_nvmestat_write()
2728 atomic_set(&tgtp->xmt_fcp_abort, 0); in lpfc_debugfs_nvmestat_write()
2729 atomic_set(&tgtp->xmt_fcp_abort_cmpl, 0); in lpfc_debugfs_nvmestat_write()
2730 atomic_set(&tgtp->xmt_abort_sol, 0); in lpfc_debugfs_nvmestat_write()
2731 atomic_set(&tgtp->xmt_abort_unsol, 0); in lpfc_debugfs_nvmestat_write()
2732 atomic_set(&tgtp->xmt_abort_rsp, 0); in lpfc_debugfs_nvmestat_write()
2733 atomic_set(&tgtp->xmt_abort_rsp_error, 0); in lpfc_debugfs_nvmestat_write()