Lines Matching defs:nbblks
74 * a range of nbblks basic blocks at any valid offset within the log.
79 int nbblks)
87 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) {
89 nbblks);
107 if (nbblks > 1 && log->l_sectBBsize > 1)
108 nbblks += log->l_sectBBsize;
109 nbblks = round_up(nbblks, log->l_sectBBsize);
110 return kmem_alloc_io(BBTOB(nbblks), align_mask, KM_MAYFAIL | KM_ZERO);
129 unsigned int nbblks,
135 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) {
138 blk_no, nbblks);
143 nbblks = round_up(nbblks, log->l_sectBBsize);
144 ASSERT(nbblks > 0);
147 BBTOB(nbblks), data, op);
152 blk_no, nbblks, error);
161 int nbblks,
164 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ);
171 int nbblks,
177 error = xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ);
187 int nbblks,
190 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_WRITE);
321 int nbblks,
338 bufblks = 1 << ffs(nbblks);
347 for (i = start_blk; i < start_blk + nbblks; i += bufblks) {
350 bcount = min(bufblks, (start_blk + nbblks - i));