Lines Matching refs:mi2
65 struct bch_sb_field_members_v2 *mi2 = bch2_sb_field_get(sb, members_v2); in bch2_sb_member_get() local
66 if (mi2) in bch2_sb_member_get()
67 return members_v2_get(mi2, i); in bch2_sb_member_get()
98 struct bch_sb_field_members_v2 *mi2; in bch2_sb_members_v2_init() local
101 mi2 = bch2_sb_field_resize(&c->disk_sb, members_v2, in bch2_sb_members_v2_init()
102 DIV_ROUND_UP(sizeof(*mi2) + in bch2_sb_members_v2_init()
106 memcpy(&mi2->_members[0], &mi1->_members[0], in bch2_sb_members_v2_init()
108 memset(&mi2->pad[0], 0, sizeof(mi2->pad)); in bch2_sb_members_v2_init()
109 mi2->member_bytes = cpu_to_le16(BCH_MEMBER_V1_BYTES); in bch2_sb_members_v2_init()
118 struct bch_sb_field_members_v2 *mi2; in bch2_sb_members_cpy_v2_v1() local
126 mi2 = bch2_sb_field_get(disk_sb->sb, members_v2); in bch2_sb_members_cpy_v2_v1()
129 memcpy(members_v1_get_mut(mi1, i), __bch2_members_v2_get_mut(mi2, i), BCH_MEMBER_V1_BYTES); in bch2_sb_members_cpy_v2_v1()