Home
last modified time | relevance | path

Searched refs:bch_sb_field (Results 1 – 23 of 23) sorted by relevance

/linux/fs/bcachefs/
H A Dsuper-io.h22 static inline size_t bch2_sb_field_bytes(struct bch_sb_field *f) in bch2_sb_field_bytes()
30 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *, enum bch_sb_field_type);
34 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *,
39 struct bch_sb_field *bch2_sb_field_get_minsize_id(struct bch_sb_handle *,
54 int (*validate)(struct bch_sb *, struct bch_sb_field *,
56 void (*to_text)(struct printbuf *, struct bch_sb *, struct bch_sb_field *);
98 struct bch_sb_field *);
100 struct bch_sb_field *);
H A Dreplicas_format.h12 struct bch_sb_field field;
24 struct bch_sb_field field;
H A Djournal_sb.c19 static int bch2_sb_journal_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_journal_validate()
72 struct bch_sb_field *f) in bch2_sb_journal_to_text()
101 static int bch2_sb_journal_v2_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_journal_v2_validate()
158 struct bch_sb_field *f) in bch2_sb_journal_v2_to_text()
H A Dsb-members_format.h99 struct bch_sb_field field;
104 struct bch_sb_field field;
H A Dsuper-io.c78 static int bch2_sb_field_validate(struct bch_sb *, struct bch_sb_field *,
81 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb, in bch2_sb_field_get_id()
93 struct bch_sb_field *f, in __bch2_sb_field_resize()
134 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type); in bch2_sb_field_delete()
213 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *sb, in bch2_sb_field_resize_id()
217 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type); in bch2_sb_field_resize_id()
252 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type); in bch2_sb_field_get_minsize_id()
544 struct bch_sb_field *src_f, *dst_f; in __copy_super()
1169 struct bch_sb_field *f) in bch2_sb_ext_to_text()
1236 struct bch_sb_field *f) in __bch2_sb_field_to_text()
[all …]
H A Dsb-counters.c23 static int bch2_sb_counters_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_counters_validate()
30 struct bch_sb_field *f) in bch2_sb_counters_to_text()
H A Djournal_seq_blacklist_format.h11 struct bch_sb_field field;
H A Dsb-downgrade_format.h13 struct bch_sb_field field;
H A Ddisk_groups_format.h17 struct bch_sb_field field;
H A Dquota_format.h43 struct bch_sb_field field;
H A Dsb-errors.c32 static int bch2_sb_errors_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_errors_validate()
58 struct bch_sb_field *f) in bch2_sb_errors_to_text()
H A Dsb-members.c264 static int bch2_sb_members_v1_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_members_v1_validate()
287 struct bch_sb_field *f) in bch2_sb_members_v1_to_text()
303 struct bch_sb_field *f) in bch2_sb_members_v2_to_text()
313 static int bch2_sb_members_v2_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_members_v2_validate()
H A Dbcachefs_format.h481 struct bch_sb_field { struct
541 struct bch_sb_field field;
546 struct bch_sb_field field;
583 struct bch_sb_field field;
660 struct bch_sb_field field;
672 struct bch_sb_field field;
796 struct bch_sb_field start[0];
H A Djournal_seq_blacklist.c165 static int bch2_sb_journal_seq_blacklist_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_journal_seq_blacklist_validate()
196 struct bch_sb_field *f) in bch2_sb_journal_seq_blacklist_to_text()
H A Ddisk_groups.h107 struct bch_sb_field *);
H A Dsb-downgrade.c141 static int bch2_sb_downgrade_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_downgrade_validate()
176 struct bch_sb_field *f) in bch2_sb_downgrade_to_text()
H A Dsb-counters_format.h94 struct bch_sb_field field;
H A Dsb-clean.c269 static int bch2_sb_clean_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_clean_validate()
295 struct bch_sb_field *f) in bch2_sb_clean_to_text()
H A Dreplicas.c855 static int bch2_sb_replicas_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_replicas_validate()
873 struct bch_sb_field *f) in bch2_sb_replicas_to_text()
894 static int bch2_sb_replicas_v0_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_replicas_v0_validate()
912 struct bch_sb_field *f) in bch2_sb_replicas_v0_to_text()
H A Ddisk_groups.c21 static int bch2_sb_disk_groups_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_disk_groups_validate()
120 struct bch_sb_field *f) in bch2_sb_disk_groups_to_text()
H A Dsb-errors_format.h286 struct bch_sb_field field;
H A Dchecksum.c476 static int bch2_sb_crypt_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_crypt_validate()
496 struct bch_sb_field *f) in bch2_sb_crypt_to_text()
H A Dquota.c22 static int bch2_sb_quota_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_quota_validate()
37 struct bch_sb_field *f) in bch2_sb_quota_to_text()