Lines Matching refs:cycle
126 int cycle, space; in xlog_grant_sub_space() local
128 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space()
133 cycle--; in xlog_grant_sub_space()
137 new = xlog_assign_grant_head_val(cycle, space); in xlog_grant_sub_space()
153 int cycle, space; in xlog_grant_add_space() local
155 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space()
162 cycle++; in xlog_grant_add_space()
166 new = xlog_assign_grant_head_val(cycle, space); in xlog_grant_add_space()
1795 uint32_t cycle = get_unaligned_be32(data + i); in xlog_split_iclog() local
1797 if (++cycle == XLOG_HEADER_MAGIC_NUM) in xlog_split_iclog()
1798 cycle++; in xlog_split_iclog()
1799 put_unaligned_be32(cycle, data + i); in xlog_split_iclog()
3739 int cycle, space; in xlog_verify_grant_tail() local
3741 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &space); 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()