Searched refs:head_cycle (Results 1 – 2 of 2) sorted by relevance
/fs/xfs/ |
D | xfs_log.c | 1195 int head_cycle; in xlog_space_left() local 1198 xlog_crack_grant_head(head, &head_cycle, &head_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() 1220 head_cycle, head_bytes); in xlog_space_left()
|
D | xfs_log_recover.c | 1677 int tail_cycle, head_cycle; in xlog_clear_stale_blocks() local 1685 head_cycle = log->l_curr_cycle; in xlog_clear_stale_blocks() 1694 if (head_cycle == tail_cycle) { in xlog_clear_stale_blocks() 1714 if (unlikely(head_block >= tail_block || head_cycle != (tail_cycle + 1))){ in xlog_clear_stale_blocks() 1749 error = xlog_write_log_records(log, (head_cycle - 1), in xlog_clear_stale_blocks() 1763 error = xlog_write_log_records(log, (head_cycle - 1), in xlog_clear_stale_blocks() 1779 error = xlog_write_log_records(log, head_cycle, 0, distance, in xlog_clear_stale_blocks()
|