Lines Matching refs:tail_cycle
1156 int tail_cycle; in xlog_space_left() local
1161 xlog_crack_atomic_lsn(&log->l_tail_lsn, &tail_cycle, &tail_bytes); in xlog_space_left()
1163 if (tail_cycle == head_cycle && head_bytes >= tail_bytes) in xlog_space_left()
1165 else if (tail_cycle + 1 < head_cycle) in xlog_space_left()
1167 else if (tail_cycle < head_cycle) { in xlog_space_left()
1168 ASSERT(tail_cycle == (head_cycle - 1)); in xlog_space_left()
1179 tail_cycle, tail_bytes); in xlog_space_left()
3510 int tail_cycle, tail_blocks; in xlog_verify_grant_tail() local
3514 xlog_crack_atomic_lsn(&log->l_tail_lsn, &tail_cycle, &tail_blocks); in xlog_verify_grant_tail()
3515 if (tail_cycle != cycle) { in xlog_verify_grant_tail()
3516 if (cycle - 1 != tail_cycle && in xlog_verify_grant_tail()