Lines Matching refs:blksize
475 uint_t blksize; in bdev_size() local
482 if ((blksize = e_ddi_getprop(dev, VBLK, "blksize", in bdev_size()
484 blksize = e_ddi_getprop(DDI_DEV_T_ANY, VBLK, "device-blksize", in bdev_size()
487 if (blksize >= DEV_BSIZE) in bdev_size()
488 return (nblocks * (blksize / DEV_BSIZE)); in bdev_size()
490 return (nblocks / (DEV_BSIZE / blksize)); in bdev_size()
500 uint_t blksize; in bdev_Size() local
507 if ((blksize = e_ddi_getprop(dev, VBLK, "blksize", in bdev_Size()
509 blksize = e_ddi_getprop(DDI_DEV_T_ANY, VBLK, "device-blksize", in bdev_Size()
512 if (blksize >= DEV_BSIZE) in bdev_Size()
513 return (nblocks * (blksize / DEV_BSIZE)); in bdev_Size()
515 return (nblocks / (DEV_BSIZE / blksize)); in bdev_Size()