Lines Matching refs:last_blk
279 xfs_daddr_t *last_blk,
288 end_blk = *last_blk;
304 *last_blk = end_blk;
390 * In the typical case, last_blk is the number of the block directly after
403 xfs_daddr_t *last_blk,
412 int num_blks = *last_blk - start_blk;
415 ASSERT(start_blk != 0 || *last_blk != start_blk);
430 for (i = (*last_blk) - 1; i >= 0; i--) {
474 * last_blk will be the 1st block # with a given cycle #. We may end
476 * reset last_blk. Only when last_blk points in the middle of a log
477 * record do we update last_blk.
481 if (*last_blk - i + extra_bblks !=
483 *last_blk = i;
498 * last_blk contains the block number of the first block with a given
510 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk;
548 last_blk = head_blk = log_bbnum - 1; /* get cycle # of last block */
549 error = xlog_bread(log, last_blk, 1, buffer, &offset);
1405 xfs_daddr_t new_blk, last_blk, start_blk;
1438 last_blk = log_bbnum-1;
1439 error = xlog_find_cycle_start(log, buffer, 0, &last_blk, 0);
1452 if (last_blk < num_scan_bblks)
1453 num_scan_bblks = last_blk;
1454 start_blk = last_blk - num_scan_bblks;
1466 last_blk = new_blk;
1472 error = xlog_find_verify_log_record(log, start_blk, &last_blk, 0);
1478 *blk_no = last_blk;