Searched refs:mi1 (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | sb-members.c | 68 struct bch_sb_field_members_v1 *mi1 = bch2_sb_field_get(sb, members_v1); in bch2_sb_member_get() local 69 return members_v1_get(mi1, i); in bch2_sb_member_get() 97 struct bch_sb_field_members_v1 *mi1; in bch2_sb_members_v2_init() local 105 mi1 = bch2_sb_field_get(c->disk_sb.sb, members_v1); in bch2_sb_members_v2_init() 106 memcpy(&mi2->_members[0], &mi1->_members[0], in bch2_sb_members_v2_init() 117 struct bch_sb_field_members_v1 *mi1; in bch2_sb_members_cpy_v2_v1() local 120 mi1 = bch2_sb_field_resize(disk_sb, members_v1, in bch2_sb_members_cpy_v2_v1() 121 DIV_ROUND_UP(sizeof(*mi1) + BCH_MEMBER_V1_BYTES * in bch2_sb_members_cpy_v2_v1() 123 if (!mi1) 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()
|