Lines Matching refs:last_blk
383 xfs_daddr_t *last_blk, in xlog_find_cycle_start() argument
392 end_blk = *last_blk; in xlog_find_cycle_start()
408 *last_blk = end_blk; in xlog_find_cycle_start()
492 xfs_daddr_t *last_blk, in xlog_find_verify_log_record() argument
501 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record()
504 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record()
517 for (i = (*last_blk) - 1; i >= 0; i--) { in xlog_find_verify_log_record()
576 if (*last_blk - i + extra_bblks != in xlog_find_verify_log_record()
578 *last_blk = i; in xlog_find_verify_log_record()
605 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local
641 last_blk = head_blk = log_bbnum - 1; /* get cycle # of last block */ in xlog_find_head()
642 error = xlog_bread(log, last_blk, 1, bp, &offset); in xlog_find_head()
1086 xfs_daddr_t new_blk, last_blk, start_blk; in xlog_find_zeroed() local
1128 last_blk = log_bbnum-1; in xlog_find_zeroed()
1129 if ((error = xlog_find_cycle_start(log, bp, 0, &last_blk, 0))) in xlog_find_zeroed()
1141 if (last_blk < num_scan_bblks) in xlog_find_zeroed()
1142 num_scan_bblks = last_blk; in xlog_find_zeroed()
1143 start_blk = last_blk - num_scan_bblks; in xlog_find_zeroed()
1155 last_blk = new_blk; in xlog_find_zeroed()
1162 &last_blk, 0)) == -1) { in xlog_find_zeroed()
1168 *blk_no = last_blk; in xlog_find_zeroed()