Lines Matching defs:j
30 static void bch2_journal_buf_to_text(struct printbuf *out, struct journal *j, u64 seq) in bch2_journal_buf_to_text()
60 static void bch2_journal_bufs_to_text(struct printbuf *out, struct journal *j) in bch2_journal_bufs_to_text()
71 static inline bool journal_seq_unwritten(struct journal *j, u64 seq) in journal_seq_unwritten()
81 static inline unsigned nr_unwritten_journal_entries(struct journal *j) in nr_unwritten_journal_entries()
86 static bool journal_entry_is_open(struct journal *j) in journal_entry_is_open()
92 journal_seq_to_buf(struct journal *j, u64 seq) in journal_seq_to_buf()
128 journal_error_check_stuck(struct journal *j, int error, unsigned flags) in journal_error_check_stuck()
182 void bch2_journal_buf_put_final(struct journal *j, u64 seq, bool write) in bch2_journal_buf_put_final()
200 static void __journal_entry_close(struct journal *j, unsigned closed_val, bool trace) in __journal_entry_close()
276 void bch2_journal_halt(struct journal *j) in bch2_journal_halt()
286 static bool journal_entry_want_write(struct journal *j) in journal_entry_want_write()
306 bool bch2_journal_entry_close(struct journal *j) in bch2_journal_entry_close()
321 static int journal_entry_open(struct journal *j) in journal_entry_open()
431 static bool journal_quiesced(struct journal *j) in journal_quiesced()
440 static void journal_quiesce(struct journal *j) in journal_quiesce()
447 struct journal *j = container_of(work, struct journal, write_work.work); in journal_write_work() local
465 static int __journal_res_get(struct journal *j, struct journal_res *res, in __journal_res_get()
575 int bch2_journal_res_get_slowpath(struct journal *j, struct journal_res *res, in bch2_journal_res_get_slowpath()
588 void bch2_journal_entry_res_resize(struct journal *j, in bch2_journal_entry_res_resize()
633 int bch2_journal_flush_seq_async(struct journal *j, u64 seq, in bch2_journal_flush_seq_async()
716 int bch2_journal_flush_seq(struct journal *j, u64 seq) in bch2_journal_flush_seq()
739 void bch2_journal_flush_async(struct journal *j, struct closure *parent) in bch2_journal_flush_async()
744 int bch2_journal_flush(struct journal *j) in bch2_journal_flush()
753 bool bch2_journal_noflush_seq(struct journal *j, u64 seq) in bch2_journal_noflush_seq()
787 int bch2_journal_meta(struct journal *j) in bch2_journal_meta()
814 void bch2_journal_unblock(struct journal *j) in bch2_journal_unblock()
823 void bch2_journal_block(struct journal *j) in bch2_journal_block()
832 static struct journal_buf *__bch2_next_write_buffer_flush_journal_buf(struct journal *j, u64 max_se… in __bch2_next_write_buffer_flush_journal_buf()
866 struct journal_buf *bch2_next_write_buffer_flush_journal_buf(struct journal *j, u64 max_seq) in bch2_next_write_buffer_flush_journal_buf()
1107 static bool bch2_journal_writing_to_device(struct journal *j, unsigned dev_idx) in bch2_journal_writing_to_device()
1126 void bch2_dev_journal_stop(struct journal *j, struct bch_dev *ca) in bch2_dev_journal_stop()
1131 void bch2_fs_journal_stop(struct journal *j) in bch2_fs_journal_stop()
1153 int bch2_fs_journal_start(struct journal *j, u64 cur_seq) in bch2_fs_journal_start()
1290 unsigned j, dst = 0; in bch2_dev_journal_init() local
1304 void bch2_fs_journal_exit(struct journal *j) in bch2_fs_journal_exit()
1315 int bch2_fs_journal_init(struct journal *j) in bch2_fs_journal_init()
1352 void __bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) in __bch2_journal_debug_to_text()
1447 void bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) in bch2_journal_debug_to_text()
1454 bool bch2_journal_seq_pins_to_text(struct printbuf *out, struct journal *j, u64 *seq) in bch2_journal_seq_pins_to_text()
1500 void bch2_journal_pins_to_text(struct printbuf *out, struct journal *j) in bch2_journal_pins_to_text()