/illumos-gate/usr/src/uts/common/io/ |
H A D | emul64_bsd.c | 364 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; 432 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; 530 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; 566 union scsi_cdb *cdb = (union scsi_cdb *)pkt->pkt_cdbp; 629 union scsi_cdb *cdb = (union scsi_cdb *)pk [all...] |
/illumos-gate/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; 571 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 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 cd [all...] |
H A D | menu_scsi.c | 541 union scsi_cdb cdb; 595 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 945 union scsi_cdb cdb; 960 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb));
|
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | commands.h | 59 #define SCSI_CDB_SIZE CDB_GROUP4 /* sizeof (union scsi_cdb) */ 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 *)(pkt [all...] |
/illumos-gate/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))
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 1169 union scsi_cdb cdb; 1174 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); 1206 union scsi_cdb cdb; 1223 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); 1328 union scsi_cdb cdb; 1343 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 1450 union scsi_cdb cdb; 1492 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); 1519 union scsi_cdb cdb; 1564 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); [all...] |
/illumos-gate/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; 1312 union scsi_cdb cdb; 1374 fill_command_g1(struct uscsi_cmd *cmd, union scsi_cdb *cdb, 1390 fill_general_page_cdb_g1(union scsi_cdb *cdb, int command, int lun, 1393 bzero((caddr_t)cdb, sizeof (union scsi_cdb)); 1401 fill_mode_page_cdb(union scsi_cdb *cdb, int page) 1404 bzero((caddr_t)cdb, sizeof (union scsi_cdb)); [all...] |
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_init.c | 54 read_scsi_page(scsi_link_t *slink, union scsi_cdb *cdb, 104 union scsi_cdb cdb; 106 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); 130 return (read_scsi_page(slink, (union scsi_cdb *)&cmd, CDB_GROUP0,
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_transport.c | 56 (((cdb)[scsi_cdb_size[GETGROUP((union scsi_cdb *)(cdb))] - 1] \
|
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, 308 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, 318 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, 325 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp,
|
/illumos-gate/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 }))
|
/illumos-gate/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))
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiReportLUNs.c | 39 union scsi_cdb cdb;
|
H A D | Sun_sasScsiInquiry.c | 39 union scsi_cdb cdb;
|
H A D | Sun_sasScsiReadCapacity.c | 39 union scsi_cdb cdb;
|
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 349 union scsi_cdb cdb; 356 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb));
|
/illumos-gate/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, 456 (void) scsi_setup_cdb((union scsi_cdb *)(uintptr_t)pkt->pkt_cdbp,
|
/illumos-gate/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-> 374 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, 611 union scsi_cdb *cdbp = (union scsi_cdb *)pkt->pkt_cdbp; 1128 (void) scsi_setup_cdb((union scsi_cdb *)inq_pkt->pkt_cdbp, 1232 (void) scsi_setup_cdb((union scsi_cdb *)rq_pkt-> 2185 (void) scsi_setup_cdb((union scsi_cdb *)inq_pkt->pkt_cdbp,
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 337 union scsi_cdb cdb; 514 union scsi_cdb cdb; 520 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); 979 union scsi_cdb cdb; 988 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); 1577 union scsi_cdb cdb; 1585 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); 1638 union scsi_cdb cdb; 1646 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); 1826 union scsi_cdb cd [all...] |
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 222 union scsi_cdb cdb; 229 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb));
|
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | ses.h | 195 _NOTE(SCHEME_PROTECTS_DATA("unique per pkt", scsi_pkt buf uio scsi_cdb))
|
/illumos-gate/usr/src/uts/sun/sys/dada/targets/ |
H A D | daddef.h | 56 #define CDBP(pkt) ((union scsi_cdb *)(pkt)->pkt_cdbp)
|
/illumos-gate/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, 1251 (union scsi_cdb *)uscmd->uscsi_cdb, uscmd->uscsi_cdblen); 2051 union scsi_cdb *cdb, int cdblen)
|
/illumos-gate/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 in struct:cmd_entry 111 uint8_t scsi_cdb[MAX_CMDSZ]; /* SCSI command bytes. */ member in struct:cmd7_24xx_entry 152 uint8_t scsi_cdb[MAX_CMDSZ]; member in struct:fcp_cmnd 206 uint8_t scsi_cdb[MAX_CMDSZ]; /* SCSI command words. */ member in struct:cmd_3_entry 236 uint8_t scsi_cdb[MAX_CMDSZ]; /* SCSI command words. */ member in struct:cmd_chaining_entry
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 2248 pkt->cmd24.scsi_cdb, scsi_req.cdb_len, 2252 ql_chg_endian((uint8_t *)&pkt->cmd24.scsi_cdb 2290 pkt->cmd3.scsi_cdb[cnt] = scsi_req.cdbp[cnt]; 2315 pkt->cmd.scsi_cdb[cnt] = scsi_req.cdbp[cnt]; 4069 pkt->cmd24.scsi_cdb[0] = SCMD_REPORT_LUNS; 4070 pkt->cmd24.scsi_cdb[6] = 4072 pkt->cmd24.scsi_cdb[7] = 4074 pkt->cmd24.scsi_cdb[8] = 4076 pkt->cmd24.scsi_cdb[9] = 4079 ql_chg_endian((uint8_t *)&pkt->cmd24.scsi_cdb [all...] |