Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/sys/scsi/impl/
H A Dsense.h60 #define SENSE_LENGTH \ macro
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dses_safte.c106 char rqbuf[SENSE_LENGTH], *sdata; in _NOTE()
243 char rqbuf[SENSE_LENGTH], *sdata; in safte_init_enc()
297 char rqbuf[SENSE_LENGTH], *sdata; in safte_rdstat()
1043 char rqbuf[SENSE_LENGTH], *sdata; in wrbuf16()
1087 char rqbuf[SENSE_LENGTH], cdb[CDB_GROUP1], *sdata; in wrslot_stat()
1137 char rqbuf[SENSE_LENGTH], *sdata; in perf_slotop()
H A Dses_sen.c123 char rqbuf[SENSE_LENGTH], *sdata; in sen_rdstat()
330 char rqbuf[SENSE_LENGTH], *sdata; in sen_set_objstat()
H A Dsd.c3545 rqbuf_rw = kmem_zalloc(SENSE_LENGTH, KM_SLEEP); in sd_set_mmc_caps()
3548 SENSE_LENGTH, out_data_rw, SD_CURRENT_FEATURE_LEN, in sd_set_mmc_caps()
3555 kmem_free(rqbuf_rw, SENSE_LENGTH); in sd_set_mmc_caps()
3560 rqbuf_hd = kmem_zalloc(SENSE_LENGTH, KM_SLEEP); in sd_set_mmc_caps()
3563 SENSE_LENGTH, out_data_hd, SD_CURRENT_FEATURE_LEN, in sd_set_mmc_caps()
3580 kmem_free(rqbuf_rw, SENSE_LENGTH); in sd_set_mmc_caps()
3582 kmem_free(rqbuf_hd, SENSE_LENGTH); in sd_set_mmc_caps()
3631 rqbuf = kmem_zalloc(SENSE_LENGTH, KM_SLEEP); in sd_check_for_writable_cd()
3633 rtn = sd_send_scsi_GET_CONFIGURATION(ssc, &com, rqbuf, SENSE_LENGTH, in sd_check_for_writable_cd()
3647 kmem_free(rqbuf, SENSE_LENGTH); in sd_check_for_writable_cd()
[all …]
H A Dses_ses.c250 lp->uscsi_rqlen = SENSE_LENGTH; in ses_getconfig()
447 char rqbuf[SENSE_LENGTH], *sdata; in ses_getputstat()
H A Dses.c1084 if (scmd->uscsi_rqlen > SENSE_LENGTH) { in ses_get_pkt()
1421 if (arq->sts_rqpkt_resid > SENSE_LENGTH) { in ses_decode_sense()
1424 amt = SENSE_LENGTH - arq->sts_rqpkt_resid; in ses_decode_sense()
H A Dsgen.c1456 if (ucmd->uscsi_rqlen > SENSE_LENGTH) { in sgen_make_uscsi_cmd()
1744 if (arqstat->sts_rqpkt_resid > SENSE_LENGTH) { in sgen_handle_autosense()
1747 amt = SENSE_LENGTH - arqstat->sts_rqpkt_resid; in sgen_handle_autosense()
H A Dst.c1175 kmem_free(un->un_uscsi_rqs_buf, SENSE_LENGTH); in st_attach()
1386 kmem_free(un->un_uscsi_rqs_buf, SENSE_LENGTH); in st_detach()
1689 un->un_uscsi_rqs_buf = kmem_alloc(SENSE_LENGTH, KM_SLEEP); in st_doattach()
1805 kmem_free(un->un_uscsi_rqs_buf, SENSE_LENGTH); in st_doattach()
9040 if (ucmd->uscsi_rqlen > SENSE_LENGTH) { in st_make_uscsi_cmd()
9261 st_check_media_time, SENSE_LENGTH, in st_check_media()
9829 bzero(un->un_rqs->pkt_scbp, SENSE_LENGTH); in st_intr()
10547 bcopy(ST_RQSENSE, &arqstat.sts_sensedata, SENSE_LENGTH); in st_handle_sense()
10606 if (arqstat->sts_rqpkt_resid > SENSE_LENGTH) { in st_handle_autosense()
10609 amt = (int)SENSE_LENGTH - arqstat->sts_rqpkt_resid; in st_handle_autosense()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c300 (uint_t)SENSE_LENGTH, B_READ, callback, NULL); in scsi_slave_do_rqsense()
320 pkt_cdbp, SCMD_REQUEST_SENSE, 0, SENSE_LENGTH, 0); in scsi_slave_do_rqsense()
1217 (uint_t)SENSE_LENGTH, B_READ, cb_flag, NULL); in scsi_hba_probe_pi()
1233 pkt_cdbp, SCMD_REQUEST_SENSE, 0, SENSE_LENGTH, 0); in scsi_hba_probe_pi()
/titanic_44/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c1175 scsi_ext_sense_fields(sensep, SENSE_LENGTH, in scsi_generic_errmsg()
2298 if (uicmd->uic_rqlen <= SENSE_LENGTH) { in scsi_uscsi_copyin()
2299 uscmd->uscsi_rqlen = SENSE_LENGTH; in scsi_uscsi_copyin()
2300 uscmd->uscsi_rqbuf = kmem_zalloc(SENSE_LENGTH, in scsi_uscsi_copyin()
H A Dscsi_watch.c284 SCMD_REQUEST_SENSE, 0, SENSE_LENGTH, 0); in scsi_watch_request_submit_impl()
/titanic_44/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c1850 tot_frame_size = sgl_sz + MEGAMFI_FRAME_SIZE + SENSE_LENGTH; in create_mfi_frame_pool()
1883 tot_frame_size - SENSE_LENGTH); in create_mfi_frame_pool()
1886 tot_frame_size - SENSE_LENGTH; in create_mfi_frame_pool()
3388 bzero(cmd->sense, SENSE_LENGTH); in build_cmd()
3389 ldio->sense_len = SENSE_LENGTH; in build_cmd()
3472 bzero(cmd->sense, SENSE_LENGTH); in build_cmd()
3473 pthru->sense_len = SENSE_LENGTH; in build_cmd()
/titanic_44/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h1070 uchar_t xb_sense_data[SENSE_LENGTH];
1415 uchar_t xb_sense_data[SENSE_LENGTH]; /* sense data from RQS cmd */
/titanic_44/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c2902 tot_frame_size = sgl_sz + MRMFI_FRAME_SIZE + SENSE_LENGTH; in create_mfi_frame_pool()
2936 tot_frame_size - SENSE_LENGTH); in create_mfi_frame_pool()
2939 tot_frame_size - SENSE_LENGTH; in create_mfi_frame_pool()
5175 bzero(cmd->sense, SENSE_LENGTH); in build_cmd()
5176 ddi_put8(acc_handle, &ldio->sense_len, SENSE_LENGTH); in build_cmd()
5301 bzero(cmd->sense, SENSE_LENGTH); in build_cmd()
5302 ddi_put8(acc_handle, &pthru->sense_len, SENSE_LENGTH); in build_cmd()
5458 ddi_put8(acc_handle, &pthru->sense_len, SENSE_LENGTH); in issue_mfi_pthru()
5513 uint_t sense_len = SENSE_LENGTH; in issue_mfi_pthru()
5516 if (kpthru->sense_len <= SENSE_LENGTH) { in issue_mfi_pthru()
H A Dmr_sas_tbolt.c189 (max_cmd * sgl_sz) + (max_cmd * SENSE_LENGTH); in create_mpi2_frame_pool()
261 (i * SENSE_LENGTH)); in create_mpi2_frame_pool()
265 (i * SENSE_LENGTH)); in create_mpi2_frame_pool()
1541 bzero(cmd->sense1, SENSE_LENGTH); in mrsas_tbolt_build_cmd()
1864 ddi_put8(acc_handle, &scsi_raid_io->SenseBufferLength, SENSE_LENGTH); in mrsas_tbolt_build_cmd()
/titanic_44/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c4405 SENSE_LENGTH, B_READ, SLEEP_FUNC, NULL)) == NULL) { in scsa2usb_create_arq_pkt()
4417 (char)SCMD_REQUEST_SENSE, 0, (char)SENSE_LENGTH); in scsa2usb_create_arq_pkt()
4423 bzero(bp->b_un.b_addr, SENSE_LENGTH); in scsa2usb_create_arq_pkt()
4473 bcopy(bp->b_un.b_addr, &arqp->sts_sensedata, SENSE_LENGTH); in scsa2usb_complete_arq_pkt()
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c3639 VHCI_FOWATCH_INTERVAL, SENSE_LENGTH, vhci_efo_watch_cb, in vhci_handle_ext_fo()
8325 SENSE_LENGTH, B_READ, NULL, NULL)) == NULL) { in vhci_uscsi_send_sense()
8336 SCMD_REQUEST_SENSE, 0, SENSE_LENGTH, 0); in vhci_uscsi_send_sense()
8439 int rqlen = SENSE_LENGTH - arqstat->sts_rqpkt_resid; in vhci_uscsi_iodone()
8465 int rqlen = SENSE_LENGTH - pkt->pkt_resid; in vhci_uscsi_iodone()
8539 stat_size = SENSE_LENGTH; in vhci_uscsi_iostart()
/titanic_44/usr/src/uts/common/io/aac/
H A Daac.c105 AAC_SENSE_DATA_DESCR_LEN - SENSE_LENGTH)
2003 if (sense_data_size > SENSE_LENGTH) in aac_pd_complete()
2004 sense_data_size = SENSE_LENGTH; in aac_pd_complete()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_io.c2975 if (ucmdp->uscsi_rqlen > SENSE_LENGTH) { in iscsi_handle_passthru()
/titanic_44/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c6967 SENSE_LENGTH, B_READ, SLEEP_FUNC, NULL); in fas_create_arq_pkt()
6977 (char)SCMD_REQUEST_SENSE, 0, (char)SENSE_LENGTH); in fas_create_arq_pkt()
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c8981 arq->sts_rqpkt_resid = SENSE_LENGTH - rqlen; in fcp_complete_pkt()
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c3728 cmd->cmd_rqslen = SENSE_LENGTH; in mptsas_scsi_init_pkt()