Lines Matching refs:nbblks
98 int nbblks) in xlog_alloc_buffer() argument
106 if (!xlog_verify_bno(log, 0, nbblks)) { in xlog_alloc_buffer()
108 nbblks); in xlog_alloc_buffer()
127 if (nbblks > 1 && log->l_sectBBsize > 1) in xlog_alloc_buffer()
128 nbblks += log->l_sectBBsize; in xlog_alloc_buffer()
129 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_alloc_buffer()
130 return kmem_alloc_io(BBTOB(nbblks), align_mask, KM_MAYFAIL | KM_ZERO); in xlog_alloc_buffer()
149 unsigned int nbblks, in xlog_do_io() argument
155 if (!xlog_verify_bno(log, blk_no, nbblks)) { in xlog_do_io()
158 blk_no, nbblks); in xlog_do_io()
164 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_do_io()
165 ASSERT(nbblks > 0); in xlog_do_io()
168 BBTOB(nbblks), data, op); in xlog_do_io()
173 blk_no, nbblks, error); in xlog_do_io()
182 int nbblks, in xlog_bread_noalign() argument
185 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ); in xlog_bread_noalign()
192 int nbblks, in xlog_bread() argument
198 error = xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ); in xlog_bread()
208 int nbblks, in xlog_bwrite() argument
211 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_WRITE); in xlog_bwrite()
372 int nbblks, in xlog_find_verify_cycle() argument
389 bufblks = 1 << ffs(nbblks); in xlog_find_verify_cycle()
398 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle()
401 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()