Lines Matching refs:tail_cycle
1194 int tail_cycle; in xlog_space_left() local
1199 xlog_crack_atomic_lsn(&log->l_tail_lsn, &tail_cycle, &tail_bytes); in xlog_space_left()
1201 if (tail_cycle == head_cycle && head_bytes >= tail_bytes) in xlog_space_left()
1203 else if (tail_cycle + 1 < head_cycle) in xlog_space_left()
1205 else if (tail_cycle < head_cycle) { in xlog_space_left()
1206 ASSERT(tail_cycle == (head_cycle - 1)); in xlog_space_left()
1217 tail_cycle, tail_bytes); in xlog_space_left()
3738 int tail_cycle, tail_blocks; in xlog_verify_grant_tail() local
3742 xlog_crack_atomic_lsn(&log->l_tail_lsn, &tail_cycle, &tail_blocks); in xlog_verify_grant_tail()
3743 if (tail_cycle != cycle) { in xlog_verify_grant_tail()
3744 if (cycle - 1 != tail_cycle && in xlog_verify_grant_tail()