Searched refs:head_cycle (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/xfs/ |
D | xfs_log_recover.c | 1611 int tail_cycle, head_cycle; in xlog_clear_stale_blocks() local 1619 head_cycle = log->l_curr_cycle; in xlog_clear_stale_blocks() 1628 if (head_cycle == tail_cycle) { in xlog_clear_stale_blocks() 1649 head_cycle != tail_cycle + 1)) in xlog_clear_stale_blocks() 1681 error = xlog_write_log_records(log, (head_cycle - 1), in xlog_clear_stale_blocks() 1695 error = xlog_write_log_records(log, (head_cycle - 1), in xlog_clear_stale_blocks() 1711 error = xlog_write_log_records(log, head_cycle, 0, distance, in xlog_clear_stale_blocks()
|
D | xfs_log.c | 1347 int head_cycle; in xlog_space_left() local 1350 xlog_crack_grant_head(head, &head_cycle, &head_bytes); in xlog_space_left() 1353 if (tail_cycle == head_cycle && head_bytes >= tail_bytes) in xlog_space_left() 1355 if (tail_cycle + 1 < head_cycle) in xlog_space_left() 1362 if (tail_cycle < head_cycle) { in xlog_space_left() 1363 ASSERT(tail_cycle == (head_cycle - 1)); in xlog_space_left() 1375 head_cycle, head_bytes); in xlog_space_left()
|