Lines Matching refs:start_block
1225 int start_block, in xlog_write_log_records() argument
1234 int end_block = start_block + blocks; in xlog_write_log_records()
1258 balign = round_down(start_block, sectbb); in xlog_write_log_records()
1259 if (balign != start_block) { in xlog_write_log_records()
1260 error = xlog_bread_noalign(log, start_block, 1, bp); in xlog_write_log_records()
1264 j = start_block - balign; in xlog_write_log_records()
1267 for (i = start_block; i < end_block; i += bufblks) { in xlog_write_log_records()
1270 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records()
1278 if (j == 0 && (start_block + endcount > ealign)) { in xlog_write_log_records()
1279 offset = bp->b_addr + BBTOB(ealign - start_block); in xlog_write_log_records()
1287 offset = xlog_align(log, start_block, endcount, bp); in xlog_write_log_records()
1293 error = xlog_bwrite(log, start_block, endcount, bp); in xlog_write_log_records()
1296 start_block += endcount; in xlog_write_log_records()