Lines Matching refs:newsize
376 uint_t newsize; in addunit() local
378 newsize = howmany(unit+1, WORDSIZE); in addunit()
379 if (devp->mapsize < newsize) { in addunit()
382 newsize * sizeof (uint_t)) : in addunit()
383 (uint_t *)malloc(newsize * sizeof (uint_t)); in addunit()
389 (uint_t)((newsize - devp->mapsize) * sizeof (uint_t))); in addunit()
390 devp->mapsize = newsize; in addunit()
416 int newsize = dev->mapsize; in makebusy() local
419 if (drvp->mapsize < newsize) { in makebusy()
422 newsize * sizeof (uint_t)) : in makebusy()
423 (uint_t *)malloc(newsize * sizeof (uint_t)); in makebusy()
429 (uint_t)((newsize - drvp->mapsize) * sizeof (uint_t))); in makebusy()
430 drvp->mapsize = newsize; in makebusy()
433 for (i = 0; i < newsize; i++) in makebusy()