Searched refs:max_distance (Results 1 – 1 of 1) sorted by relevance
1757 int tail_distance, max_distance; in xlog_clear_stale_blocks() local1809 max_distance = XLOG_TOTAL_REC_SHIFT(log); in xlog_clear_stale_blocks()1817 max_distance = min(max_distance, tail_distance); in xlog_clear_stale_blocks()1819 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks()1828 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks()1856 distance = max_distance - (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()