Home
last modified time | relevance | path

Searched refs:cdb_len (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h318 uint64_t cdb_len; /* CDB data length */ member
338 P2ROUNDUP((vscsi)->cdb_len, sizeof (uint64_t))))
342 P2ROUNDUP((vscsi)->cdb_len, sizeof (uint64_t)) + \
347 P2ROUNDUP((vscsi)->cdb_len, sizeof (uint64_t)) + \
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c1070 uint32_t buf_size, cdb_len, numkeys = 0; in sbd_pgr_in_read_keys() local
1075 cdb_len = READ_SCSI16(&task->task_cdb[7], uint16_t); in sbd_pgr_in_read_keys()
1089 cdb_len, buf_size); in sbd_pgr_in_read_keys()
1099 uint32_t cdb_len, buf_len, buf_size = 24; in sbd_pgr_in_read_reservation() local
1103 cdb_len = READ_SCSI16(&task->task_cdb[7], uint16_t); in sbd_pgr_in_read_reservation()
1126 cdb_len, buf_len); in sbd_pgr_in_read_reservation()
1137 uint32_t cdb_len; in sbd_pgr_in_report_capabilities() local
1158 cdb_len = READ_SCSI16(&task->task_cdb[7], uint16_t); in sbd_pgr_in_report_capabilities()
1160 cdb_len, 8); in sbd_pgr_in_report_capabilities()
1177 uint32_t i, buf_size, cdb_len; in sbd_pgr_in_read_full_status() local
[all …]
H A Dsbd_scsi.c1775 uint32_t cdb_len; in sbd_handle_read_capacity() local
1801 cdb_len = READ_SCSI32(&task->task_cdb[10], uint32_t); in sbd_handle_read_capacity()
1817 cdb_len, 32); in sbd_handle_read_capacity()
/titanic_41/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_ioctl.h117 uint8_t cdb_len; /* SCSI CDB length */ member
H A Dcpqary3_scsi.c115 cmdlistp->Request.CDBLen = cpqary3_cmdpvtp->pvt_pkt->cdb_len; in cpqary3_build_cmdlist()
118 (caddr_t)cmdlistp->Request.CDB, cpqary3_cmdpvtp->pvt_pkt->cdb_len); in cpqary3_build_cmdlist()
H A Dcpqary3_ioctl.c728 cmdlist->Request.CDBLen = scsi_pass->cdb_len; in cpqary3_ioctl_fil_scsi()
753 scsi_pass->cdb_len); in cpqary3_ioctl_fil_scsi()
H A Dcpqary3.h421 uint32_t cdb_len; member
H A Dcpqary3_transport.c262 cpqary3_pktp->cdb_len = cmdlen; in cpqary3_init_pkt()
/titanic_41/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c79 int cdb_len) in set_scsi_pt_cdb() argument
82 uscsi->uscsi_cdblen = cdb_len; in set_scsi_pt_cdb()
/titanic_41/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_tbolt.c2990 U8 cdb_len = *cdb_len_ptr; in mrsas_tbolt_set_pd_lba() local
2994 if (((cdb_len == 12) || (cdb_len == 16)) && in mrsas_tbolt_set_pd_lba()
2996 if (cdb_len == 16) { in mrsas_tbolt_set_pd_lba()
3021 cdb_len = 10; in mrsas_tbolt_set_pd_lba()
3022 } else if ((cdb_len < 16) && (start_blk > 0xffffffff)) { in mrsas_tbolt_set_pd_lba()
3026 switch (cdb_len) { in mrsas_tbolt_set_pd_lba()
3059 cdb_len = 16; in mrsas_tbolt_set_pd_lba()
3060 } else if ((cdb_len == 6) && (start_blk > 0x1fffff)) { in mrsas_tbolt_set_pd_lba()
3074 cdb_len = 10; in mrsas_tbolt_set_pd_lba()
3079 switch (cdb_len) { in mrsas_tbolt_set_pd_lba()
[all …]
H A Dmr_sas.h1316 uint8_t cdb_len; /* 06h */ member
1408 uint8_t cdb_len; /* 06h */ member
H A Dmr_sas.c5285 ddi_put8(acc_handle, &pthru->cdb_len, acmd->cmd_cdblen); in build_cmd()
5463 ddi_put8(acc_handle, &pthru->cdb_len, kpthru->cdb_len); in issue_mfi_pthru()
5473 pthru->cdb_len, DDI_DEV_AUTOINCR); in issue_mfi_pthru()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvdc.c5776 vdc_scsi_alloc(int cdb_len, int sense_len, int datain_len, int dataout_len, in vdc_scsi_alloc() argument
5782 vd_scsi_len += P2ROUNDUP(cdb_len, sizeof (uint64_t)); in vdc_scsi_alloc()
5791 vd_scsi->cdb_len = cdb_len; in vdc_scsi_alloc()
5944 size_t cdb_len, datain_len, dataout_len, sense_len; in vdc_uscsi_cmd() local
5967 cdb_len = uscsi.uscsi_cdblen; in vdc_uscsi_cmd()
5985 vd_scsi = vdc_scsi_alloc(cdb_len, sense_len, datain_len, dataout_len, in vdc_uscsi_cmd()
6016 if (ddi_copyin(uscsi.uscsi_cdb, cdb, cdb_len, mode) != 0) { in vdc_uscsi_cmd()
6120 int cdb_len, sense_len, datain_len, dataout_len; in vdc_scsi_alloc_persistent_in() local
6124 cdb_len = CDB_GROUP1; in vdc_scsi_alloc_persistent_in()
6129 vd_scsi = vdc_scsi_alloc(cdb_len, sense_len, datain_len, dataout_len, in vdc_scsi_alloc_persistent_in()
[all …]
H A Dvds.c2731 vd_scsi_len += P2ROUNDUP(vd_scsi->cdb_len, sizeof (uint64_t)); in vd_scsicmd_in()
2770 uscsi->uscsi_cdblen = vd_scsi->cdb_len; in vd_scsicmd_in()
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c1235 cmd.uscsi_cdblen = request->cdb.cdb_len; in ndmp_execute_cdb()
1238 request->cdb.cdb_val[0] & 0xff, request->cdb.cdb_len, in ndmp_execute_cdb()
1243 if (request->cdb.cdb_len > 12) { in ndmp_execute_cdb()
/titanic_41/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c3961 int cdb_len; in scsa2usb_setup_next_xfer() local
3990 cdb_len = xfer_len/cmd->cmd_blksize; in scsa2usb_setup_next_xfer()
3991 cmd->cmd_cdb[SCSA2USB_READ_CD_LEN_2] = (uchar_t)cdb_len; in scsa2usb_setup_next_xfer()
3993 cmd->cmd_xfercount = cdb_len * cmd->cmd_blksize; in scsa2usb_setup_next_xfer()
4013 cdb_len = xfer_len/blk_size; in scsa2usb_setup_next_xfer()
4014 scsa2usb_fill_up_cdb_len(cmd, cdb_len); in scsa2usb_setup_next_xfer()
4016 cmd->cmd_xfercount = cdb_len * blk_size; in scsa2usb_setup_next_xfer()
/titanic_41/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h675 uint8_t cdb_len; /* 06h */ member
761 uint8_t cdb_len; /* 06h */ member
H A Dmegaraid_sas.c3465 pthru->cdb_len = acmd->cmd_cdblen; in build_cmd()
3614 pthru->cdb_len = kpthru->cdb_len; in issue_mfi_pthru()
3623 bcopy((void *)kpthru->cdb, (void *)pthru->cdb, pthru->cdb_len); in issue_mfi_pthru()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c1999 uint8_t cdb_len; /* Requestor's CDB length */ in ql_scsi_passthru() member
2064 scsi_req.cdb_len = sp_req->CdbLength; in ql_scsi_passthru()
2116 scsi_req.cdb_len = sp_req->CdbLength; in ql_scsi_passthru()
2216 QL_DUMP_9(scsi_req.cdbp, 8, scsi_req.cdb_len); in ql_scsi_passthru()
2248 pkt->cmd24.scsi_cdb, scsi_req.cdb_len, in ql_scsi_passthru()
2289 for (cnt = 0; cnt < scsi_req.cdb_len; cnt++) { in ql_scsi_passthru()
2314 for (cnt = 0; cnt < scsi_req.cdb_len; cnt++) { in ql_scsi_passthru()
/titanic_41/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c3102 int i, cdb_len; in fas_startcmd() local
3184 cdb_len = sp->cmd_actual_cdblen; in fas_startcmd()
3238 cdb_len = 0; in fas_startcmd()
3263 cdb_len = 0; in fas_startcmd()
3284 cdb_len = 0; in fas_startcmd()
3303 for (i = 0; i < cdb_len; i++) { in fas_startcmd()
/titanic_41/usr/src/uts/common/io/sata/adapters/nv_sata/
H A Dnv_sata.c6297 int cdb_len = spkt->satapkt_cmd.satacmd_acdb_len; in nv_start_rqsense_pio() local
6367 (cdb_len >> 1), DDI_DEV_NO_AUTOINCR); in nv_start_rqsense_pio()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dst.c8638 int cdb_len = CDB_GROUP0; /* default */ in st_make_cmd() local
8795 cdb_len = CDB_GROUP4; in st_make_cmd()
8927 cdb_len = CDB_GROUP1; in st_make_cmd()
8954 pkt = scsi_init_pkt(ROUTE, NULL, allocbp, cdb_len, stat_size, in st_make_cmd()