Lines Matching defs:nbblks
70 * a range of nbblks basic blocks at any valid offset within the log.
75 int nbblks)
81 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) {
83 nbblks);
101 if (nbblks > 1 && log->l_sectBBsize > 1)
102 nbblks += log->l_sectBBsize;
103 nbblks = round_up(nbblks, log->l_sectBBsize);
104 return kvzalloc(BBTOB(nbblks), GFP_KERNEL | __GFP_RETRY_MAYFAIL);
123 unsigned int nbblks,
129 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) {
132 blk_no, nbblks);
137 nbblks = round_up(nbblks, log->l_sectBBsize);
138 ASSERT(nbblks > 0);
141 BBTOB(nbblks), data, op);
146 blk_no, nbblks, error);
155 int nbblks,
158 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ);
165 int nbblks,
171 error = xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ);
181 int nbblks,
184 return xlog_do_io(log, blk_no, nbblks, data, REQ_OP_WRITE);
315 int nbblks,
332 bufblks = roundup_pow_of_two(nbblks);
341 for (i = start_blk; i < start_blk + nbblks; i += bufblks) {
344 bcount = min(bufblks, (start_blk + nbblks - i));