Home
last modified time | relevance | path

Searched refs:SUN_INQSIZE (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dinquiry.h47 #define SUN_INQSIZE (sizeof (struct scsi_inquiry)) macro
/titanic_41/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c1100 kmem_alloc(SUN_INQSIZE, ((callback == SLEEP_FUNC) ? in scsi_hba_probe_pi()
1113 (struct buf *)NULL, SUN_INQSIZE, B_READ, cb_flag, NULL); in scsi_hba_probe_pi()
1129 SCMD_INQUIRY, 0, SUN_INQSIZE, 0); in scsi_hba_probe_pi()
1149 bzero((caddr_t)sd->sd_inq, SUN_INQSIZE); in scsi_hba_probe_pi()
1320 ((SUN_INQSIZE - inq_pkt->pkt_resid) < SUN_MIN_INQLEN)) { in scsi_hba_probe_pi()
1325 (caddr_t)sd->sd_inq, (SUN_INQSIZE - inq_pkt->pkt_resid)); in scsi_hba_probe_pi()
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dasym_sun.c446 bp = scsi_alloc_consistent_buf(ap, (struct buf *)NULL, SUN_INQSIZE, in purple_path_get_opinfo()
457 SCMD_INQUIRY, 0, SUN_INQSIZE, 0); in purple_path_get_opinfo()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dses.c272 if (is_enc_dev(NULL, devp->sd_inq, SUN_INQSIZE, &ep)) { in ses_probe()
424 if (!(is_enc_dev(NULL, devp->sd_inq, SUN_INQSIZE, &etyp))) { in ses_doattach()
H A Dsd.c3257 bufaddr = kmem_zalloc(SUN_INQSIZE, KM_SLEEP); in sd_spin_up_unit()
3259 if (sd_send_scsi_INQUIRY(ssc, bufaddr, SUN_INQSIZE, 0, 0, &resid) in sd_spin_up_unit()
3261 kmem_free(bufaddr, SUN_INQSIZE); in sd_spin_up_unit()
3271 if ((SUN_INQSIZE - resid) >= SUN_MIN_INQLEN) { in sd_spin_up_unit()
3272 bcopy(bufaddr, SD_INQUIRY(un), SUN_INQSIZE); in sd_spin_up_unit()
3275 kmem_free(bufaddr, SUN_INQSIZE); in sd_spin_up_unit()
/titanic_41/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c3847 if (ddi_dma_mem_alloc(inq_dma_handle, SUN_INQSIZE, in sf_do_inquiry()
3855 if (real_size < SUN_INQSIZE) { in sf_do_inquiry()
3890 ((union scsi_cdb *)inq->fcp_cdb)->g0_count0 = SUN_INQSIZE; in sf_do_inquiry()
3978 ((SUN_INQSIZE - rsp->fcp_resid) >= SUN_MIN_INQLEN))) { in sf_inq_callback()
/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c14054 sd_inq = (struct scsi_inquiry *)kmem_alloc(SUN_INQSIZE, KM_SLEEP); in mptsas_probe_lun()
14057 SUN_INQSIZE, 0, (uchar_t)0); in mptsas_probe_lun()
14065 kmem_free(sd_inq, SUN_INQSIZE); in mptsas_probe_lun()
14353 sd_inq = (struct scsi_inquiry *)kmem_alloc(SUN_INQSIZE, KM_SLEEP); in mptsas_config_raid()
14355 SUN_INQSIZE, 0, (uchar_t)0); in mptsas_config_raid()
14364 kmem_free(sd_inq, SUN_INQSIZE); in mptsas_config_raid()
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1064 bcopy(&lp->l_fake_inq, sd->sd_inq, SUN_INQSIZE); in scsa1394_scsi_tgt_probe()
/titanic_41/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_tbolt.c3628 kmem_free(sd->sd_inq, SUN_INQSIZE); in mrsas_tbolt_config_pd()
H A Dmr_sas.c7648 kmem_free(sd->sd_inq, SUN_INQSIZE); in mrsas_config_ld()
/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c6621 scsi_cdb->g0_count0 = SUN_INQSIZE; in fcp_send_scsi()
7859 if (fcp_send_scsi(plun, SCMD_INQUIRY, SUN_INQSIZE, in fcp_handle_reportlun()
/titanic_41/usr/src/uts/common/io/aac/
H A Daac.c7285 kmem_free(sd.sd_inq, SUN_INQSIZE); in aac_config_lun()
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c2201 kmem_free(sd->sd_inq, SUN_INQSIZE); in scsi_busctl_uninitchild()