/illumos-gate/usr/src/cmd/cdrw/ |
H A D | mmc.c | 47 scmd->uscsi_cdblen = 6; in test_unit_ready() 63 scmd->uscsi_cdblen = 6; in inquiry() 80 scmd->uscsi_cdblen = 10; in read_capacity() 98 scmd->uscsi_cdblen = 0xa; in mode_sense() 125 scmd->uscsi_cdblen = 0xa; in mode_select() 166 scmd->uscsi_cdblen = 10; in read_track_info() 187 scmd->uscsi_cdblen = 10; in read_toc() 218 scmd->uscsi_cdblen = 10; in read_header() 236 scmd->uscsi_cdblen = 10; in read_disc_info() 271 scmd->uscsi_cdblen = 10; in get_configuration() [all …]
|
H A D | toshiba.c | 65 scmd->uscsi_cdblen = 10; in read_toc_as_per_8020() 92 scmd->uscsi_cdblen = 12; in toshiba_read_audio() 148 scmd->uscsi_cdblen = 6; in toshiba_speed_ctrl() 170 scmd->uscsi_cdblen = 6; in toshiba_speed_ctrl()
|
H A D | transport.c | 105 for (i = 0; i < scmd->uscsi_cdblen; i++) in uscsi()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | io.c | 106 ucmd.uscsi_cdblen = CDB_GROUP1; in g_scsi_persistent_reserve_in_cmd() 140 ucmd.uscsi_cdblen = CDB_GROUP0; in g_scsi_send_diag_cmd() 180 ucmd.uscsi_cdblen = CDB_GROUP0; in rec_diag_cmd() 247 ucmd.uscsi_cdblen = CDB_GROUP1; in g_scsi_writebuffer_cmd() 281 ucmd.uscsi_cdblen = CDB_GROUP1; in g_scsi_readbuffer_cmd() 307 ucmd.uscsi_cdblen = CDB_GROUP0; in g_scsi_inquiry_cmd() 352 ucmd.uscsi_cdblen = CDB_GROUP1; in g_scsi_log_sense_cmd() 387 ucmd.uscsi_cdblen = CDB_GROUP1; in g_scsi_mode_select_cmd() 434 ucmd.uscsi_cdblen = CDB_GROUP1; in g_scsi_mode_sense_cmd() 471 ucmd.uscsi_cdblen = CDB_GROUP1; in g_scsi_read_capacity_cmd() [all …]
|
H A D | cmd.c | 155 for (i = 0; i < (int)command->uscsi_cdblen; i++) { in cmd() 160 command->uscsi_cdblen, in cmd()
|
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | uscsi.h | 51 uchar_t uscsi_cdblen; /* # of valid cdb bytes */ member 68 uchar_t uscsi_cdblen; /* # of valid cdb bytes */ member 84 ucmd->uscsi_cdblen = u32->uscsi_cdblen; \ 100 u32->uscsi_cdblen = ucmd->uscsi_cdblen; \
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_subr.c | 2159 kmem_free(uscmd->uscsi_cdb, uscmd->uscsi_cdblen); in scsi_uscsi_copyin() 2233 if (uscmd->uscsi_cdblen < CDB_GROUP0 || in scsi_uscsi_copyin() 2234 uscmd->uscsi_cdblen > max_hba_cdb) { in scsi_uscsi_copyin() 2257 uscmd->uscsi_cdb = kmem_zalloc((size_t)uscmd->uscsi_cdblen, KM_SLEEP); in scsi_uscsi_copyin() 2259 (uint_t)uscmd->uscsi_cdblen, flag) != 0) { in scsi_uscsi_copyin() 2260 kmem_free(uscmd->uscsi_cdb, (size_t)uscmd->uscsi_cdblen); in scsi_uscsi_copyin() 2266 if (uscmd->uscsi_cdblen > SCSI_CDB_SIZE || in scsi_uscsi_copyin() 2268 uscmd->uscsi_cdblen) { in scsi_uscsi_copyin() 2270 (size_t)uscmd->uscsi_cdblen); in scsi_uscsi_copyin() 2275 if ((uscmd->uscsi_cdblen % 4) != 0) { in scsi_uscsi_copyin() [all …]
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 344 ucmd.uscsi_cdblen = CDB_GROUP1; in get_sector_size() 524 ucmd.uscsi_cdblen = CDB_GROUP0; in get_device_type_scsi() 565 ucmd.uscsi_cdblen = CDB_GROUP5; in get_media_capacity() 636 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_zip_format() 654 ucmd.uscsi_cdblen = CDB_GROUP1; in scsi_zip_format() 740 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_zip_format() 820 ucmd.uscsi_cdblen = CDB_GROUP5; in scsi_ls120_format() 883 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_format() 901 ucmd.uscsi_cdblen = CDB_GROUP1; in scsi_format() 958 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_format() [all …]
|
H A D | smserver.h | 217 uchar_t uscsi_cdblen; member
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 149 scmd.uscsi_cdblen = 0xa; in mode_sense() 208 scmd.uscsi_cdblen = 10; in get_configuration() 383 scmd.uscsi_cdblen = 10; in get_disc_info() 431 scmd.uscsi_cdblen = 12; in read_format_capacity() 500 scmd.uscsi_cdblen = 10; in read_toc()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 202 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_rdwr() 207 ucmd.uscsi_cdblen = CDB_GROUP4; in scsi_rdwr() 212 ucmd.uscsi_cdblen = CDB_GROUP1; in scsi_rdwr() 395 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_format() 528 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_raw_format() 1697 ucmd.uscsi_cdblen = CDB_GROUP1; in scsi_read_defect_data() 1741 ucmd.uscsi_cdblen = CDB_GROUP1; in scsi_read_defect_data() 1786 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_repair() 2162 ucmd.uscsi_cdblen = CDB_GROUP0; in uscsi_mode_sense() 2394 ucmd.uscsi_cdblen = CDB_GROUP0; in uscsi_mode_select() [all …]
|
H A D | menu_scsi.c | 567 ucmd.uscsi_cdblen = CDB_GROUP0; in do_format() 928 ucmd.uscsi_cdblen = CDB_GROUP0; in default_all_pages()
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 713 ucmd->uscsi_cdblen); in scsi_printerr() 1177 ucmd.uscsi_cdblen = CDB_GROUP0; in uscsi_request_sense() 1227 ucmd.uscsi_cdblen = CDB_GROUP0; in uscsi_mode_sense() 1367 ucmd.uscsi_cdblen = CDB_GROUP1; in uscsi_mode_sense_10() 1516 ucmd.uscsi_cdblen = CDB_GROUP0; in uscsi_mode_select() 1588 ucmd.uscsi_cdblen = CDB_GROUP1; in uscsi_mode_select_10() 1631 ucmd.uscsi_cdblen = CDB_GROUP1; in uscsi_log_sense()
|
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/ |
H A D | uscsi.c | 153 cmd.uscsi_cdblen = libscsi_action_get_cdblen(ap); in uscsi_exec() 154 if (cmd.uscsi_cdblen == 0) in uscsi_exec()
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_sen.c | 138 lp->uscsi_cdblen = sizeof (cdb); in sen_rdstat() 352 lp->uscsi_cdblen = sizeof (cdb); in sen_set_objstat() 437 lp->uscsi_cdblen = sizeof (cdb); in sen_set_objstat()
|
H A D | ses_safte.c | 121 lp->uscsi_cdblen = sizeof (cdb); in _NOTE() 252 lp->uscsi_cdblen = sizeof (cdb0); in safte_init_enc() 266 lp->uscsi_cdblen = sizeof (cdb); in safte_init_enc() 356 lp->uscsi_cdblen = sizeof (cdb); in safte_rdstat() 1059 lp->uscsi_cdblen = sizeof (cdb); in wrbuf16() 1113 lp->uscsi_cdblen = sizeof (cdb); in wrslot_stat() 1153 lp->uscsi_cdblen = sizeof (cdb); in perf_slotop()
|
H A D | ses.c | 920 (size_t)(uscmd->uscsi_cdblen)); in ses_uscsi_cmd() 931 if (uscmd->uscsi_cdblen == CDB_GROUP0) { in ses_uscsi_cmd() 1062 scmd->uscsi_cdblen, stat_size, 0, flags, in ses_get_pkt() 1066 scmd->uscsi_cdblen, stat_size, 0, flags, in ses_get_pkt() 1072 bcopy(scmd->uscsi_cdb, pkt->pkt_cdbp, (size_t)scmd->uscsi_cdblen); in ses_get_pkt() 1649 uc.uscsi_cdblen = CDB_GROUP0; in ses_get_vpd_page()
|
H A D | sgen.c | 1251 (union scsi_cdb *)uscmd->uscsi_cdb, uscmd->uscsi_cdblen); in sgen_uscsi_cmd() 1471 ucmd->uscsi_cdblen, /* cmdlen */ in sgen_make_uscsi_cmd() 1493 bcopy(ucmd->uscsi_cdb, pkt->pkt_cdbp, ucmd->uscsi_cdblen); in sgen_make_uscsi_cmd() 1494 if (ucmd->uscsi_cdblen >= CDB_GROUP0) { in sgen_make_uscsi_cmd() 1956 scmd.uscsi_cdblen = CDB_GROUP0; in sgen_tur()
|
H A D | ses_ses.c | 247 lp->uscsi_cdblen = sizeof (cdb); in ses_getconfig() 484 lp->uscsi_cdblen = sizeof (cdb); in ses_getputstat() 521 lp->uscsi_cdblen = sizeof (cdb); in ses_getputstat()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 379 ucmd->uscsi_cdblen, HEX_ONLY, msg_string); in scsi_printerr() 426 for (i = 0; i < (int)command->uscsi_cdblen; i++) { in issue_uscsi_cmd() 431 command->uscsi_cdblen, in issue_uscsi_cmd() 636 ucmd.uscsi_cdblen = CDB_GROUP1; in scsi_mode_sense_cmd() 672 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_release() 699 ucmd.uscsi_cdblen = CDB_GROUP0; in scsi_reserve()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 661 if (ucmd->uscsi_cdblen > MAX_CDB_LEN) { in _m_uscsi_cmd() 704 requscsi_cmd.uscsi_cdblen = ucmd->uscsi_cdblen; in _m_uscsi_cmd() 716 bcopy(ucmd->uscsi_cdb, requscsi_cmd.uscsi_cdb, ucmd->uscsi_cdblen); in _m_uscsi_cmd()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiReportLUNs.c | 49 ucmd_buf.uscsi_cdblen = CDB_GROUP5; in SendScsiReportLUNs()
|
H A D | Sun_sasScsiReadCapacity.c | 49 ucmd_buf.uscsi_cdblen = CDB_GROUP1; in SendScsiReadCapacity()
|
H A D | Sun_sasScsiInquiry.c | 55 ucmd_buf.uscsi_cdblen = CDB_GROUP0; in SendScsiInquiry()
|
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 361 ucmd.uscsi_cdblen = CDB_GROUP0;
|