Lines Matching defs:j
30 static inline bool journal_seq_unwritten(struct journal *j, u64 seq) in journal_seq_unwritten()
40 static inline unsigned nr_unwritten_journal_entries(struct journal *j) in nr_unwritten_journal_entries()
45 static bool journal_entry_is_open(struct journal *j) in journal_entry_is_open()
50 static void bch2_journal_buf_to_text(struct printbuf *out, struct journal *j, u64 seq) in bch2_journal_buf_to_text()
88 static void bch2_journal_bufs_to_text(struct printbuf *out, struct journal *j) in bch2_journal_bufs_to_text()
101 journal_seq_to_buf(struct journal *j, u64 seq) in journal_seq_to_buf()
136 journal_error_check_stuck(struct journal *j, int error, unsigned flags) in journal_error_check_stuck()
185 void bch2_journal_do_writes(struct journal *j) in bch2_journal_do_writes()
212 void bch2_journal_buf_put_final(struct journal *j, u64 seq) in bch2_journal_buf_put_final()
233 static void __journal_entry_close(struct journal *j, unsigned closed_val, bool trace) in __journal_entry_close()
312 void bch2_journal_halt(struct journal *j) in bch2_journal_halt()
322 void bch2_journal_halt_locked(struct journal *j) in bch2_journal_halt_locked()
332 static bool journal_entry_want_write(struct journal *j) in journal_entry_want_write()
352 bool bch2_journal_entry_close(struct journal *j) in bch2_journal_entry_close()
367 static int journal_entry_open(struct journal *j) in journal_entry_open()
487 static bool journal_quiesced(struct journal *j) in journal_quiesced()
496 static void journal_quiesce(struct journal *j) in journal_quiesce()
503 struct journal *j = container_of(work, struct journal, write_work.work); in journal_write_work() local
517 static int __journal_res_get(struct journal *j, struct journal_res *res, in __journal_res_get()
636 int bch2_journal_res_get_slowpath(struct journal *j, struct journal_res *res, in bch2_journal_res_get_slowpath()
676 void bch2_journal_entry_res_resize(struct journal *j, in bch2_journal_entry_res_resize()
721 int bch2_journal_flush_seq_async(struct journal *j, u64 seq, in bch2_journal_flush_seq_async()
811 int bch2_journal_flush_seq(struct journal *j, u64 seq, unsigned task_state) in bch2_journal_flush_seq()
836 void bch2_journal_flush_async(struct journal *j, struct closure *parent) in bch2_journal_flush_async()
841 int bch2_journal_flush(struct journal *j) in bch2_journal_flush()
851 bool bch2_journal_noflush_seq(struct journal *j, u64 start, u64 end) in bch2_journal_noflush_seq()
885 static int __bch2_journal_meta(struct journal *j) in __bch2_journal_meta()
905 int bch2_journal_meta(struct journal *j) in bch2_journal_meta()
919 void bch2_journal_unblock(struct journal *j) in bch2_journal_unblock()
938 static void __bch2_journal_block(struct journal *j) in __bch2_journal_block()
958 void bch2_journal_block(struct journal *j) in bch2_journal_block()
967 static struct journal_buf *__bch2_next_write_buffer_flush_journal_buf(struct journal *j, in __bch2_next_write_buffer_flush_journal_buf()
1008 struct journal_buf *bch2_next_write_buffer_flush_journal_buf(struct journal *j, in bch2_next_write_buffer_flush_journal_buf()
1260 static bool bch2_journal_writing_to_device(struct journal *j, unsigned dev_idx) in bch2_journal_writing_to_device()
1279 void bch2_dev_journal_stop(struct journal *j, struct bch_dev *ca) in bch2_dev_journal_stop()
1284 void bch2_fs_journal_stop(struct journal *j) in bch2_fs_journal_stop()
1313 int bch2_fs_journal_start(struct journal *j, u64 cur_seq) in bch2_fs_journal_start()
1465 for (unsigned j = 0; j < le64_to_cpu(journal_buckets_v2->d[i].nr); j++) in bch2_dev_journal_init() local
1476 void bch2_fs_journal_exit(struct journal *j) in bch2_fs_journal_exit()
1488 int bch2_fs_journal_init(struct journal *j) in bch2_fs_journal_init()
1537 void __bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) in __bch2_journal_debug_to_text()
1643 void bch2_journal_debug_to_text(struct printbuf *out, struct journal *j) in bch2_journal_debug_to_text()