Searched refs:field_to_type (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | super-io.h | 27 #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)
|
D | journal_sb.c | 22 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()
|
D | sb-errors.c | 35 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()
|
D | sb-members.c | 276 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()
|
D | journal_seq_blacklist.c | 169 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()
|
D | sb-counters.c | 32 struct bch_sb_field_counters *ctrs = field_to_type(f, counters); in bch2_sb_counters_to_text()
|
D | sb-clean.c | 211 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()
|
D | replicas.c | 731 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()
|
D | sb-downgrade.c | 266 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()
|
D | disk_groups.c | 25 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()
|
D | checksum.c | 491 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()
|
D | quota.c | 25 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()
|
D | super-io.c | 1186 struct bch_sb_field_ext *e = field_to_type(f, ext); in bch2_sb_ext_to_text()
|