Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
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 *);
Dreplicas_format.h12 struct bch_sb_field field;
24 struct bch_sb_field field;
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()
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()
92 static struct bch_sb_field *__bch2_sb_field_resize(struct bch_sb_handle *sb, in __bch2_sb_field_resize()
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()
248 struct bch_sb_field *bch2_sb_field_get_minsize_id(struct bch_sb_handle *sb, in bch2_sb_field_get_minsize_id()
252 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type); in bch2_sb_field_get_minsize_id()
556 struct bch_sb_field *src_f, *dst_f; in __copy_super()
[all …]
Dsb-members_format.h110 struct bch_sb_field field;
115 struct bch_sb_field field;
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()
Djournal_seq_blacklist_format.h11 struct bch_sb_field field;
Dsb-downgrade_format.h13 struct bch_sb_field field;
Ddisk_groups_format.h17 struct bch_sb_field field;
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()
Dquota_format.h43 struct bch_sb_field field;
Dbcachefs_format.h473 struct bch_sb_field { struct
537 struct bch_sb_field field;
542 struct bch_sb_field field;
579 struct bch_sb_field field;
614 struct bch_sb_field field;
626 struct bch_sb_field field;
756 struct bch_sb_field start[0];
Dsb-members.c273 static int bch2_sb_members_v1_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_members_v1_validate()
296 struct bch_sb_field *f) in bch2_sb_members_v1_to_text()
312 struct bch_sb_field *f) in bch2_sb_members_v2_to_text()
322 static int bch2_sb_members_v2_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_members_v2_validate()
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()
Ddisk_groups.h107 struct bch_sb_field *);
Dsb-counters_format.h94 struct bch_sb_field field;
Dsb-clean.c208 static int bch2_sb_clean_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_clean_validate()
234 struct bch_sb_field *f) in bch2_sb_clean_to_text()
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()
Dsb-downgrade.c263 static int bch2_sb_downgrade_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_downgrade_validate()
298 struct bch_sb_field *f) in bch2_sb_downgrade_to_text()
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()
Dchecksum.c488 static int bch2_sb_crypt_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_crypt_validate()
508 struct bch_sb_field *f) in bch2_sb_crypt_to_text()
Dsb-errors_format.h318 struct bch_sb_field field;
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()