Lines Matching defs:app_reply
946 struct app_pinfo_reply *app_reply;
955 app_reply = kzalloc((sizeof(struct app_pinfo_reply) +
958 if (!app_reply) {
964 app_reply->version = EDIF_VERSION1;
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;
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 =
1047 app_reply->port_count = pcnt;
1054 app_reply,
1057 kfree(app_reply);
1075 struct app_stats_reply *app_reply;
1092 app_reply = kzalloc(size, GFP_KERNEL);
1093 if (!app_reply) {
1099 app_reply->version = EDIF_VERSION1;
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,
1119 app_reply->elem_count = pcnt;
1126 bsg_job->reply_payload.sg_cnt, app_reply,
1129 kfree(app_reply);