Home
last modified time | relevance | path

Searched refs:JOURNAL_BUF_MASK (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Djournal.c53 unsigned i = seq & JOURNAL_BUF_MASK; in bch2_journal_buf_to_text()
108 buf = j->buf + (seq & JOURNAL_BUF_MASK); in journal_seq_to_buf()
191 unsigned idx = seq & JOURNAL_BUF_MASK; in bch2_journal_do_writes()
353 ((journal_cur_seq(j) + 1) & JOURNAL_BUF_MASK); in journal_entry_open()
407 BUG_ON(j->buf + (journal_cur_seq(j) & JOURNAL_BUF_MASK) != buf); in journal_entry_open()
442 BUG_ON(new.idx != (journal_cur_seq(j) & JOURNAL_BUF_MASK)); in journal_entry_open()
846 buf = j->buf + (res.seq & JOURNAL_BUF_MASK); in bch2_journal_meta()
892 unsigned idx = seq & JOURNAL_BUF_MASK; in __bch2_next_write_buffer_flush_journal_buf()
Djournal_types.h14 #define JOURNAL_BUF_MASK (JOURNAL_BUF_NR - 1) macro
Djournal_io.c1573 return j->buf + (journal_last_unwritten_seq(j) & JOURNAL_BUF_MASK); in journal_last_unwritten_buf()
1617 w = j->buf + (seq & JOURNAL_BUF_MASK); in CLOSURE_CALLBACK()
1646 BUG_ON(new.unwritten_idx != (seq & JOURNAL_BUF_MASK)); in CLOSURE_CALLBACK()
Djournal_reclaim.c101 unwritten = j->buf[seq & JOURNAL_BUF_MASK].sectors; in journal_dev_space_available()