Searched refs:head_block (Results 1 – 1 of 1) sorted by relevance
1215 int tail_block, head_block; in xlog_clear_stale_blocks() local1223 head_block = log->l_curr_block; in xlog_clear_stale_blocks()1239 if (unlikely(head_block < tail_block || head_block >= log->l_logBBsize)) { in xlog_clear_stale_blocks()1244 tail_distance = tail_block + (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()1251 if (unlikely(head_block >= tail_block || head_cycle != (tail_cycle + 1))){ in xlog_clear_stale_blocks()1256 tail_distance = tail_block - head_block; in xlog_clear_stale_blocks()1278 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks()1287 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks()1299 distance = log->l_logBBsize - head_block; in xlog_clear_stale_blocks()1301 head_block, distance, tail_cycle, in xlog_clear_stale_blocks()[all …]