Home
last modified time | relevance | path

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

/linux-6.12.1/fs/jbd2/
Drecovery.c33 unsigned long head_block; member
325 journal->j_head = info.head_block; in jbd2_journal_recover()
381 journal->j_head = info.head_block; in jbd2_journal_skip_recovery()
492 unsigned long next_log_block, head_block; in do_one_pass() local
515 head_block = next_log_block; in do_one_pass()
846 info->head_block = head_block; in do_one_pass()
858 head_block = next_log_block; in do_one_pass()
910 if (!info->head_block) in do_one_pass()
911 info->head_block = head_block; in do_one_pass()
/linux-6.12.1/fs/xfs/
Dxfs_log_recover.c1608 int tail_block, head_block; in xlog_clear_stale_blocks() local
1616 head_block = log->l_curr_block; in xlog_clear_stale_blocks()
1633 head_block < tail_block || in xlog_clear_stale_blocks()
1634 head_block >= log->l_logBBsize)) in xlog_clear_stale_blocks()
1636 tail_distance = tail_block + (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()
1644 head_block >= tail_block || in xlog_clear_stale_blocks()
1647 tail_distance = tail_block - head_block; in xlog_clear_stale_blocks()
1669 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks()
1678 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks()
1690 distance = log->l_logBBsize - head_block; in xlog_clear_stale_blocks()
[all …]