1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_QUOTA_FORMAT_H
3 #define _BCACHEFS_QUOTA_FORMAT_H
20 struct bch_quota_counter {
27 struct bch_quota_counter c[Q_COUNTERS];
28 } __packed __aligned(8);
30 /* BCH_SB_FIELD_quota: */
32 struct bch_sb_quota_counter {
37 struct bch_sb_quota_type {
39 struct bch_sb_quota_counter c[Q_COUNTERS];
42 struct bch_sb_field_quota {
43 struct bch_sb_field field;
44 struct bch_sb_quota_type q[QTYP_NR];
45 } __packed __aligned(8);
47 #endif /* _BCACHEFS_QUOTA_FORMAT_H */