Lines Matching refs:scmd32
894 sbd_cmd32_t scmd32;
896 bzero((caddr_t)&scmd32, sizeof (sbd_cmd32_t));
898 if (ddi_copyin((void *)hp->h_iap, (void *)&scmd32,
905 scp->cmd_cm.c_id.c_type = scmd32.cmd_cm.c_id.c_type;
906 scp->cmd_cm.c_id.c_unit = scmd32.cmd_cm.c_id.c_unit;
907 bcopy(&scmd32.cmd_cm.c_id.c_name[0],
909 scp->cmd_cm.c_flags = scmd32.cmd_cm.c_flags;
910 scp->cmd_cm.c_len = scmd32.cmd_cm.c_len;
911 scp->cmd_cm.c_opts = (caddr_t)(uintptr_t)scmd32.cmd_cm.c_opts;
915 scp->cmd_stat.s_nbytes = scmd32.cmd_stat.s_nbytes;
917 (caddr_t)(uintptr_t)scmd32.cmd_stat.s_statp;
957 sbd_cmd32_t scmd32;
959 scmd32.cmd_cm.c_id.c_type = scp->cmd_cm.c_id.c_type;
960 scmd32.cmd_cm.c_id.c_unit = scp->cmd_cm.c_id.c_unit;
962 &scmd32.cmd_cm.c_id.c_name[0], OBP_MAXPROPNAME);
964 scmd32.cmd_cm.c_flags = scp->cmd_cm.c_flags;
965 scmd32.cmd_cm.c_len = scp->cmd_cm.c_len;
966 scmd32.cmd_cm.c_opts = (caddr32_t)(uintptr_t)scp->cmd_cm.c_opts;
970 scmd32.cmd_getncm.g_ncm = scp->cmd_getncm.g_ncm;
976 if (ddi_copyout((void *)&scmd32, (void *)hp->h_iap,