Lines Matching refs:pcnt
943 int32_t pcnt = 0;
978 if (pcnt >= app_req.num_ports)
1002 app_reply->ports[pcnt].version = EDIF_VERSION1;
1003 app_reply->ports[pcnt].remote_type =
1006 app_reply->ports[pcnt].remote_type |=
1009 app_reply->ports[pcnt].remote_type |=
1012 app_reply->ports[pcnt].remote_pid = fcport->d_id;
1015 "Found FC_SP fcport - nn %8phN pn %8phN pcnt %d portid=%06x secure %d.\n",
1016 fcport->node_name, fcport->port_name, pcnt,
1023 app_reply->ports[pcnt].auth_state =
1026 app_reply->ports[pcnt].auth_state =
1031 app_reply->ports[pcnt].auth_state = fcport->edif.auth_state;
1035 memcpy(app_reply->ports[pcnt].remote_wwpn,
1038 app_reply->ports[pcnt].remote_state =
1042 pcnt++;
1047 app_reply->port_count = pcnt;
1055 sizeof(struct app_pinfo_reply) + sizeof(struct app_pinfo) * pcnt);
1076 uint32_t pcnt = 0;
1103 if (pcnt >= app_req.num_ports)
1106 app_reply->elem[pcnt].rekey_count =
1108 app_reply->elem[pcnt].tx_bytes =
1110 app_reply->elem[pcnt].rx_bytes =
1113 memcpy(app_reply->elem[pcnt].remote_wwpn,
1116 pcnt++;
1119 app_reply->elem_count = pcnt;
1127 sizeof(struct app_stats_reply) + (sizeof(struct app_sinfo) * pcnt));