Searched defs:vd_scsi_len (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c5780 int vd_scsi_len = VD_SCSI_SIZE; local
5782 vd_scsi_len += P2ROUNDUP(cdb_len, sizeof (uint64_t));
5783 vd_scsi_len += P2ROUNDUP(sense_len, sizeof (uint64_t));
5784 vd_scsi_len += P2ROUNDUP(datain_len, sizeof (uint64_t));
5785 vd_scsi_len += P2ROUNDUP(dataout_len, sizeof (uint64_t));
5787 ASSERT(vd_scsi_len % sizeof (uint64_t) == 0);
5789 vd_scsi = kmem_zalloc(vd_scsi_len, KM_SLEEP);
5796 *alloc_len = vd_scsi_len;
5940 int vd_scsi_len; local
5986 &vd_scsi_len);
6118 vdc_scsi_alloc_persistent_in(uchar_t cmd, int len, int *vd_scsi_len) argument
6156 vdc_scsi_alloc_persistent_out(uchar_t cmd, int len, int *vd_scsi_len) argument
6197 int vd_scsi_len; local
6311 int vd_scsi_len; local
6433 int vd_scsi_len, rv; local
6473 int vd_scsi_len, rv; local
6514 int vd_scsi_len, rv; local
6558 int vd_scsi_len, rv; local
6592 int cdb_len, sense_len, vd_scsi_len; local
[all...]
H A Dvds.c2725 size_t vd_scsi_len; local
2730 vd_scsi_len = VD_SCSI_SIZE;
2731 vd_scsi_len += P2ROUNDUP(vd_scsi->cdb_len, sizeof (uint64_t));
2732 vd_scsi_len += P2ROUNDUP(vd_scsi->sense_len, sizeof (uint64_t));
2733 vd_scsi_len += P2ROUNDUP(vd_scsi->datain_len, sizeof (uint64_t));
2734 vd_scsi_len += P2ROUNDUP(vd_scsi->dataout_len, sizeof (uint64_t));
2736 ASSERT(vd_scsi_len % sizeof (uint64_t) == 0);
2738 if (vd_buf_len < vd_scsi_len)

Completed in 273 milliseconds