Home
last modified time | relevance | path

Searched refs:uscsi_rqbuf (Results 1 – 25 of 37) sorted by relevance

12

/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dio.c109 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_persistent_reserve_in_cmd()
143 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_send_diag_cmd()
183 ucmd.uscsi_rqbuf = (caddr_t)&sense; in rec_diag_cmd()
250 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_writebuffer_cmd()
284 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_readbuffer_cmd()
310 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_inquiry_cmd()
355 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_log_sense_cmd()
390 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_mode_select_cmd()
437 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_mode_sense_cmd()
474 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_read_capacity_cmd()
[all …]
H A Dcmd.c210 if ((command->uscsi_rqbuf != NULL) && in cmd()
213 rqbuf = (struct scsi_extended_sense *)command->uscsi_rqbuf; in cmd()
250 (struct scsi_extended_sense *)command->uscsi_rqbuf, in cmd()
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Duscsi.h53 caddr_t uscsi_rqbuf; /* request sense buffer */ member
70 caddr32_t uscsi_rqbuf; /* request sense buffer */ member
86 ucmd->uscsi_rqbuf = (caddr_t)(uintptr_t)u32->uscsi_rqbuf; \
102 u32->uscsi_rqbuf = (caddr32_t)(uintptr_t)ucmd->uscsi_rqbuf; \
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c2157 if (uscmd->uscsi_rqbuf != NULL) in scsi_uscsi_copyin()
2158 kmem_free(uscmd->uscsi_rqbuf, uscmd->uscsi_rqlen); in scsi_uscsi_copyin()
2200 uicmd->uic_rqbuf = uscmd->uscsi_rqbuf; in scsi_uscsi_copyin()
2211 uscmd->uscsi_rqbuf = NULL; in scsi_uscsi_copyin()
2240 (uscmd->uscsi_rqlen == 0 || uscmd->uscsi_rqbuf == NULL)) { in scsi_uscsi_copyin()
2300 uscmd->uscsi_rqbuf = kmem_zalloc(SENSE_LENGTH, in scsi_uscsi_copyin()
2304 uscmd->uscsi_rqbuf = kmem_zalloc(MAX_SENSE_LENGTH, in scsi_uscsi_copyin()
2309 uscmd->uscsi_rqbuf = NULL; in scsi_uscsi_copyin()
2320 uscmd->uscsi_rqbuf = NULL; in scsi_uscsi_copyin()
2612 (uscmd->uscsi_rqbuf != NULL)) { in scsi_uscsi_copyout()
[all …]
/titanic_41/usr/src/cmd/smserverd/
H A Dsmediad.c349 ucmd.uscsi_rqbuf = rq_data; in get_sector_size()
529 ucmd.uscsi_rqbuf = rq_data; in get_device_type_scsi()
570 ucmd.uscsi_rqbuf = rq_data; in get_media_capacity()
641 ucmd.uscsi_rqbuf = rq_data; in scsi_zip_format()
745 ucmd.uscsi_rqbuf = rq_data; in scsi_zip_format()
825 ucmd.uscsi_rqbuf = rq_data; in scsi_ls120_format()
888 ucmd.uscsi_rqbuf = rq_data; in scsi_format()
963 ucmd.uscsi_rqbuf = rq_data; in scsi_format()
999 ucmd.uscsi_rqbuf = rq_data; in scsi_media_status()
1049 ucmd.uscsi_rqbuf = rq_data; in scsi_zip_media_status()
[all …]
H A Dsmserver.h229 char uscsi_rqbuf[MAX_RQ_LEN]; member
/titanic_41/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1089 if (ucmd->uscsi_rqbuf == NULL) { in uscsi_cmd()
1090 ucmd->uscsi_rqbuf = rqbuf; in uscsi_cmd()
1094 if (ucmd->uscsi_rqbuf) in uscsi_cmd()
1098 if (ucmd->uscsi_rqbuf != NULL && ucmd->uscsi_rqlen > 0) in uscsi_cmd()
1099 (void) memset(ucmd->uscsi_rqbuf, 0, ucmd->uscsi_rqlen); in uscsi_cmd()
1126 rq = (struct scsi_extended_sense *)ucmd->uscsi_rqbuf; in uscsi_cmd()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dses_sen.c140 lp->uscsi_rqbuf = rqbuf; in sen_rdstat()
354 lp->uscsi_rqbuf = rqbuf; in sen_set_objstat()
439 lp->uscsi_rqbuf = rqbuf; in sen_set_objstat()
H A Dses_safte.c124 lp->uscsi_rqbuf = rqbuf; in _NOTE()
255 lp->uscsi_rqbuf = rqbuf; in safte_init_enc()
269 lp->uscsi_rqbuf = rqbuf; in safte_init_enc()
358 lp->uscsi_rqbuf = rqbuf; in safte_rdstat()
1061 lp->uscsi_rqbuf = rqbuf; in wrbuf16()
1115 lp->uscsi_rqbuf = rqbuf; in wrslot_stat()
1155 lp->uscsi_rqbuf = rqbuf; in perf_slotop()
H A Dses.c879 scsi_sname(lp->uscsi_rqbuf[2] & 0xf), in ses_runcmd()
880 lp->uscsi_rqbuf[12] & 0xff, in ses_runcmd()
881 lp->uscsi_rqbuf[13] & 0xff); in ses_runcmd()
990 if (uscmd->uscsi_rqbuf != NULL) { in ses_uscsi_cmd()
991 bcopy(&ssc->ses_srqsbuf, uscmd->uscsi_rqbuf, in ses_uscsi_cmd()
H A Dses_ses.c249 lp->uscsi_rqbuf = storage; in ses_getconfig()
486 lp->uscsi_rqbuf = rqbuf; in ses_getputstat()
523 lp->uscsi_rqbuf = rqbuf; in ses_getputstat()
H A Dsgen.c1257 sg_state->sgen_rqs_sen = uscmd->uscsi_rqbuf; in sgen_uscsi_cmd()
1276 if (uscmd->uscsi_rqbuf != NULL) { in sgen_uscsi_cmd()
1279 (uchar_t *)uscmd->uscsi_rqbuf); in sgen_uscsi_cmd()
H A Dsd.c5201 sensep = (uint8_t *)ssc->ssc_uscsi_cmd->uscsi_rqbuf; in sd_get_physical_geometry()
9695 sensep = (uint8_t *)ssc->ssc_uscsi_cmd->uscsi_rqbuf; in sd_get_write_cache_enabled()
12165 sensep = (uint8_t *)ucmdp->uscsi_rqbuf;
12296 ssc->ssc_uscsi_cmd->uscsi_rqbuf != NULL) {
14307 (uscmd->uscsi_rqlen != 0) && (uscmd->uscsi_rqbuf != NULL)) {
14315 bcopy(xp->xb_sense_data, uscmd->uscsi_rqbuf,
14318 bcopy(xp->xb_sense_data, uscmd->uscsi_rqbuf,
19983 ucmd_buf.uscsi_rqbuf = (caddr_t)&sense_buf;
20087 ucmd_buf.uscsi_rqbuf = (caddr_t)&sense_buf;
20303 ucmd_buf.uscsi_rqbuf = (caddr_t)&sense_buf;
[all …]
/titanic_41/usr/src/cmd/luxadm/
H A Dlux_util.c481 if ((command->uscsi_rqbuf != NULL) && in issue_uscsi_cmd()
484 rqbuf = (struct scsi_extended_sense *)command->uscsi_rqbuf; in issue_uscsi_cmd()
521 (struct scsi_extended_sense *)command->uscsi_rqbuf, in issue_uscsi_cmd()
642 ucmd.uscsi_rqbuf = (caddr_t)&sense; in scsi_mode_sense_cmd()
678 ucmd.uscsi_rqbuf = (caddr_t)&sense; in scsi_release()
705 ucmd.uscsi_rqbuf = (caddr_t)&sense; in scsi_reserve()
/titanic_41/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c692 (ucmd->uscsi_rqbuf == NULL)) { in _m_uscsi_cmd()
752 (ucmd->uscsi_rqbuf != NULL)) { in _m_uscsi_cmd()
753 bcopy(retuscsi_cmd->uscsi_rqbuf, in _m_uscsi_cmd()
754 ucmd->uscsi_rqbuf, ucmd->uscsi_rqlen); in _m_uscsi_cmd()
/titanic_41/usr/src/cmd/cdrw/
H A Dtransport.c66 scmd->uscsi_rqbuf = rqbuf; in uscsi()
/titanic_41/usr/src/lib/scsi/plugins/scsi/engines/uscsi/
H A Duscsi.c167 if (libscsi_action_get_sense(ap, (uint8_t **)&cmd.uscsi_rqbuf, in uscsi_exec()
/titanic_41/usr/src/lib/sun_sas/common/
H A DSun_sasScsiReportLUNs.c52 ucmd_buf.uscsi_rqbuf = (caddr_t)senseBuffer; in SendScsiReportLUNs()
H A DSun_sasScsiReadCapacity.c52 ucmd_buf.uscsi_rqbuf = (caddr_t)senseBuffer; in SendScsiReadCapacity()
H A DSun_sasScsiInquiry.c55 ucmd_buf.uscsi_rqbuf = (caddr_t)senseBuffer; in SendScsiInquiry()
/titanic_41/usr/src/cmd/format/
H A Dctlr_scsi.c1774 ucmd.uscsi_rqbuf = rqbuf;
1777 rq = (struct scsi_extended_sense *)ucmd.uscsi_rqbuf;
2071 if (ucmd->uscsi_rqbuf == NULL) {
2072 ucmd->uscsi_rqbuf = rqbuf;
2132 rq = (struct scsi_extended_sense *)ucmd->uscsi_rqbuf;
3441 ucmd.uscsi_rqbuf = rqbuf; in check_support_for_defects()
3444 rq = (struct scsi_extended_sense *)ucmd.uscsi_rqbuf; in check_support_for_defects()
3526 ucmd.uscsi_rqbuf = (caddr_t)&sense; in test_until_ready()
/titanic_41/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c93 uscsi->uscsi_rqbuf = (char *)sense; in set_scsi_pt_sense()
/titanic_41/usr/src/cmd/hal/utils/
H A Dcdutils.c61 scmd->uscsi_rqbuf = rqbuf; in uscsi()
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c76 uscsi_cmd.uscsi_rqbuf = data; in read_scsi_page()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Ddrive.c1455 if (ucmd.uscsi_rqbuf == NULL) { in uscsi_mode_sense()
1456 ucmd.uscsi_rqbuf = rqbuf; in uscsi_mode_sense()

12