Lines Matching refs:msgp

1063 	sbbc_ecc_mbox_t	*msgp;  in plat_send_ecc_mailbox_msg()  local
1132 msgp = (sbbc_ecc_mbox_t *)kmem_zalloc(sizeof (sbbc_ecc_mbox_t), in plat_send_ecc_mailbox_msg()
1134 if (msgp == NULL) { in plat_send_ecc_mailbox_msg()
1140 msgp->ecc_log_error = log_error; in plat_send_ecc_mailbox_msg()
1142 msgp->ecc_req.msg_type.type = INFO_MBOX; in plat_send_ecc_mailbox_msg()
1143 msgp->ecc_req.msg_type.sub_type = msg_subtype; in plat_send_ecc_mailbox_msg()
1144 msgp->ecc_req.msg_status = 0; in plat_send_ecc_mailbox_msg()
1145 msgp->ecc_req.msg_len = (int)msg_size; in plat_send_ecc_mailbox_msg()
1146 msgp->ecc_req.msg_bytes = 0; in plat_send_ecc_mailbox_msg()
1147 msgp->ecc_req.msg_buf = (caddr_t)kmem_zalloc(msg_size, sleep_flag); in plat_send_ecc_mailbox_msg()
1148 msgp->ecc_req.msg_data[0] = 0; in plat_send_ecc_mailbox_msg()
1149 msgp->ecc_req.msg_data[1] = 0; in plat_send_ecc_mailbox_msg()
1151 if (msgp->ecc_req.msg_buf == NULL) { in plat_send_ecc_mailbox_msg()
1154 kmem_free((void *)msgp, sizeof (sbbc_ecc_mbox_t)); in plat_send_ecc_mailbox_msg()
1158 bcopy(datap, (void *)msgp->ecc_req.msg_buf, msg_size); in plat_send_ecc_mailbox_msg()
1163 msgp->ecc_resp.msg_type.type = INFO_MBOX; in plat_send_ecc_mailbox_msg()
1164 msgp->ecc_resp.msg_type.sub_type = msg_subtype; in plat_send_ecc_mailbox_msg()
1165 msgp->ecc_resp.msg_status = 0; in plat_send_ecc_mailbox_msg()
1166 msgp->ecc_resp.msg_len = 0; in plat_send_ecc_mailbox_msg()
1167 msgp->ecc_resp.msg_bytes = 0; in plat_send_ecc_mailbox_msg()
1168 msgp->ecc_resp.msg_buf = NULL; in plat_send_ecc_mailbox_msg()
1169 msgp->ecc_resp.msg_data[0] = 0; in plat_send_ecc_mailbox_msg()
1170 msgp->ecc_resp.msg_data[1] = 0; in plat_send_ecc_mailbox_msg()
1179 (*sg_ecc_taskq_func)(msgp); in plat_send_ecc_mailbox_msg()
1189 msgp->ecc_resp.msg_len = (int)msg_size; in plat_send_ecc_mailbox_msg()
1190 msgp->ecc_resp.msg_buf = (caddr_t)kmem_zalloc(msg_size, in plat_send_ecc_mailbox_msg()
1196 return ((*sg_ecc_mbox_func)(msgp)); in plat_send_ecc_mailbox_msg()
1199 msgp->ecc_resp.msg_len = sizeof (plat_dimm_sid_board_data_t); in plat_send_ecc_mailbox_msg()
1200 msgp->ecc_resp.msg_buf = (caddr_t)kmem_zalloc( in plat_send_ecc_mailbox_msg()
1203 return ((*sg_ecc_mbox_func)(msgp)); in plat_send_ecc_mailbox_msg()