Lines Matching defs:c
20 void bch2_journal_pos_from_member_info_set(struct bch_fs *c) in bch2_journal_pos_from_member_info_set()
32 void bch2_journal_pos_from_member_info_resume(struct bch_fs *c) in bch2_journal_pos_from_member_info_resume()
48 void bch2_journal_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_ptrs_to_text()
59 static void bch2_journal_replay_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_replay_to_text()
84 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) in jset_csum_good()
95 static inline u32 journal_entry_radix_idx(struct bch_fs *c, u64 seq) in journal_entry_radix_idx()
100 static void __journal_replay_free(struct bch_fs *c, in __journal_replay_free()
112 static void journal_replay_free(struct bch_fs *c, struct journal_replay *i, bool blacklisted) in journal_replay_free()
137 static int journal_entry_add(struct bch_fs *c, struct bch_dev *ca, in journal_entry_add()
295 #define journal_entry_err(c, version, jset, entry, _err, msg, ...) \ argument
325 static int journal_validate_key(struct bch_fs *c, in journal_validate_key()
388 static int journal_entry_btree_keys_validate(struct bch_fs *c, in journal_entry_btree_keys_validate()
413 static void journal_entry_btree_keys_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_btree_keys_to_text()
430 static int journal_entry_btree_root_validate(struct bch_fs *c, in journal_entry_btree_root_validate()
463 static void journal_entry_btree_root_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_btree_root_to_text()
469 static int journal_entry_prio_ptrs_validate(struct bch_fs *c, in journal_entry_prio_ptrs_validate()
479 static void journal_entry_prio_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_prio_ptrs_to_text()
484 static int journal_entry_blacklist_validate(struct bch_fs *c, in journal_entry_blacklist_validate()
502 static void journal_entry_blacklist_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_blacklist_to_text()
511 static int journal_entry_blacklist_v2_validate(struct bch_fs *c, in journal_entry_blacklist_v2_validate()
542 static void journal_entry_blacklist_v2_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_blacklist_v2_to_text()
553 static int journal_entry_usage_validate(struct bch_fs *c, in journal_entry_usage_validate()
576 static void journal_entry_usage_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_usage_to_text()
587 static int journal_entry_data_usage_validate(struct bch_fs *c, in journal_entry_data_usage_validate()
621 static void journal_entry_data_usage_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_data_usage_to_text()
631 static int journal_entry_clock_validate(struct bch_fs *c, in journal_entry_clock_validate()
662 static void journal_entry_clock_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_clock_to_text()
671 static int journal_entry_dev_usage_validate(struct bch_fs *c, in journal_entry_dev_usage_validate()
704 static void journal_entry_dev_usage_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_dev_usage_to_text()
728 static int journal_entry_log_validate(struct bch_fs *c, in journal_entry_log_validate()
737 static void journal_entry_log_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_log_to_text()
746 static int journal_entry_overwrite_validate(struct bch_fs *c, in journal_entry_overwrite_validate()
756 static void journal_entry_overwrite_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_overwrite_to_text()
762 static int journal_entry_write_buffer_keys_validate(struct bch_fs *c, in journal_entry_write_buffer_keys_validate()
772 static void journal_entry_write_buffer_keys_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_write_buffer_keys_to_text()
778 static int journal_entry_datetime_validate(struct bch_fs *c, in journal_entry_datetime_validate()
800 static void journal_entry_datetime_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_datetime_to_text()
826 int bch2_journal_entry_validate(struct bch_fs *c, in bch2_journal_entry_validate()
838 void bch2_journal_entry_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_entry_to_text()
849 static int jset_validate_entries(struct bch_fs *c, struct jset *jset, in jset_validate_entries()
873 static int jset_validate(struct bch_fs *c, in jset_validate()
923 static int jset_validate_early(struct bch_fs *c, in jset_validate_early()
996 struct bch_fs *c = ca->fs; in journal_read_bucket() local
1144 struct bch_fs *c = ca->fs; in CLOSURE_CALLBACK() local
1186 int bch2_journal_read(struct bch_fs *c, in bch2_journal_read()
1421 struct bch_fs *c = container_of(j, struct bch_fs, journal); in __journal_write_alloc() local
1478 struct bch_fs *c = container_of(j, struct bch_fs, journal); in journal_write_alloc() local
1543 struct bch_fs *c = container_of(j, struct bch_fs, journal); in journal_buf_realloc() local
1580 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local
1715 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local
1759 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local
1797 struct bch_fs *c = container_of(j, struct bch_fs, journal); in bch2_journal_write_prep() local
1934 struct bch_fs *c = container_of(j, struct bch_fs, journal); in bch2_journal_write_pick_flush() local
1982 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local