Lines Matching defs:nmblk
128 log_roll_read(ml_unit_t *ul, rollbuf_t *rbs, int nmblk, caddr_t roll_bufs,
201 } while ((nbuf < nmblk) && logmap_next_roll(logmap, &mof));
431 uint32_t nmblk;
456 nmblk = log_roll_buffers();
461 roll_bufs = kmem_alloc(nmblk * MAPBLOCKSIZE, KM_SLEEP);
462 rbs = kmem_alloc(nmblk * sizeof (rollbuf_t), KM_SLEEP);
467 for (i = 0, rbp = rbs; i < nmblk; ++i, ++rbp) {
488 kmem_free(rbs, nmblk * sizeof (rollbuf_t));
489 kmem_free(roll_bufs, nmblk * MAPBLOCKSIZE);
567 switch (log_roll_read(ul, rbs, nmblk, roll_bufs, &nbuf)) {