Lines Matching refs:app_reply
897 struct app_pinfo_reply *app_reply; in qla_edif_app_getfcinfo() local
908 app_reply = kzalloc((sizeof(struct app_pinfo_reply) + in qla_edif_app_getfcinfo()
910 if (!app_reply) { in qla_edif_app_getfcinfo()
933 app_reply->ports[pcnt].rekey_count = in qla_edif_app_getfcinfo()
936 app_reply->ports[pcnt].remote_type = in qla_edif_app_getfcinfo()
939 app_reply->ports[pcnt].remote_type |= in qla_edif_app_getfcinfo()
942 app_reply->ports[pcnt].remote_type |= in qla_edif_app_getfcinfo()
945 app_reply->ports[pcnt].remote_pid = fcport->d_id; in qla_edif_app_getfcinfo()
956 app_reply->ports[pcnt].auth_state = in qla_edif_app_getfcinfo()
959 app_reply->ports[pcnt].auth_state = in qla_edif_app_getfcinfo()
964 app_reply->ports[pcnt].auth_state = fcport->edif.auth_state; in qla_edif_app_getfcinfo()
968 memcpy(app_reply->ports[pcnt].remote_wwpn, in qla_edif_app_getfcinfo()
971 app_reply->ports[pcnt].remote_state = in qla_edif_app_getfcinfo()
980 app_reply->port_count = pcnt; in qla_edif_app_getfcinfo()
985 bsg_job->reply_payload.sg_cnt, app_reply, in qla_edif_app_getfcinfo()
988 kfree(app_reply); in qla_edif_app_getfcinfo()
1006 struct app_stats_reply *app_reply; in qla_edif_app_getstats() local
1027 app_reply = kzalloc(size, GFP_KERNEL); in qla_edif_app_getstats()
1028 if (!app_reply) { in qla_edif_app_getstats()
1040 app_reply->elem[pcnt].rekey_count = in qla_edif_app_getstats()
1042 app_reply->elem[pcnt].tx_bytes = in qla_edif_app_getstats()
1044 app_reply->elem[pcnt].rx_bytes = in qla_edif_app_getstats()
1047 memcpy(app_reply->elem[pcnt].remote_wwpn, in qla_edif_app_getstats()
1053 app_reply->elem_count = pcnt; in qla_edif_app_getstats()
1059 bsg_job->reply_payload.sg_cnt, app_reply, ret_size); in qla_edif_app_getstats()
1061 kfree(app_reply); in qla_edif_app_getstats()