Searched refs:journal_state_count (Results 1 – 3 of 3) sorted by relevance
/linux/fs/bcachefs/ |
H A D | journal.h | 146 static inline int journal_state_count(union journal_res_state s, int idx) in journal_state_count() function 275 if (!journal_state_count(s, idx)) in __bch2_journal_buf_put() 284 if (!journal_state_count(s, idx)) { in bch2_journal_buf_put() 342 EBUG_ON(!journal_state_count(new, new.idx)); in journal_res_get_fast() 354 if (!journal_state_count(new, new.idx)) in journal_res_get_fast()
|
H A D | journal.c | 59 prt_printf(out, "refcount:\t%u\n", journal_state_count(s, i)); in bch2_journal_buf_to_text() 199 if (!journal_state_count(j->reservations, idx)) { in bch2_journal_do_writes() 441 BUG_ON(journal_state_count(new, new.idx)); in journal_entry_open() 902 ret = journal_state_count(s, idx) in __bch2_next_write_buffer_flush_journal_buf()
|
H A D | journal_io.c | 1645 BUG_ON(journal_state_count(new, new.unwritten_idx)); in CLOSURE_CALLBACK()
|