Lines Matching refs:msgdatap
845 scosmb_process_output(scosmb_msgdata_t *msgdatap)
859 if (msgdatap == NULL) {
866 free_data = msgdatap->data;
867 free_data_len = msgdatap->length;
872 switch (msgdatap->cmd) {
885 msgdatap->length = 0;
886 msgdatap->data = NULL;
890 msgdatap->data = nodename;
891 msgdatap->length = length;
893 if (msgdatap->transid == 0) {
953 * into the starcat msgdatap:
955 msgdatap->data = (plat_capability_data_t *)cap;
956 msgdatap->length = cap_size;
972 if (msgdatap->transid == 0) {
985 error = mboxsc_putmsg(DMSC_KEY, msgdatap->type, msgdatap->cmd,
986 &msgdatap->transid, msgdatap->length, msgdatap->data,
1000 kmem_free(msgdatap, sizeof (scosmb_msgdata_t));
1010 if (msgdatap->log_error && !scosmb_mboxsc_timedout) {
1019 msgdatap->type, msgdatap->cmd, error);
1027 if (msgdatap->log_error && !scosmb_mboxsc_failed) {
1031 error, msgdatap->type, msgdatap->cmd);
1067 scosmb_msgdata_t *msgdatap, *cap_msgdatap;
1090 msgdatap = (scosmb_msgdata_t *)kmem_zalloc(sizeof (scosmb_msgdata_t),
1093 msgdatap->type = (transid == 0) ? MBOXSC_MSG_EVENT : MBOXSC_MSG_REPLY;
1094 msgdatap->cmd = SCDM_GET_NODENAME;
1095 msgdatap->transid = transid;
1096 msgdatap->log_error = 1;
1099 (task_func_t *)scosmb_process_output, msgdatap, KM_SLEEP);