Searched refs:SUN_INQSIZE (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | inquiry.h | 47 #define SUN_INQSIZE (sizeof (struct scsi_inquiry)) macro
|
/illumos-gate/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 1100 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 D | ses.c | 266 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 D | sd.c | 2767 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 D | mptsas.c | 14380 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 D | hba.c | 1063 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 D | mr_sas_tbolt.c | 3588 kmem_free(sd->sd_inq, SUN_INQSIZE); in mrsas_tbolt_config_pd()
|
H A D | mr_sas.c | 7613 kmem_free(sd->sd_inq, SUN_INQSIZE); in mrsas_config_ld()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 6626 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 D | scsi_hba.c | 2205 kmem_free(sd->sd_inq, SUN_INQSIZE); in scsi_busctl_uninitchild()
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 7291 kmem_free(sd.sd_inq, SUN_INQSIZE); in aac_config_lun()
|