Lines Matching refs:scmd32
898 sbd_cmd32_t scmd32;
900 bzero((caddr_t)&scmd32, sizeof (sbd_cmd32_t));
902 if (ddi_copyin((void *)hp->h_iap, (void *)&scmd32,
909 scp->cmd_cm.c_id.c_type = scmd32.cmd_cm.c_id.c_type;
910 scp->cmd_cm.c_id.c_unit = scmd32.cmd_cm.c_id.c_unit;
911 bcopy(&scmd32.cmd_cm.c_id.c_name[0],
913 scp->cmd_cm.c_flags = scmd32.cmd_cm.c_flags;
914 scp->cmd_cm.c_len = scmd32.cmd_cm.c_len;
915 scp->cmd_cm.c_opts = (caddr_t)(uintptr_t)scmd32.cmd_cm.c_opts;
919 scp->cmd_stat.s_nbytes = scmd32.cmd_stat.s_nbytes;
921 (caddr_t)(uintptr_t)scmd32.cmd_stat.s_statp;
960 sbd_cmd32_t scmd32;
962 scmd32.cmd_cm.c_id.c_type = scp->cmd_cm.c_id.c_type;
963 scmd32.cmd_cm.c_id.c_unit = scp->cmd_cm.c_id.c_unit;
965 &scmd32.cmd_cm.c_id.c_name[0], OBP_MAXPROPNAME);
967 scmd32.cmd_cm.c_flags = scp->cmd_cm.c_flags;
968 scmd32.cmd_cm.c_len = scp->cmd_cm.c_len;
969 scmd32.cmd_cm.c_opts = (caddr32_t)(uintptr_t)scp->cmd_cm.c_opts;
973 scmd32.cmd_getncm.g_ncm = scp->cmd_getncm.g_ncm;
979 if (ddi_copyout((void *)&scmd32, (void *)hp->h_iap,