Lines Matching refs:num_scan_bblks
539 int num_scan_bblks; in xlog_find_head() local
652 num_scan_bblks = XLOG_TOTAL_REC_SHIFT(log); in xlog_find_head()
653 if (head_blk >= num_scan_bblks) { in xlog_find_head()
658 start_blk = head_blk - num_scan_bblks; in xlog_find_head()
660 start_blk, num_scan_bblks, in xlog_find_head()
693 start_blk = log_bbnum - num_scan_bblks + head_blk; in xlog_find_head()
695 (xfs_daddr_t) num_scan_bblks - head_blk >= 0); in xlog_find_head()
697 num_scan_bblks - (int)head_blk, in xlog_find_head()
725 num_scan_bblks = XLOG_REC_SHIFT(log); in xlog_find_head()
726 if (head_blk >= num_scan_bblks) { in xlog_find_head()
727 start_blk = head_blk - num_scan_bblks; /* don't read head_blk */ in xlog_find_head()
742 start_blk = log_bbnum - num_scan_bblks + head_blk; in xlog_find_head()
1008 xfs_daddr_t num_scan_bblks; in xlog_find_zeroed() local
1054 num_scan_bblks = XLOG_TOTAL_REC_SHIFT(log); in xlog_find_zeroed()
1055 ASSERT(num_scan_bblks <= INT_MAX); in xlog_find_zeroed()
1057 if (last_blk < num_scan_bblks) in xlog_find_zeroed()
1058 num_scan_bblks = last_blk; in xlog_find_zeroed()
1059 start_blk = last_blk - num_scan_bblks; in xlog_find_zeroed()
1068 (int)num_scan_bblks, 0, &new_blk))) in xlog_find_zeroed()