Searched refs:member_bytes (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | sb-members.c | 46 memcpy(&ret, p, min_t(size_t, le16_to_cpu(mi->member_bytes), sizeof(ret))); in members_v2_get() 76 if (le16_to_cpu(mi->member_bytes) < sizeof(struct bch_member)) { in sb_members_v2_resize_entries() 86 memmove(dst, __bch2_members_v2_get_mut(mi, i), le16_to_cpu(mi->member_bytes)); in sb_members_v2_resize_entries() 87 memset(dst + le16_to_cpu(mi->member_bytes), 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() 109 mi2->member_bytes = cpu_to_le16(BCH_MEMBER_V1_BYTES); in bch2_sb_members_v2_init() 524 le16_to_cpu(mi->member_bytes) * nr_devices, sizeof(u64)); in bch2_sb_member_alloc()
|
D | sb-members_format.h | 116 __le16 member_bytes; //size of single member entry member
|
D | sb-members.h | 13 return (void *) mi->_members + (i * le16_to_cpu(mi->member_bytes)); in __bch2_members_v2_get_mut()
|