Lines Matching refs:bufblks
322 xfs_daddr_t bufblks; in xlog_find_verify_cycle() local
332 bufblks = roundup_pow_of_two(nbblks); in xlog_find_verify_cycle()
333 while (bufblks > log->l_logBBsize) in xlog_find_verify_cycle()
334 bufblks >>= 1; in xlog_find_verify_cycle()
335 while (!(buffer = xlog_alloc_buffer(log, bufblks))) { in xlog_find_verify_cycle()
336 bufblks >>= 1; in xlog_find_verify_cycle()
337 if (bufblks < log->l_sectBBsize) in xlog_find_verify_cycle()
341 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle()
344 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()
1521 int bufblks; in xlog_write_log_records() local
1531 bufblks = roundup_pow_of_two(blocks); in xlog_write_log_records()
1532 while (bufblks > log->l_logBBsize) in xlog_write_log_records()
1533 bufblks >>= 1; in xlog_write_log_records()
1534 while (!(buffer = xlog_alloc_buffer(log, bufblks))) { in xlog_write_log_records()
1535 bufblks >>= 1; in xlog_write_log_records()
1536 if (bufblks < sectbb) in xlog_write_log_records()
1553 for (i = start_block; i < end_block; i += bufblks) { in xlog_write_log_records()
1556 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records()