Lines Matching refs:tail_cycle
1128 int tail_cycle; in xlog_space_left() local
1133 xlog_crack_atomic_lsn(&log->l_tail_lsn, &tail_cycle, &tail_bytes); in xlog_space_left()
1135 if (tail_cycle == head_cycle && head_bytes >= tail_bytes) in xlog_space_left()
1137 else if (tail_cycle + 1 < head_cycle) in xlog_space_left()
1139 else if (tail_cycle < head_cycle) { in xlog_space_left()
1140 ASSERT(tail_cycle == (head_cycle - 1)); in xlog_space_left()
1152 tail_cycle, tail_bytes, head_cycle, head_bytes); in xlog_space_left()
3697 int tail_cycle, tail_blocks; in xlog_verify_grant_tail() local
3701 xlog_crack_atomic_lsn(&log->l_tail_lsn, &tail_cycle, &tail_blocks); in xlog_verify_grant_tail()
3702 if (tail_cycle != cycle) { in xlog_verify_grant_tail()
3703 if (cycle - 1 != tail_cycle && in xlog_verify_grant_tail()