Lines Matching refs:mapsize
45 uint_t mapsize; /* size of `busymap' */
53 uint_t mapsize; /* size of `unitmap' */
234 rc = (*drvp->choosefunc)(devp->mapsize, devp->unitmap,
235 drvp->mapsize, drvp->busymap);
349 dp->mapsize = 0;
366 devp->mapsize = 0;
379 if (devp->mapsize < newsize) {
380 devp->unitmap = devp->mapsize ?
388 (void) memset((char *)&devp->unitmap[devp->mapsize], 0,
389 (uint_t)((newsize - devp->mapsize) * sizeof (uint_t)));
390 devp->mapsize = newsize;
416 int newsize = dev->mapsize;
419 if (drvp->mapsize < newsize) {
420 drvp->busymap = drvp->mapsize ?
428 (void) memset((char *)&drvp->busymap[drvp->mapsize], 0,
429 (uint_t)((newsize - drvp->mapsize) * sizeof (uint_t)));
430 drvp->mapsize = newsize;
451 for (i = 0; i < devp->mapsize; i++)