Searched refs:vdisk_bsize (Results 1 – 3 of 3) sorted by relevance
123 (vdsk)->vdisk_bsize, (vdsk)->vdisk_size)457 size_t vdisk_bsize; /* blk size of the vdisk */ member763 ASSERT(vd->vdisk_bsize == DEV_BSIZE); in vd_dskimg_io_params()881 ASSERT(vd->vdisk_bsize == DEV_BSIZE); in vd_dskimg_rw()1240 ASSERT(vd->vdisk_bsize == DEV_BSIZE); in vd_dskimg_read_devid()1316 ASSERT(vd->vdisk_bsize == DEV_BSIZE); in vd_dskimg_write_devid()1385 ASSERT(vd->vdisk_bsize > 0); in vd_do_scsi_rdwr()1388 nblk = (len / vd->vdisk_bsize); in vd_do_scsi_rdwr()1390 if (len % vd->vdisk_bsize != 0) in vd_do_scsi_rdwr()1473 data += nsectors * vd->vdisk_bsize; in vd_do_scsi_rdwr()[all …]
670 vdc->vdisk_bsize = DEV_BSIZE; in vdc_do_attach()673 vdc->max_xfer_sz = maxphys / vdc->vdisk_bsize; in vdc_do_attach()999 stp->vd_capacity.value.ui64 = vdc->vdisk_size * vdc->vdisk_bsize; in vdc_set_err_kstats()1179 blksize = vdc->vdisk_bsize; in vdc_prop_op()1563 if (bufp->b_bcount > (vdc->max_xfer_sz * vdc->vdisk_bsize)) { in vdc_min()1564 bufp->b_bcount = vdc->max_xfer_sz * vdc->vdisk_bsize; in vdc_min()1739 pkt.vdisk_block_size = vdc->vdisk_bsize; in vdc_init_attr_negotiation()2670 if ((vdc->max_xfer_sz * vdc->vdisk_bsize) < maxphys) { in vdc_init_descriptor_ring()2676 (vdc->max_xfer_sz * vdc->vdisk_bsize) / PAGESIZE; in vdc_init_descriptor_ring()5257 vdc->instance, vdc->vdisk_bsize, in vdc_handle_attr_msg()[all …]
124 (vdsk)->vdisk_bsize, (vdsk)->vdisk_size)340 uint64_t vdisk_bsize; /* blk size for the virtual disk */ member