Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dinquiry.h47 #define SUN_INQSIZE (sizeof (struct scsi_inquiry)) macro
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses.c266 if (is_enc_dev(NULL, devp->sd_inq, SUN_INQSIZE, &ep)) { in ses_probe()
418 if (!(is_enc_dev(NULL, devp->sd_inq, SUN_INQSIZE, &etyp))) { in ses_doattach()
1749 (char *)ddi_driver_name(dip), inq, SUN_INQSIZE, in ses_register_dev_id()
H A Dsd.c2767 bufaddr = kmem_zalloc(SUN_INQSIZE, KM_SLEEP); in sd_spin_up_unit()
2769 if (sd_send_scsi_INQUIRY(ssc, bufaddr, SUN_INQSIZE, 0, 0, &resid) in sd_spin_up_unit()
2771 kmem_free(bufaddr, SUN_INQSIZE); in sd_spin_up_unit()
2781 if ((SUN_INQSIZE - resid) >= SUN_MIN_INQLEN) { in sd_spin_up_unit()
2782 bcopy(bufaddr, SD_INQUIRY(un), SUN_INQSIZE); in sd_spin_up_unit()
2785 kmem_free(bufaddr, SUN_INQSIZE); in sd_spin_up_unit()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c14380 sd_inq = (struct scsi_inquiry *)kmem_alloc(SUN_INQSIZE, KM_SLEEP); in mptsas_probe_lun()
14383 SUN_INQSIZE, 0, (uchar_t)0); in mptsas_probe_lun()
14391 kmem_free(sd_inq, SUN_INQSIZE); in mptsas_probe_lun()
14681 sd_inq = (struct scsi_inquiry *)kmem_alloc(SUN_INQSIZE, KM_SLEEP); in mptsas_config_raid()
14683 SUN_INQSIZE, 0, (uchar_t)0); in mptsas_config_raid()
14692 kmem_free(sd_inq, SUN_INQSIZE); in mptsas_config_raid()
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1063 bcopy(&lp->l_fake_inq, sd->sd_inq, SUN_INQSIZE); in scsa1394_scsi_tgt_probe()
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_tbolt.c3588 kmem_free(sd->sd_inq, SUN_INQSIZE); in mrsas_tbolt_config_pd()
H A Dmr_sas.c7613 kmem_free(sd->sd_inq, SUN_INQSIZE); in mrsas_config_ld()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c6626 scsi_cdb->g0_count0 = SUN_INQSIZE; in fcp_send_scsi()
7864 if (fcp_send_scsi(plun, SCMD_INQUIRY, SUN_INQSIZE, in fcp_handle_reportlun()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c2205 kmem_free(sd->sd_inq, SUN_INQSIZE); in scsi_busctl_uninitchild()
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c7291 kmem_free(sd.sd_inq, SUN_INQSIZE); in aac_config_lun()