Lines Matching refs:cycle
148 int cycle, space; in xlog_grant_sub_space() local
150 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space()
155 cycle--; in xlog_grant_sub_space()
159 new = xlog_assign_grant_head_val(cycle, space); in xlog_grant_sub_space()
175 int cycle, space; in xlog_grant_add_space() local
177 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space()
184 cycle++; in xlog_grant_add_space()
188 new = xlog_assign_grant_head_val(cycle, space); in xlog_grant_add_space()
1827 __uint32_t cycle = be32_to_cpu(*(__be32 *)dptr); in xlog_sync() local
1828 if (++cycle == XLOG_HEADER_MAGIC_NUM) in xlog_sync()
1829 cycle++; in xlog_sync()
1830 *(__be32 *)dptr = cpu_to_be32(cycle); in xlog_sync()
3735 int cycle, space; in xlog_verify_grant_tail() local
3737 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &space); in xlog_verify_grant_tail()
3739 if (tail_cycle != cycle) { in xlog_verify_grant_tail()
3740 if (cycle - 1 != tail_cycle && in xlog_verify_grant_tail()