Home
last modified time | relevance | path

Searched refs:head_cycle (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/fs/xfs/
Dxfs_log.c1129 int head_cycle; in xlog_space_left() local
1132 xlog_crack_grant_head(head, &head_cycle, &head_bytes); in xlog_space_left()
1135 if (tail_cycle == head_cycle && head_bytes >= tail_bytes) in xlog_space_left()
1137 else if (tail_cycle + 1 < head_cycle) in xlog_space_left()
1139 else if (tail_cycle < head_cycle) { in xlog_space_left()
1140 ASSERT(tail_cycle == (head_cycle - 1)); in xlog_space_left()
1152 tail_cycle, tail_bytes, head_cycle, head_bytes); in xlog_space_left()
Dxfs_log_recover.c1326 int tail_cycle, head_cycle; in xlog_clear_stale_blocks() local
1334 head_cycle = log->l_curr_cycle; in xlog_clear_stale_blocks()
1343 if (head_cycle == tail_cycle) { in xlog_clear_stale_blocks()
1363 if (unlikely(head_block >= tail_block || head_cycle != (tail_cycle + 1))){ in xlog_clear_stale_blocks()
1398 error = xlog_write_log_records(log, (head_cycle - 1), in xlog_clear_stale_blocks()
1412 error = xlog_write_log_records(log, (head_cycle - 1), in xlog_clear_stale_blocks()
1428 error = xlog_write_log_records(log, head_cycle, 0, distance, in xlog_clear_stale_blocks()