Lines Matching refs:start_blk

314 	xfs_daddr_t	start_blk,  in xlog_find_verify_cycle()  argument
341 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle()
344 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()
396 xfs_daddr_t start_blk, in xlog_find_verify_log_record() argument
406 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record()
409 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record()
418 error = xlog_bread(log, start_blk, num_blks, buffer, &offset); in xlog_find_verify_log_record()
425 if (i < start_blk) { in xlog_find_verify_log_record()
504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local
632 start_blk = head_blk - num_scan_bblks; in xlog_find_head()
634 start_blk, num_scan_bblks, in xlog_find_head()
669 start_blk = log_bbnum - (num_scan_bblks - head_blk); in xlog_find_head()
670 if ((error = xlog_find_verify_cycle(log, start_blk, in xlog_find_head()
684 start_blk = 0; in xlog_find_head()
687 start_blk, (int)head_blk, in xlog_find_head()
701 start_blk = head_blk - num_scan_bblks; /* don't read head_blk */ in xlog_find_head()
704 error = xlog_find_verify_log_record(log, start_blk, &head_blk, 0); in xlog_find_head()
710 start_blk = 0; in xlog_find_head()
712 error = xlog_find_verify_log_record(log, start_blk, &head_blk, 0); in xlog_find_head()
717 start_blk = log_bbnum - (num_scan_bblks - head_blk); in xlog_find_head()
719 ASSERT(start_blk <= INT_MAX && in xlog_find_head()
720 (xfs_daddr_t) log_bbnum-start_blk >= 0); in xlog_find_head()
722 error = xlog_find_verify_log_record(log, start_blk, in xlog_find_head()
1399 xfs_daddr_t new_blk, last_blk, start_blk; in xlog_find_zeroed() local
1448 start_blk = last_blk - num_scan_bblks; in xlog_find_zeroed()
1456 if ((error = xlog_find_verify_cycle(log, start_blk, in xlog_find_zeroed()
1466 error = xlog_find_verify_log_record(log, start_blk, &last_blk, 0); in xlog_find_zeroed()