Searched refs:vd_scsi (Results 1 – 3 of 3) sorted by relevance
5779 vd_scsi_t *vd_scsi; in vdc_scsi_alloc() local5789 vd_scsi = kmem_zalloc(vd_scsi_len, KM_SLEEP); in vdc_scsi_alloc()5791 vd_scsi->cdb_len = cdb_len; in vdc_scsi_alloc()5792 vd_scsi->sense_len = sense_len; in vdc_scsi_alloc()5793 vd_scsi->datain_len = datain_len; in vdc_scsi_alloc()5794 vd_scsi->dataout_len = dataout_len; in vdc_scsi_alloc()5798 return (vd_scsi); in vdc_scsi_alloc()5820 vdc_scsi_status(vdc_t *vdc, vd_scsi_t *vd_scsi, boolean_t log_error) in vdc_scsi_status() argument5828 if (vd_scsi->cmd_status == STATUS_GOOD) in vdc_scsi_status()5839 GETCMD(VD_SCSI_DATA_CDB(vd_scsi))); in vdc_scsi_status()[all …]
2726 vd_scsi_t *vd_scsi = (vd_scsi_t *)vd_buf; in vd_scsicmd_in() local2731 vd_scsi_len += P2ROUNDUP(vd_scsi->cdb_len, sizeof (uint64_t)); in vd_scsicmd_in()2732 vd_scsi_len += P2ROUNDUP(vd_scsi->sense_len, sizeof (uint64_t)); in vd_scsicmd_in()2733 vd_scsi_len += P2ROUNDUP(vd_scsi->datain_len, sizeof (uint64_t)); in vd_scsicmd_in()2734 vd_scsi_len += P2ROUNDUP(vd_scsi->dataout_len, sizeof (uint64_t)); in vd_scsicmd_in()2744 if (vd_scsi->options & VD_SCSI_OPT_NORETRY) { in vd_scsicmd_in()2750 switch (vd_scsi->task_attribute) { in vd_scsicmd_in()2766 uscsi->uscsi_timeout = vd_scsi->timeout; in vd_scsicmd_in()2769 uscsi->uscsi_cdb = (caddr_t)VD_SCSI_DATA_CDB(vd_scsi); in vd_scsicmd_in()2770 uscsi->uscsi_cdblen = vd_scsi->cdb_len; in vd_scsicmd_in()[all …]
309 typedef struct vd_scsi { struct