Lines Matching refs:bch_member

37 struct bch_member *bch2_members_v2_get_mut(struct bch_sb *sb, int i)  in bch2_members_v2_get_mut()
42 static struct bch_member members_v2_get(struct bch_sb_field_members_v2 *mi, int i) in members_v2_get()
44 struct bch_member ret, *p = __bch2_members_v2_get_mut(mi, i); in members_v2_get()
50 static struct bch_member *members_v1_get_mut(struct bch_sb_field_members_v1 *mi, int i) in members_v1_get_mut()
55 static struct bch_member members_v1_get(struct bch_sb_field_members_v1 *mi, int i) in members_v1_get()
57 struct bch_member ret, *p = members_v1_get_mut(mi, i); in members_v1_get()
63 struct bch_member bch2_sb_member_get(struct bch_sb *sb, int i) in bch2_sb_member_get()
76 if (le16_to_cpu(mi->member_bytes) < sizeof(struct bch_member)) { in sb_members_v2_resize_entries()
85 void *dst = (void *) mi->_members + (i * sizeof(struct bch_member)); in sb_members_v2_resize_entries()
88 0, (sizeof(struct bch_member) - le16_to_cpu(mi->member_bytes))); in sb_members_v2_resize_entries()
90 mi->member_bytes = cpu_to_le16(sizeof(struct bch_member)); in sb_members_v2_resize_entries()
103 sizeof(struct bch_member) * c->sb.nr_devices, in bch2_sb_members_v2_init()
135 struct bch_member m, in validate_member()
175 struct bch_member m, in member_to_text()
285 struct bch_member m = members_v1_get(mi, i); in bch2_sb_members_v1_validate()
355 struct bch_member *m = __bch2_members_v2_get_mut(mi, ca->dev_idx); in bch2_sb_members_from_cpu()
366 struct bch_member m; in bch2_dev_io_errors_to_text()
397 struct bch_member *m; in bch2_dev_errors_reset()
437 struct bch_member *m = __bch2_members_v2_get_mut(mi, dev); in __bch2_dev_btree_bitmap_mark()
503 struct bch_member m = bch2_sb_member_get(c->disk_sb.sb, dev_idx); in bch2_sb_member_alloc()