Lines Matching +defs:version +defs:c

23 void bch2_journal_pos_from_member_info_set(struct bch_fs *c)  in bch2_journal_pos_from_member_info_set()
35 void bch2_journal_pos_from_member_info_resume(struct bch_fs *c) in bch2_journal_pos_from_member_info_resume()
51 void bch2_journal_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_ptrs_to_text()
62 static void bch2_journal_replay_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_replay_to_text()
87 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) in jset_csum_good()
98 static inline u32 journal_entry_radix_idx(struct bch_fs *c, u64 seq) in journal_entry_radix_idx()
103 static void __journal_replay_free(struct bch_fs *c, in __journal_replay_free()
115 static void journal_replay_free(struct bch_fs *c, struct journal_replay *i, bool blacklisted) in journal_replay_free()
140 static int journal_entry_add(struct bch_fs *c, struct bch_dev *ca, in journal_entry_add()
271 u32 version, in journal_entry_err_msg()
298 #define journal_entry_err(c, version, jset, entry, _err, msg, ...) \ argument
328 static int journal_validate_key(struct bch_fs *c, in journal_validate_key()
333 unsigned version, int big_endian) in journal_validate_key()
390 static int journal_entry_btree_keys_validate(struct bch_fs *c, in journal_entry_btree_keys_validate()
393 unsigned version, int big_endian, in journal_entry_btree_keys_validate()
414 static void journal_entry_btree_keys_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_btree_keys_to_text()
432 static int journal_entry_btree_root_validate(struct bch_fs *c, in journal_entry_btree_root_validate()
435 unsigned version, int big_endian, in journal_entry_btree_root_validate()
468 static void journal_entry_btree_root_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_btree_root_to_text()
474 static int journal_entry_prio_ptrs_validate(struct bch_fs *c, in journal_entry_prio_ptrs_validate()
477 unsigned version, int big_endian, in journal_entry_prio_ptrs_validate()
484 static void journal_entry_prio_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_prio_ptrs_to_text()
489 static int journal_entry_blacklist_validate(struct bch_fs *c, in journal_entry_blacklist_validate()
492 unsigned version, int big_endian, in journal_entry_blacklist_validate()
507 static void journal_entry_blacklist_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_blacklist_to_text()
516 static int journal_entry_blacklist_v2_validate(struct bch_fs *c, in journal_entry_blacklist_v2_validate()
519 unsigned version, int big_endian, in journal_entry_blacklist_v2_validate()
547 static void journal_entry_blacklist_v2_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_blacklist_v2_to_text()
558 static int journal_entry_usage_validate(struct bch_fs *c, in journal_entry_usage_validate()
561 unsigned version, int big_endian, in journal_entry_usage_validate()
581 static void journal_entry_usage_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_usage_to_text()
592 static int journal_entry_data_usage_validate(struct bch_fs *c, in journal_entry_data_usage_validate()
595 unsigned version, int big_endian, in journal_entry_data_usage_validate()
626 static void journal_entry_data_usage_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_data_usage_to_text()
636 static int journal_entry_clock_validate(struct bch_fs *c, in journal_entry_clock_validate()
639 unsigned version, int big_endian, in journal_entry_clock_validate()
667 static void journal_entry_clock_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_clock_to_text()
676 static int journal_entry_dev_usage_validate(struct bch_fs *c, in journal_entry_dev_usage_validate()
679 unsigned version, int big_endian, in journal_entry_dev_usage_validate()
709 static void journal_entry_dev_usage_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_dev_usage_to_text()
733 static int journal_entry_log_validate(struct bch_fs *c, in journal_entry_log_validate()
736 unsigned version, int big_endian, in journal_entry_log_validate()
742 static void journal_entry_log_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_log_to_text()
750 static int journal_entry_overwrite_validate(struct bch_fs *c, in journal_entry_overwrite_validate()
753 unsigned version, int big_endian, in journal_entry_overwrite_validate()
761 static void journal_entry_overwrite_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_overwrite_to_text()
767 static int journal_entry_write_buffer_keys_validate(struct bch_fs *c, in journal_entry_write_buffer_keys_validate()
770 unsigned version, int big_endian, in journal_entry_write_buffer_keys_validate()
777 static void journal_entry_write_buffer_keys_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_write_buffer_keys_to_text()
783 static int journal_entry_datetime_validate(struct bch_fs *c, in journal_entry_datetime_validate()
786 unsigned version, int big_endian, in journal_entry_datetime_validate()
805 static void journal_entry_datetime_to_text(struct printbuf *out, struct bch_fs *c, in journal_entry_datetime_to_text()
831 int bch2_journal_entry_validate(struct bch_fs *c, in bch2_journal_entry_validate()
834 unsigned version, int big_endian, in bch2_journal_entry_validate()
843 void bch2_journal_entry_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_entry_to_text()
854 static int jset_validate_entries(struct bch_fs *c, struct jset *jset, in jset_validate_entries()
863 unsigned version = le32_to_cpu(jset->version); in jset_validate_entries() local
886 static int jset_validate(struct bch_fs *c, in jset_validate()
901 unsigned version = le32_to_cpu(jset->version); in jset_validate() local
940 static int jset_validate_early(struct bch_fs *c, in jset_validate_early()
955 unsigned version = le32_to_cpu(jset->version); in jset_validate_early() local
1015 struct bch_fs *c = ca->fs; in journal_read_bucket() local
1163 struct bch_fs *c = ca->fs; in CLOSURE_CALLBACK() local
1205 int bch2_journal_read(struct bch_fs *c, in bch2_journal_read()
1439 struct bch_fs *c = container_of(j, struct bch_fs, journal); in journal_advance_devs_to_next_bucket() local
1471 struct bch_fs *c = container_of(j, struct bch_fs, journal); in __journal_write_alloc() local
1522 struct bch_fs *c = container_of(j, struct bch_fs, journal); in journal_write_alloc() local
1575 struct bch_fs *c = container_of(j, struct bch_fs, journal); in journal_buf_realloc() local
1612 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local
1747 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local
1792 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local
1830 struct bch_fs *c = container_of(j, struct bch_fs, journal); in bch2_journal_write_prep() local
1967 struct bch_fs *c = container_of(j, struct bch_fs, journal); in bch2_journal_write_pick_flush() local
2015 struct bch_fs *c = container_of(j, struct bch_fs, journal); in CLOSURE_CALLBACK() local