Lines Matching refs:journal
118 static inline void journal_wake(struct journal *j) in journal_wake()
124 static inline struct journal_buf *journal_cur_buf(struct journal *j) in journal_cur_buf()
131 static inline u64 journal_last_seq(struct journal *j) in journal_last_seq()
136 static inline u64 journal_cur_seq(struct journal *j) in journal_cur_seq()
141 static inline u64 journal_last_unwritten_seq(struct journal *j) in journal_last_unwritten_seq()
174 static inline int journal_entry_overhead(struct journal *j) in journal_entry_overhead()
194 journal_res_entry(struct journal *j, struct journal_res *res) in journal_res_entry()
224 bch2_journal_add_entry(struct journal *j, struct journal_res *res, in bch2_journal_add_entry()
253 static inline union journal_res_state journal_state_buf_put(struct journal *j, unsigned idx) in journal_state_buf_put()
266 bool bch2_journal_entry_close(struct journal *);
267 void bch2_journal_do_writes(struct journal *);
268 void bch2_journal_buf_put_final(struct journal *, u64);
270 static inline void __bch2_journal_buf_put(struct journal *j, unsigned idx, u64 seq) in __bch2_journal_buf_put()
279 static inline void bch2_journal_buf_put(struct journal *j, unsigned idx, u64 seq) in bch2_journal_buf_put()
295 static inline void bch2_journal_res_put(struct journal *j, in bch2_journal_res_put()
313 int bch2_journal_res_get_slowpath(struct journal *, struct journal_res *,
325 static inline int journal_res_get_fast(struct journal *j, in journal_res_get_fast()
369 static inline int bch2_journal_res_get(struct journal *j, struct journal_res *res, in bch2_journal_res_get()
397 void bch2_journal_entry_res_resize(struct journal *,
401 int bch2_journal_flush_seq_async(struct journal *, u64, struct closure *);
402 void bch2_journal_flush_async(struct journal *, struct closure *);
404 int bch2_journal_flush_seq(struct journal *, u64, unsigned);
405 int bch2_journal_flush(struct journal *);
406 bool bch2_journal_noflush_seq(struct journal *, u64);
407 int bch2_journal_meta(struct journal *);
409 void bch2_journal_halt(struct journal *);
411 static inline int bch2_journal_error(struct journal *j) in bch2_journal_error()
419 static inline void bch2_journal_set_replay_done(struct journal *j) in bch2_journal_set_replay_done()
425 void bch2_journal_unblock(struct journal *);
426 void bch2_journal_block(struct journal *);
427 struct journal_buf *bch2_next_write_buffer_flush_journal_buf(struct journal *j, u64 max_seq);
429 void __bch2_journal_debug_to_text(struct printbuf *, struct journal *);
430 void bch2_journal_debug_to_text(struct printbuf *, struct journal *);
431 void bch2_journal_pins_to_text(struct printbuf *, struct journal *);
432 bool bch2_journal_seq_pins_to_text(struct printbuf *, struct journal *, u64 *);
439 void bch2_dev_journal_stop(struct journal *, struct bch_dev *);
441 void bch2_fs_journal_stop(struct journal *);
442 int bch2_fs_journal_start(struct journal *, u64);
446 void bch2_fs_journal_exit(struct journal *);
447 int bch2_fs_journal_init(struct journal *);