Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Dsuper-io.h34 static inline size_t bch2_sb_field_bytes(struct bch_sb_field *f) in bch2_sb_field_bytes()
42 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *, enum bch_sb_field_type);
46 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *,
51 struct bch_sb_field *bch2_sb_field_get_minsize_id(struct bch_sb_handle *,
66 int (*validate)(struct bch_sb *, struct bch_sb_field *,
68 void (*to_text)(struct printbuf *, struct bch_sb *, struct bch_sb_field *);
112 struct bch_sb_field *);
114 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()
173 struct bch_sb_field *f) in bch2_sb_journal_v2_to_text()
H A Dsb-members_format.h111 struct bch_sb_field field;
116 struct bch_sb_field field;
H A Dsuper-io.c110 static int bch2_sb_field_validate(struct bch_sb *, struct bch_sb_field *,
113 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb, in bch2_sb_field_get_id()
125 struct bch_sb_field *f, in __bch2_sb_field_resize()
166 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type); in bch2_sb_field_delete()
245 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *sb, in bch2_sb_field_resize_id()
249 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type); in bch2_sb_field_resize_id()
284 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type); in bch2_sb_field_get_minsize_id()
633 struct bch_sb_field *src_f, *dst_f; in __copy_super()
1285 struct bch_sb_field *f) in bch2_sb_ext_to_text()
1353 struct bch_sb_field *f) in __bch2_sb_field_to_text()
[all …]
H A Dsb-counters.c29 static int bch2_sb_counters_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_counters_validate()
36 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 Dbcachefs_format.h479 struct bch_sb_field { struct
541 struct bch_sb_field field;
546 struct bch_sb_field field;
583 struct bch_sb_field field;
618 struct bch_sb_field field;
630 struct bch_sb_field field;
772 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 Dsb-members.c275 static int bch2_sb_members_v1_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_members_v1_validate()
298 struct bch_sb_field *f) in bch2_sb_members_v1_to_text()
314 struct bch_sb_field *f) in bch2_sb_members_v2_to_text()
324 static int bch2_sb_members_v2_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_members_v2_validate()
H A Ddisk_groups.h107 struct bch_sb_field *);
H A Dsb-clean.c212 static int bch2_sb_clean_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_clean_validate()
238 struct bch_sb_field *f) in bch2_sb_clean_to_text()
H A Dreplicas.c728 static int bch2_sb_replicas_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_replicas_validate()
746 struct bch_sb_field *f) in bch2_sb_replicas_to_text()
767 static int bch2_sb_replicas_v0_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_replicas_v0_validate()
785 struct bch_sb_field *f) in bch2_sb_replicas_v0_to_text()
H A Dsb-counters_format.h110 struct bch_sb_field field;
H A Dsb-downgrade.c294 static int bch2_sb_downgrade_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_downgrade_validate()
329 struct bch_sb_field *f) in bch2_sb_downgrade_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 Dchecksum.c403 static int bch2_sb_crypt_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_crypt_validate()
423 struct bch_sb_field *f) in bch2_sb_crypt_to_text()
H A Dsb-errors_format.h340 struct bch_sb_field field;
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()