Lines Matching refs:nbblks
79 int nbblks) in xlog_alloc_buffer() argument
87 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
89 nbblks); in xlog_alloc_buffer()
107 if (nbblks > 1 && log->l_sectBBsize > 1) in xlog_alloc_buffer()
108 nbblks += log->l_sectBBsize; in xlog_alloc_buffer()
109 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_alloc_buffer()
110 return kmem_alloc_io(BBTOB(nbblks), align_mask, KM_MAYFAIL | KM_ZERO); in xlog_alloc_buffer()
129 unsigned int nbblks, in xlog_do_io() argument
135 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) { in xlog_do_io()
138 blk_no, nbblks); in xlog_do_io()
143 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_do_io()
144 ASSERT(nbblks > 0); in xlog_do_io()
147 BBTOB(nbblks), data, op); in xlog_do_io()
152 blk_no, nbblks, error); in xlog_do_io()
161 int nbblks, in xlog_bread_noalign() argument
164 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ); in xlog_bread_noalign()
171 int nbblks, in xlog_bread() argument
177 error = xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ); in xlog_bread()
187 int nbblks, in xlog_bwrite() argument
190 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_WRITE); in xlog_bwrite()
321 int nbblks, in xlog_find_verify_cycle() argument
338 bufblks = 1 << ffs(nbblks); in xlog_find_verify_cycle()
347 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle()
350 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()