Lines Matching defs:bufcnt
774 kmem_free(info->vas, info->bufcnt * sizeof (caddr_t));
775 kmem_free(info->bufs, info->bufcnt * sizeof (struct buf));
776 kmem_free(info->sema, info->bufcnt * sizeof (ksema_t));
820 uint_t bufcnt;
907 bufcnt = (len + secsize - 1) / secsize;
908 bufs = kmem_alloc(bufcnt * sizeof (struct buf), KM_SLEEP);
909 vas = kmem_alloc(bufcnt * sizeof (caddr_t), KM_SLEEP);
915 fio_done = kmem_alloc(bufcnt * sizeof (ksema_t), KM_SLEEP);
935 ASSERT(count < bufcnt);
1050 info->bufcnt = bufcnt;
1113 uint_t bufcnt;
1271 bufcnt = (len + secsize - 1) / secsize;
1272 bufs = kmem_zalloc(bufcnt * sizeof (struct buf), KM_SLEEP);
1273 vas = kmem_alloc(bufcnt * sizeof (caddr_t), KM_SLEEP);
1280 fio_done = kmem_alloc(bufcnt * sizeof (ksema_t),
1282 for (count = 0; count < bufcnt; count++) {
1307 ASSERT(count < bufcnt);
1474 kmem_free(fio_done, bufcnt * sizeof (ksema_t));
1478 for (count = 0; count < bufcnt; count++) {
1485 kmem_free(vas, bufcnt * sizeof (caddr_t));
1486 kmem_free(bufs, bufcnt * sizeof (struct buf));