Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Djournal.h150 static inline int journal_state_count(union journal_res_state s, int idx) in journal_state_count() function
165 return journal_state_count(s, seq & JOURNAL_STATE_BUF_MASK); in journal_state_seq_count()
289 if (!journal_state_count(s, idx)) in __bch2_journal_buf_put()
299 if (!journal_state_count(s, idx)) { in bch2_journal_buf_put()
360 EBUG_ON(!journal_state_count(new, new.idx)); in journal_res_get_fast()
372 if (!journal_state_count(new, new.idx)) in journal_res_get_fast()
H A Djournal.c53 prt_printf(out, "refcount:\t%u\n", journal_state_count(s, i & JOURNAL_STATE_BUF_MASK)); in bch2_journal_buf_to_text()
500 BUG_ON(journal_state_count(new, new.idx)); in journal_entry_open()
1080 ret = journal_state_count(s, idx & JOURNAL_STATE_BUF_MASK) > open in __bch2_next_write_buffer_flush_journal_buf()