Lines Matching defs:j

23 static inline bool journal_seq_unwritten(struct journal *j, u64 seq)  in journal_seq_unwritten()
33 static inline unsigned nr_unwritten_journal_entries(struct journal *j) in nr_unwritten_journal_entries()
38 static bool journal_entry_is_open(struct journal *j) in journal_entry_is_open()
43 static void bch2_journal_buf_to_text(struct printbuf *out, struct journal *j, u64 seq) in bch2_journal_buf_to_text()
87 static void bch2_journal_bufs_to_text(struct printbuf *out, struct journal *j) in bch2_journal_bufs_to_text()
105 journal_seq_to_buf(struct journal *j, u64 seq) in journal_seq_to_buf()
138 journal_error_check_stuck(struct journal *j, int error, unsigned flags) in journal_error_check_stuck()
189 void bch2_journal_do_writes(struct journal *j) in bch2_journal_do_writes()
217 void bch2_journal_buf_put_final(struct journal *j, u64 seq) in bch2_journal_buf_put_final()
238 static void __journal_entry_close(struct journal *j, unsigned closed_val, bool trace) in __journal_entry_close()
334 void bch2_journal_halt(struct journal *j) in bch2_journal_halt()
344 void bch2_journal_halt_locked(struct journal *j) in bch2_journal_halt_locked()
354 static bool journal_entry_want_write(struct journal *j) in journal_entry_want_write()
374 bool bch2_journal_entry_close(struct journal *j) in bch2_journal_entry_close()
389 static int journal_entry_open(struct journal *j) in journal_entry_open()
521 static bool journal_quiesced(struct journal *j) in journal_quiesced()
530 static void journal_quiesce(struct journal *j) in journal_quiesce()
537 struct journal *j = container_of(work, struct journal, write_work.work); in journal_write_work() local
551 static void journal_buf_prealloc(struct journal *j) in journal_buf_prealloc()
578 static int __journal_res_get(struct journal *j, struct journal_res *res, in __journal_res_get()
721 int bch2_journal_res_get_slowpath(struct journal *j, struct journal_res *res, in bch2_journal_res_get_slowpath()
761 void bch2_journal_entry_res_resize(struct journal *j, in bch2_journal_entry_res_resize()
805 int bch2_journal_flush_seq_async(struct journal *j, u64 seq, in bch2_journal_flush_seq_async()
895 int bch2_journal_flush_seq(struct journal *j, u64 seq, unsigned task_state) in bch2_journal_flush_seq()
920 void bch2_journal_flush_async(struct journal *j, struct closure *parent) in bch2_journal_flush_async()
925 int bch2_journal_flush(struct journal *j) in bch2_journal_flush()
935 bool bch2_journal_noflush_seq(struct journal *j, u64 start, u64 end) in bch2_journal_noflush_seq()
969 static int __bch2_journal_meta(struct journal *j) in __bch2_journal_meta()
989 int bch2_journal_meta(struct journal *j) in bch2_journal_meta()
1003 void bch2_journal_unblock(struct journal *j) in bch2_journal_unblock()
1022 static void __bch2_journal_block(struct journal *j) in __bch2_journal_block()
1043 void bch2_journal_block(struct journal *j) in bch2_journal_block()
1052 static struct journal_buf *__bch2_next_write_buffer_flush_journal_buf(struct journal *j, in __bch2_next_write_buffer_flush_journal_buf()
1093 struct journal_buf *bch2_next_write_buffer_flush_journal_buf(struct journal *j, in bch2_next_write_buffer_flush_journal_buf()
1345 static bool bch2_journal_writing_to_device(struct journal *j, unsigned dev_idx) in bch2_journal_writing_to_device()
1364 void bch2_dev_journal_stop(struct journal *j, struct bch_dev *ca) in bch2_dev_journal_stop()
1369 void bch2_fs_journal_stop(struct journal *j) in bch2_fs_journal_stop()
1398 int bch2_fs_journal_start(struct journal *j, u64 cur_seq) in bch2_fs_journal_start()
1492 void bch2_journal_set_replay_done(struct journal *j) in bch2_journal_set_replay_done()
1569 for (unsigned j = 0; j < le64_to_cpu(journal_buckets_v2->d[i].nr); j++) in bch2_dev_journal_init() local
1580 void bch2_fs_journal_exit(struct journal *j) in bch2_fs_journal_exit()
1593 int bch2_fs_journal_init(struct journal *j) in bch2_fs_journal_init()
1642 void __bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) in __bch2_journal_debug_to_text()
1749 void bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) in bch2_journal_debug_to_text()