Lines Matching refs:num_scan_bblks
505 int num_scan_bblks; in xlog_find_head() local
626 num_scan_bblks = min_t(int, log_bbnum, XLOG_TOTAL_REC_SHIFT(log)); in xlog_find_head()
627 if (head_blk >= num_scan_bblks) { in xlog_find_head()
632 start_blk = head_blk - num_scan_bblks; in xlog_find_head()
634 start_blk, num_scan_bblks, in xlog_find_head()
668 (xfs_daddr_t) num_scan_bblks >= head_blk); in xlog_find_head()
669 start_blk = log_bbnum - (num_scan_bblks - head_blk); in xlog_find_head()
671 num_scan_bblks - (int)head_blk, in xlog_find_head()
699 num_scan_bblks = XLOG_REC_SHIFT(log); in xlog_find_head()
700 if (head_blk >= num_scan_bblks) { in xlog_find_head()
701 start_blk = head_blk - num_scan_bblks; /* don't read head_blk */ in xlog_find_head()
717 start_blk = log_bbnum - (num_scan_bblks - head_blk); in xlog_find_head()
1396 xfs_daddr_t num_scan_bblks; in xlog_find_zeroed() local
1439 num_scan_bblks = XLOG_TOTAL_REC_SHIFT(log); in xlog_find_zeroed()
1440 ASSERT(num_scan_bblks <= INT_MAX); in xlog_find_zeroed()
1442 if (last_blk < num_scan_bblks) in xlog_find_zeroed()
1443 num_scan_bblks = last_blk; in xlog_find_zeroed()
1444 start_blk = last_blk - num_scan_bblks; in xlog_find_zeroed()
1453 (int)num_scan_bblks, 0, &new_blk))) in xlog_find_zeroed()