Lines Matching refs:cycle
59 STATIC int xlog_space_left(xlog_t *log, int cycle, int bytes);
835 int need_bytes, free_bytes, cycle, bytes; in xfs_log_move_tail() local
861 cycle = log->l_grant_write_cycle; in xfs_log_move_tail()
863 free_bytes = xlog_space_left(log, cycle, bytes); in xfs_log_move_tail()
880 cycle = log->l_grant_reserve_cycle; in xfs_log_move_tail()
882 free_bytes = xlog_space_left(log, cycle, bytes); in xfs_log_move_tail()
982 xlog_space_left(xlog_t *log, int cycle, int bytes) in xlog_space_left() argument
990 if ((tail_cycle == cycle) && (bytes >= tail_bytes)) { in xlog_space_left()
992 } else if ((tail_cycle + 1) < cycle) { in xlog_space_left()
994 } else if (tail_cycle < cycle) { in xlog_space_left()
995 ASSERT(tail_cycle == (cycle - 1)); in xlog_space_left()
1007 tail_cycle, tail_bytes, cycle, bytes); in xlog_space_left()