Lines Matching refs:head_block
1608 int tail_block, head_block; in xlog_clear_stale_blocks() local
1616 head_block = log->l_curr_block; in xlog_clear_stale_blocks()
1633 head_block < tail_block || in xlog_clear_stale_blocks()
1634 head_block >= log->l_logBBsize)) in xlog_clear_stale_blocks()
1636 tail_distance = tail_block + (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()
1644 head_block >= tail_block || in xlog_clear_stale_blocks()
1647 tail_distance = tail_block - head_block; in xlog_clear_stale_blocks()
1669 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks()
1678 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks()
1690 distance = log->l_logBBsize - head_block; in xlog_clear_stale_blocks()
1692 head_block, distance, tail_cycle, in xlog_clear_stale_blocks()
1706 distance = max_distance - (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()