Searched refs:senselen (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi.c | 155 int senselen = sizeof (struct scsi_extended_sense); in scsi_mode_select() local 179 &headers->ms_hdr.g0, &sense, &senselen); in scsi_mode_select() 183 &headers->ms_hdr.g0, &sense, &senselen); in scsi_mode_select() 192 &headers->ms_hdr.g1, &sense, &senselen); in scsi_mode_select() 196 &headers->ms_hdr.g1, &sense, &senselen); in scsi_mode_select() 212 int senselen = sizeof (struct scsi_extended_sense); in scsi_mode_sense() local 226 &sense, &senselen); in scsi_mode_sense() 230 &senselen); in scsi_mode_sense() 235 &sense, &senselen); in scsi_mode_sense() 239 &sense, &senselen); in scsi_mode_sense() [all …]
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_io.c | 442 size_t senselen; in iscsi_cmd_rsp_cmd_status() local 483 senselen = ((data[0] << 8) | data[1]) & in iscsi_cmd_rsp_cmd_status() 491 senselen); in iscsi_cmd_rsp_cmd_status() 494 if ((senselen + 2) > dlength) { in iscsi_cmd_rsp_cmd_status() 495 senselen = dlength - 2; in iscsi_cmd_rsp_cmd_status() 503 senselen = 0; in iscsi_cmd_rsp_cmd_status() 529 if (senselen == 0) { in iscsi_cmd_rsp_cmd_status() 533 } else if (senselen < statuslen) { in iscsi_cmd_rsp_cmd_status() 535 arqstat->sts_rqpkt_resid = statuslen - senselen; in iscsi_cmd_rsp_cmd_status() 554 senselen_to_copy = min(senselen, sensebuf_len); in iscsi_cmd_rsp_cmd_status() [all …]
|
/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 2621 uint_t senselen; in ata_start_arq() local 2631 senselen = ata_pktp->ap_statuslen - SIZEOF_ARQ_HEADER; in ata_start_arq() 2632 ASSERT(senselen > 0); in ata_start_arq() 2644 ata_ctlp->ac_arq_cdb[4] = (uchar_t)senselen; in ata_start_arq() 2649 arq_pktp->ap_resid = senselen; in ata_start_arq() 2654 bytes = min(senselen, ATAPI_MAX_BYTES_PER_DRQ); in ata_start_arq()
|