Lines Matching refs:reservations
47 return __journal_entry_is_open(j->reservations); in journal_entry_is_open()
52 union journal_res_state s = READ_ONCE(j->reservations); in bch2_journal_buf_to_text()
199 if (!journal_state_count(j->reservations, idx)) { in bch2_journal_do_writes()
240 old.v = atomic64_read(&j->reservations.counter); in __journal_entry_close()
248 } while (!atomic64_try_cmpxchg(&j->reservations.counter, in __journal_entry_close()
434 old.v = atomic64_read(&j->reservations.counter); in journal_entry_open()
448 } while (!atomic64_try_cmpxchg(&j->reservations.counter, in journal_entry_open()
481 if (__journal_entry_is_open(j->reservations)) { in journal_write_work()
642 state = READ_ONCE(j->reservations); in bch2_journal_entry_res_resize()
900 s.v = atomic64_read_acquire(&j->reservations.counter); in __bch2_next_write_buffer_flush_journal_buf()
1285 j->reservations.idx = j->reservations.unwritten_idx = journal_cur_seq(j); in bch2_fs_journal_start()
1286 j->reservations.unwritten_idx++; in bch2_fs_journal_start()
1397 atomic64_set(&j->reservations.counter, in bch2_fs_journal_init()
1442 s = READ_ONCE(j->reservations); in __bch2_journal_debug_to_text()