SUN_INQSIZE
bcopy(&lp->l_fake_inq, sd->sd_inq, SUN_INQSIZE);
kmem_free(sd.sd_inq, SUN_INQSIZE);
scsi_cdb->g0_count0 = SUN_INQSIZE;
if (fcp_send_scsi(plun, SCMD_INQUIRY, SUN_INQSIZE,
kmem_free(sd->sd_inq, SUN_INQSIZE);
kmem_free(sd->sd_inq, SUN_INQSIZE);
sd_inq = (struct scsi_inquiry *)kmem_alloc(SUN_INQSIZE, KM_SLEEP);
SUN_INQSIZE, 0, (uchar_t)0);
kmem_free(sd_inq, SUN_INQSIZE);
sd_inq = (struct scsi_inquiry *)kmem_alloc(SUN_INQSIZE, KM_SLEEP);
SUN_INQSIZE, 0, (uchar_t)0);
kmem_free(sd_inq, SUN_INQSIZE);
kmem_alloc(SUN_INQSIZE, ((callback == SLEEP_FUNC) ?
(struct buf *)NULL, SUN_INQSIZE, B_READ, cb_flag, NULL);
SCMD_INQUIRY, 0, SUN_INQSIZE, 0);
bzero((caddr_t)sd->sd_inq, SUN_INQSIZE);
((SUN_INQSIZE - inq_pkt->pkt_resid) < SUN_MIN_INQLEN)) {
(caddr_t)sd->sd_inq, (SUN_INQSIZE - inq_pkt->pkt_resid));
kmem_free(sd->sd_inq, SUN_INQSIZE);
bufaddr = kmem_zalloc(SUN_INQSIZE, KM_SLEEP);
if (sd_send_scsi_INQUIRY(ssc, bufaddr, SUN_INQSIZE, 0, 0, &resid)
kmem_free(bufaddr, SUN_INQSIZE);
if ((SUN_INQSIZE - resid) >= SUN_MIN_INQLEN) {
bcopy(bufaddr, SD_INQUIRY(un), SUN_INQSIZE);
kmem_free(bufaddr, SUN_INQSIZE);
(char *)ddi_driver_name(dip), inq, SUN_INQSIZE,
if (is_enc_dev(NULL, devp->sd_inq, SUN_INQSIZE, &ep)) {
if (!(is_enc_dev(NULL, devp->sd_inq, SUN_INQSIZE, &etyp))) {