Lines Matching refs:pcnt

943 	int32_t			pcnt = 0;  in qla_edif_app_getfcinfo()  local
978 if (pcnt >= app_req.num_ports) in qla_edif_app_getfcinfo()
1002 app_reply->ports[pcnt].version = EDIF_VERSION1; in qla_edif_app_getfcinfo()
1003 app_reply->ports[pcnt].remote_type = in qla_edif_app_getfcinfo()
1006 app_reply->ports[pcnt].remote_type |= in qla_edif_app_getfcinfo()
1009 app_reply->ports[pcnt].remote_type |= in qla_edif_app_getfcinfo()
1012 app_reply->ports[pcnt].remote_pid = fcport->d_id; in qla_edif_app_getfcinfo()
1016 fcport->node_name, fcport->port_name, pcnt, in qla_edif_app_getfcinfo()
1023 app_reply->ports[pcnt].auth_state = in qla_edif_app_getfcinfo()
1026 app_reply->ports[pcnt].auth_state = in qla_edif_app_getfcinfo()
1031 app_reply->ports[pcnt].auth_state = fcport->edif.auth_state; in qla_edif_app_getfcinfo()
1035 memcpy(app_reply->ports[pcnt].remote_wwpn, in qla_edif_app_getfcinfo()
1038 app_reply->ports[pcnt].remote_state = in qla_edif_app_getfcinfo()
1042 pcnt++; in qla_edif_app_getfcinfo()
1047 app_reply->port_count = pcnt; in qla_edif_app_getfcinfo()
1055 sizeof(struct app_pinfo_reply) + sizeof(struct app_pinfo) * pcnt); in qla_edif_app_getfcinfo()
1076 uint32_t pcnt = 0; in qla_edif_app_getstats() local
1103 if (pcnt > app_req.num_ports) in qla_edif_app_getstats()
1106 app_reply->elem[pcnt].rekey_count = in qla_edif_app_getstats()
1108 app_reply->elem[pcnt].tx_bytes = in qla_edif_app_getstats()
1110 app_reply->elem[pcnt].rx_bytes = in qla_edif_app_getstats()
1113 memcpy(app_reply->elem[pcnt].remote_wwpn, in qla_edif_app_getstats()
1116 pcnt++; in qla_edif_app_getstats()
1119 app_reply->elem_count = pcnt; in qla_edif_app_getstats()
1127 sizeof(struct app_stats_reply) + (sizeof(struct app_sinfo) * pcnt)); in qla_edif_app_getstats()