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()
1517 int bufblks; in xlog_write_log_records() local
1527 bufblks = roundup_pow_of_two(blocks); in xlog_write_log_records()
1528 while (bufblks > log->l_logBBsize) in xlog_write_log_records()
1529 bufblks >>= 1; in xlog_write_log_records()
1530 while (!(buffer = xlog_alloc_buffer(log, bufblks))) { in xlog_write_log_records()
1531 bufblks >>= 1; in xlog_write_log_records()
1532 if (bufblks < sectbb) in xlog_write_log_records()
1549 for (i = start_block; i < end_block; i += bufblks) { in xlog_write_log_records()
1552 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records()