Lines Matching refs:resp_msg_hdr
155 static pcp_resp_msg_hdr_t *resp_msg_hdr = NULL;
313 if (resp_msg_hdr != NULL) {
314 umem_free(resp_msg_hdr, resp_msg_hdr_sz);
315 resp_msg_hdr = NULL;
440 if (resp_msg_hdr == NULL) {
442 resp_msg_hdr = (pcp_resp_msg_hdr_t *)umem_alloc(resp_msg_hdr_sz,
444 if (resp_msg_hdr == NULL)
456 if ((ret = pcp_recv_resp_msg_hdr(resp_msg_hdr))) {
465 bkup_resp_hdr_cksum = resp_msg_hdr->hdr_cksum;
466 resp_msg_hdr->hdr_cksum = 0;
467 cksum = checksum((uint16_t *)resp_msg_hdr, resp_msg_hdr_sz);
476 if (resp_msg_hdr->xid != req_msg_hdr->xid) {
488 status = resp_msg_hdr->status;
493 if (resp_msg_hdr->msg_len != 0) {
496 if ((resp_msg_data = (uint8_t *)malloc(resp_msg_hdr->msg_len))
499 bzero(resp_msg_data, resp_msg_hdr->msg_len);
503 if ((ret = pcp_io_op(resp_msg_data, resp_msg_hdr->msg_len,
512 resp_msg_hdr->msg_len);
513 if (cksum != resp_msg_hdr->msg_cksum) {
521 resp_msg->msg_len = resp_msg_hdr->msg_len;
522 resp_msg->msg_type = resp_msg_hdr->msg_type;
523 resp_msg->sub_type = resp_msg_hdr->sub_type;