/titanic_50/usr/src/uts/common/io/ |
H A D | emul64_bsd.c | 364 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_scsi_inquiry() 432 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_scsi_io() 530 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_scsi_log_sense() 566 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_scsi_mode_sense() 629 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_mode_sense_dad_mode_geometry() 699 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_mode_sense_dad_mode_err_recov() 752 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_mode_sense_modepage_disco_reco() 805 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_mode_sense_dad_mode_format() 866 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; in bsd_mode_sense_dad_mode_cache()
|
/titanic_50/usr/src/uts/common/sys/scsi/impl/ |
H A D | commands.h | 61 union scsi_cdb { /* scsi command description block */ union 523 ((union scsi_cdb *)(pktp)->pkt_cdbp)->scc_cmd = (cmd), \ 524 ((union scsi_cdb *)(pktp)->pkt_cdbp)->scc_lun = \ 529 FORMG0ADDR(((union scsi_cdb *)(pktp)->pkt_cdbp), (addr)), \ 530 FORMG0COUNT(((union scsi_cdb *)(pktp)->pkt_cdbp), (cnt)) 534 FORMG0COUNT_S(((union scsi_cdb *)(pktp)->pkt_cdbp), (cnt)), \ 535 ((union scsi_cdb *)(pktp)->pkt_cdbp)->t_code = (fixbit) 539 FORMG1ADDR(((union scsi_cdb *)(pktp)->pkt_cdbp), (addr)), \ 540 FORMG1COUNT(((union scsi_cdb *)(pktp)->pkt_cdbp), (cnt)) 544 FORMG5ADDR(((union scsi_cdb *)(pktp)->pkt_cdbp), (addr)), \ [all …]
|
/titanic_50/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 209 union scsi_cdb cdb; 237 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 336 union scsi_cdb cdb; 439 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 543 union scsi_cdb cdb; in scsi_raw_format() 571 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); in scsi_raw_format() 1745 union scsi_cdb cdb; 1765 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 1811 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 1852 union scsi_cdb cdb; [all …]
|
H A D | menu_scsi.c | 541 union scsi_cdb cdb; in do_format() 595 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); in do_format() 945 union scsi_cdb cdb; in default_all_pages() 960 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); in default_all_pages()
|
/titanic_50/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 1169 union scsi_cdb cdb; in uscsi_request_sense() 1174 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); in uscsi_request_sense() 1206 union scsi_cdb cdb; in uscsi_mode_sense() 1223 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); in uscsi_mode_sense() 1328 union scsi_cdb cdb; in uscsi_mode_sense_10() 1343 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); in uscsi_mode_sense_10() 1450 union scsi_cdb cdb; in uscsi_mode_select() 1492 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); in uscsi_mode_select() 1519 union scsi_cdb cdb; in uscsi_mode_select_10() 1564 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); in uscsi_mode_select_10() [all …]
|
/titanic_50/usr/src/uts/common/sys/usb/scsa2usb/ |
H A D | scsa2usb.h | 492 ((union scsi_cdb *)(pktp)->pkt_cdbp)->scc_cmd = (cmd), \ 493 ((union scsi_cdb *)(pktp)->pkt_cdbp)->scc_lun = \ 498 FORMG0ADDR(((union scsi_cdb *)(pktp)->pkt_cdbp), (addr)), \ 499 FORMG0COUNT(((union scsi_cdb *)(pktp)->pkt_cdbp), (cnt)) 549 scsi_cdb scsi_status scsi_pkt buf scsa2usb_cmd scsi_arq_status))
|
/titanic_50/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 331 union scsi_cdb *cdb, caddr_t buff, int blen); 332 static void fill_general_page_cdb_g1(union scsi_cdb *cdb, 334 static void fill_mode_page_cdb(union scsi_cdb *cdb, int page); 1245 union scsi_cdb cdb; in get_cdrom_drvtype() 1312 union scsi_cdb cdb; in check_atapi() 1374 fill_command_g1(struct uscsi_cmd *cmd, union scsi_cdb *cdb, in fill_command_g1() 1390 fill_general_page_cdb_g1(union scsi_cdb *cdb, int command, int lun, in fill_general_page_cdb_g1() 1393 bzero((caddr_t)cdb, sizeof (union scsi_cdb)); in fill_general_page_cdb_g1() 1401 fill_mode_page_cdb(union scsi_cdb *cdb, int page) in fill_mode_page_cdb() 1404 bzero((caddr_t)cdb, sizeof (union scsi_cdb)); in fill_mode_page_cdb() [all …]
|
/titanic_50/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_init.c | 54 read_scsi_page(scsi_link_t *slink, union scsi_cdb *cdb, in read_scsi_page() 104 union scsi_cdb cdb; in read_inquiry_page() 106 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); in read_inquiry_page() 130 return (read_scsi_page(slink, (union scsi_cdb *)&cmd, CDB_GROUP0, in read_data_page()
|
/titanic_50/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | fasvar.h | 499 scsi_cdb scsi_status scsi_pkt buf)) 907 ((union scsi_cdb *)(pktp)->pkt_cdbp)->scc_cmd = (cmd), \ 908 ((union scsi_cdb *)(pktp)->pkt_cdbp)->scc_lun = \ 913 FORMG0ADDR(((union scsi_cdb *)(pktp)->pkt_cdbp), (addr)), \ 914 FORMG0COUNT(((union scsi_cdb *)(pktp)->pkt_cdbp), (cnt))
|
/titanic_50/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_watch.c | 68 ((union scsi_cdb *)(pkt)->pkt_cdbp)->scc_lun = \ 283 (void) scsi_setup_cdb((union scsi_cdb *)rqpkt->pkt_cdbp, in scsi_watch_request_submit_impl() 308 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, in scsi_watch_request_submit_impl() 318 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, in scsi_watch_request_submit_impl() 325 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, in scsi_watch_request_submit_impl()
|
H A D | scsi_transport.c | 56 (((cdb)[scsi_cdb_size[GETGROUP((union scsi_cdb *)(cdb))] - 1] \
|
/titanic_50/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 45 ((union scsi_cdb *)(pkt)->pkt_cdbp)->scc_lun = \ 319 (void) scsi_setup_cdb((union scsi_cdb *)rq_pkt-> in scsi_slave_do_rqsense() 374 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, in scsi_slave() 611 union scsi_cdb *cdbp = (union scsi_cdb *)pkt->pkt_cdbp; in scsi_test_ereport_post() 1128 (void) scsi_setup_cdb((union scsi_cdb *)inq_pkt->pkt_cdbp, in scsi_hba_probe_pi() 1232 (void) scsi_setup_cdb((union scsi_cdb *)rq_pkt-> in scsi_hba_probe_pi() 2185 (void) scsi_setup_cdb((union scsi_cdb *)inq_pkt->pkt_cdbp, in send_scsi_INQUIRY()
|
/titanic_50/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 349 union scsi_cdb cdb; 356 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb));
|
/titanic_50/usr/src/cmd/smserverd/ |
H A D | smediad.c | 337 union scsi_cdb cdb; in get_sector_size() 514 union scsi_cdb cdb; in get_device_type_scsi() 520 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); in get_device_type_scsi() 979 union scsi_cdb cdb; in scsi_media_status() 988 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); in scsi_media_status() 1577 union scsi_cdb cdb; in raw_read() 1585 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); in raw_read() 1638 union scsi_cdb cdb; in raw_write() 1646 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); in raw_write() 1826 union scsi_cdb cdb; in reassign_block() [all …]
|
/titanic_50/usr/src/uts/common/sys/1394/targets/scsa1394/ |
H A D | cmd.h | 121 scsi_pkt scsi_inquiry scsi_extended_sense scsi_cdb scsi_arq_status }))
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | asym_sun.c | 274 (void) scsi_setup_cdb((union scsi_cdb *)(uintptr_t)pkt->pkt_cdbp, in purple_path_activate() 456 (void) scsi_setup_cdb((union scsi_cdb *)(uintptr_t)pkt->pkt_cdbp, in purple_path_get_opinfo()
|
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_iocb.h | 72 uint8_t scsi_cdb[MAX_CMDSZ]; /* SCSI command words. */ member 111 uint8_t scsi_cdb[MAX_CMDSZ]; /* SCSI command bytes. */ member 152 uint8_t scsi_cdb[MAX_CMDSZ]; member 206 uint8_t scsi_cdb[MAX_CMDSZ]; /* SCSI command words. */ member 236 uint8_t scsi_cdb[MAX_CMDSZ]; /* SCSI command words. */ member
|
/titanic_50/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 222 union scsi_cdb cdb; in get_disk_properties() 229 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); in get_disk_properties()
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 2248 pkt->cmd24.scsi_cdb, scsi_req.cdb_len, in ql_scsi_passthru() 2252 ql_chg_endian((uint8_t *)&pkt->cmd24.scsi_cdb in ql_scsi_passthru() 2290 pkt->cmd3.scsi_cdb[cnt] = scsi_req.cdbp[cnt]; in ql_scsi_passthru() 2315 pkt->cmd.scsi_cdb[cnt] = scsi_req.cdbp[cnt]; in ql_scsi_passthru() 4069 pkt->cmd24.scsi_cdb[0] = SCMD_REPORT_LUNS; in ql_report_lun() 4070 pkt->cmd24.scsi_cdb[6] = in ql_report_lun() 4072 pkt->cmd24.scsi_cdb[7] = in ql_report_lun() 4074 pkt->cmd24.scsi_cdb[8] = in ql_report_lun() 4076 pkt->cmd24.scsi_cdb[9] = in ql_report_lun() 4079 ql_chg_endian((uint8_t *)&pkt->cmd24.scsi_cdb in ql_report_lun() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 97 ((union scsi_cdb *)(pkt)->pkt_cdbp)->scc_lun = \ 156 static void sgen_dump_cdb(sgen_state_t *, const char *, union scsi_cdb *, int); 764 (void) scsi_setup_cdb((union scsi_cdb *)rqpkt->pkt_cdbp, in sgen_setup_sense() 1251 (union scsi_cdb *)uscmd->uscsi_cdb, uscmd->uscsi_cdblen); in sgen_uscsi_cmd() 2051 union scsi_cdb *cdb, int cdblen) in sgen_dump_cdb()
|
/titanic_50/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiReportLUNs.c | 39 union scsi_cdb cdb; in SendScsiReportLUNs()
|
H A D | Sun_sasScsiReadCapacity.c | 39 union scsi_cdb cdb; in SendScsiReadCapacity()
|
/titanic_50/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 1465 ((union scsi_cdb *)(pkt)->pkt_cdbp)->scc_cmd = (cmd), \ 1466 ((union scsi_cdb *)(pkt)->pkt_cdbp)->scc_lun = \ 1471 FORMG0ADDR(((union scsi_cdb *)(pkt)->pkt_cdbp), (addr)), \ 1472 FORMG0COUNT(((union scsi_cdb *)(pkt)->pkt_cdbp), (cnt))
|
/titanic_50/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 703 scsi_cdb 713 _NOTE(SCHEME_PROTECTS_DATA("unique per pkt", scsi_status scsi_cdb)) 1165 SD_FILL_SCSI1_LUN_CDB((lunp), (union scsi_cdb *)(pktp)->pkt_cdbp) 1270 (((union scsi_cdb *)((pktp)->pkt_cdbp))->cdb_un.cmd)
|
/titanic_50/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 140 static void amr_mode_sense(union scsi_cdb *cdbp, struct buf *bp, 1498 union scsi_cdb *cdbp = (union scsi_cdb *)pkt->pkt_cdbp; in amr_tran_start() 1988 union scsi_cdb *cdbp = (union scsi_cdb *)pkt->pkt_cdbp; in amr_rw_command() 2006 amr_mode_sense(union scsi_cdb *cdbp, struct buf *bp, unsigned int capacity) in amr_mode_sense()
|