Home
last modified time | relevance | path

Searched refs:field_to_type (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dsuper-io.h27 #define field_to_type(_f, _name) \ macro
32 field_to_type(bch2_sb_field_get_id(_sb, BCH_SB_FIELD_##_name), _name)
37 field_to_type(bch2_sb_field_resize_id(_sb, BCH_SB_FIELD_##_name, _u64s), _name)
42 field_to_type(bch2_sb_field_get_minsize_id(_sb, BCH_SB_FIELD_##_name, _u64s), _name)
Djournal_sb.c22 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_validate()
74 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_to_text()
104 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_validate()
175 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_to_text()
Dsb-errors.c35 struct bch_sb_field_errors *e = field_to_type(f, errors); in bch2_sb_errors_validate()
60 struct bch_sb_field_errors *e = field_to_type(f, errors); in bch2_sb_errors_to_text()
Dsb-members.c276 struct bch_sb_field_members_v1 *mi = field_to_type(f, members_v1); in bch2_sb_members_v1_validate()
298 struct bch_sb_field_members_v1 *mi = field_to_type(f, members_v1); in bch2_sb_members_v1_to_text()
314 struct bch_sb_field_members_v2 *mi = field_to_type(f, members_v2); in bch2_sb_members_v2_to_text()
325 struct bch_sb_field_members_v2 *mi = field_to_type(f, members_v2); in bch2_sb_members_v2_validate()
Djournal_seq_blacklist.c169 field_to_type(f, journal_seq_blacklist); in bch2_sb_journal_seq_blacklist_validate()
199 field_to_type(f, journal_seq_blacklist); in bch2_sb_journal_seq_blacklist_to_text()
Dsb-counters.c32 struct bch_sb_field_counters *ctrs = field_to_type(f, counters); in bch2_sb_counters_to_text()
Dsb-clean.c211 struct bch_sb_field_clean *clean = field_to_type(f, clean); in bch2_sb_clean_validate()
236 struct bch_sb_field_clean *clean = field_to_type(f, clean); in bch2_sb_clean_to_text()
Dreplicas.c731 struct bch_sb_field_replicas *sb_r = field_to_type(f, replicas); in bch2_sb_replicas_validate()
748 struct bch_sb_field_replicas *r = field_to_type(f, replicas); in bch2_sb_replicas_to_text()
770 struct bch_sb_field_replicas_v0 *sb_r = field_to_type(f, replicas_v0); in bch2_sb_replicas_v0_validate()
787 struct bch_sb_field_replicas_v0 *sb_r = field_to_type(f, replicas_v0); in bch2_sb_replicas_v0_to_text()
Dsb-downgrade.c266 struct bch_sb_field_downgrade *e = field_to_type(f, downgrade); in bch2_sb_downgrade_validate()
300 struct bch_sb_field_downgrade *e = field_to_type(f, downgrade); in bch2_sb_downgrade_to_text()
Ddisk_groups.c25 field_to_type(f, disk_groups); in bch2_sb_disk_groups_validate()
123 field_to_type(f, disk_groups); in bch2_sb_disk_groups_to_text()
Dchecksum.c491 struct bch_sb_field_crypt *crypt = field_to_type(f, crypt); in bch2_sb_crypt_validate()
510 struct bch_sb_field_crypt *crypt = field_to_type(f, crypt); in bch2_sb_crypt_to_text()
Dquota.c25 struct bch_sb_field_quota *q = field_to_type(f, quota); in bch2_sb_quota_validate()
39 struct bch_sb_field_quota *q = field_to_type(f, quota); in bch2_sb_quota_to_text()
Dsuper-io.c1186 struct bch_sb_field_ext *e = field_to_type(f, ext); in bch2_sb_ext_to_text()