Lines Matching refs:msgp

1050 	sbbc_ecc_mbox_t	*msgp;  in plat_send_ecc_mailbox_msg()  local
1119 msgp = (sbbc_ecc_mbox_t *)kmem_zalloc(sizeof (sbbc_ecc_mbox_t), in plat_send_ecc_mailbox_msg()
1121 if (msgp == NULL) { in plat_send_ecc_mailbox_msg()
1127 msgp->ecc_log_error = log_error; in plat_send_ecc_mailbox_msg()
1129 msgp->ecc_req.msg_type.type = INFO_MBOX; in plat_send_ecc_mailbox_msg()
1130 msgp->ecc_req.msg_type.sub_type = msg_subtype; in plat_send_ecc_mailbox_msg()
1131 msgp->ecc_req.msg_status = 0; in plat_send_ecc_mailbox_msg()
1132 msgp->ecc_req.msg_len = (int)msg_size; in plat_send_ecc_mailbox_msg()
1133 msgp->ecc_req.msg_bytes = 0; in plat_send_ecc_mailbox_msg()
1134 msgp->ecc_req.msg_buf = (caddr_t)kmem_zalloc(msg_size, sleep_flag); in plat_send_ecc_mailbox_msg()
1135 msgp->ecc_req.msg_data[0] = 0; in plat_send_ecc_mailbox_msg()
1136 msgp->ecc_req.msg_data[1] = 0; in plat_send_ecc_mailbox_msg()
1138 if (msgp->ecc_req.msg_buf == NULL) { in plat_send_ecc_mailbox_msg()
1141 kmem_free((void *)msgp, sizeof (sbbc_ecc_mbox_t)); in plat_send_ecc_mailbox_msg()
1144 bcopy(datap, (void *)msgp->ecc_req.msg_buf, msg_size); in plat_send_ecc_mailbox_msg()
1149 msgp->ecc_resp.msg_type.type = INFO_MBOX; in plat_send_ecc_mailbox_msg()
1150 msgp->ecc_resp.msg_type.sub_type = msg_subtype; in plat_send_ecc_mailbox_msg()
1151 msgp->ecc_resp.msg_status = 0; in plat_send_ecc_mailbox_msg()
1152 msgp->ecc_resp.msg_len = 0; in plat_send_ecc_mailbox_msg()
1153 msgp->ecc_resp.msg_bytes = 0; in plat_send_ecc_mailbox_msg()
1154 msgp->ecc_resp.msg_buf = NULL; in plat_send_ecc_mailbox_msg()
1155 msgp->ecc_resp.msg_data[0] = 0; in plat_send_ecc_mailbox_msg()
1156 msgp->ecc_resp.msg_data[1] = 0; in plat_send_ecc_mailbox_msg()
1165 (*sg_ecc_taskq_func)(msgp); in plat_send_ecc_mailbox_msg()
1175 msgp->ecc_resp.msg_len = (int)msg_size; in plat_send_ecc_mailbox_msg()
1176 msgp->ecc_resp.msg_buf = (caddr_t)kmem_zalloc(msg_size, in plat_send_ecc_mailbox_msg()
1182 return ((*sg_ecc_mbox_func)(msgp)); in plat_send_ecc_mailbox_msg()
1185 msgp->ecc_resp.msg_len = sizeof (plat_dimm_sid_board_data_t); in plat_send_ecc_mailbox_msg()
1186 msgp->ecc_resp.msg_buf = (caddr_t)kmem_zalloc( in plat_send_ecc_mailbox_msg()
1188 return ((*sg_ecc_mbox_func)(msgp)); in plat_send_ecc_mailbox_msg()