Lines Matching defs:last_blk
273 xfs_daddr_t *last_blk,
282 end_blk = *last_blk;
298 *last_blk = end_blk;
384 * In the typical case, last_blk is the number of the block directly after
397 xfs_daddr_t *last_blk,
406 int num_blks = *last_blk - start_blk;
409 ASSERT(start_blk != 0 || *last_blk != start_blk);
424 for (i = (*last_blk) - 1; i >= 0; i--) {
468 * last_blk will be the 1st block # with a given cycle #. We may end
470 * reset last_blk. Only when last_blk points in the middle of a log
471 * record do we update last_blk.
475 if (*last_blk - i + extra_bblks !=
477 *last_blk = i;
492 * last_blk contains the block number of the first block with a given
504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk;
542 last_blk = head_blk = log_bbnum - 1; /* get cycle # of last block */
543 error = xlog_bread(log, last_blk, 1, buffer, &offset);
1399 xfs_daddr_t new_blk, last_blk, start_blk;
1432 last_blk = log_bbnum-1;
1433 error = xlog_find_cycle_start(log, buffer, 0, &last_blk, 0);
1446 if (last_blk < num_scan_bblks)
1447 num_scan_bblks = last_blk;
1448 start_blk = last_blk - num_scan_bblks;
1460 last_blk = new_blk;
1466 error = xlog_find_verify_log_record(log, start_blk, &last_blk, 0);
1472 *blk_no = last_blk;