1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _BCACHEFS_SB_MEMBERS_TYPES_H 3 #define _BCACHEFS_SB_MEMBERS_TYPES_H 4 5 struct bch_member_cpu { 6 u64 nbuckets; /* device size */ 7 u64 nbuckets_minus_first; 8 u16 first_bucket; /* index of first bucket used */ 9 u16 bucket_size; /* sectors */ 10 u16 group; 11 u8 state; 12 u8 discard; 13 u8 data_allowed; 14 u8 durability; 15 u8 freespace_initialized; 16 u8 valid; 17 u8 btree_bitmap_shift; 18 u64 btree_allocated_bitmap; 19 }; 20 21 #endif /* _BCACHEFS_SB_MEMBERS_H */ 22