Searched refs:mdSize (Results 1 – 1 of 1) sorted by relevance
162 …uint32_t mdSize; /* size in pages (pages are assumed to be 4K). Multiply by 4096 to… member245 if (uio->uio_offset > (mdev[devid].mdSize << 12)) { in mdevrw()248 count = imin(uio_resid(uio), (mdev[devid].mdSize << 12) - uio->uio_offset); in mdevrw()283 …if (blkoff >= (mdev[devid].mdSize << 12)) { /* Are they trying to read/write a… in mdevstrategy()284 if (blkoff != (mdev[devid].mdSize << 12)) { /* Are we trying to read after EOF? */ in mdevstrategy()291 …if ((blkoff + buf_count(bp)) > (mdev[devid].mdSize << 12)) { /* Will this read go past … in mdevstrategy()292 buf_setcount(bp, (uint32_t)((mdev[devid].mdSize << 12) - blkoff)); /* Yes, trim to max */ in mdevstrategy()437 *o = ((mdev[devid].mdSize << 12) + mdev[devid].mdSecsize - 1) / mdev[devid].mdSecsize; in mdevioctl()454 memdev_info->mi_size = mdev[devid].mdSize; in mdevioctl()736 mdev[i].mdSize = 0; in mdevremoveall()[all …]