Lines Matching defs:start_block
1507 int start_block,
1516 int end_block = start_block + blocks;
1540 balign = round_down(start_block, sectbb);
1541 if (balign != start_block) {
1542 error = xlog_bread_noalign(log, start_block, 1, buffer);
1546 j = start_block - balign;
1549 for (i = start_block; i < end_block; i += bufblks) {
1552 bcount = min(bufblks, end_block - start_block);
1560 if (j == 0 && (start_block + endcount > ealign)) {
1562 buffer + BBTOB(ealign - start_block));
1568 offset = buffer + xlog_align(log, start_block);
1574 error = xlog_bwrite(log, start_block, endcount, buffer);
1577 start_block += endcount;