mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
b5fd066153
We just wanted c sourcefiles out of the top level, not c source directories. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
28 lines
554 B
C
28 lines
554 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _BCACHEFS_REPLICAS_TYPES_H
|
|
#define _BCACHEFS_REPLICAS_TYPES_H
|
|
|
|
struct bch_replicas_cpu {
|
|
unsigned nr;
|
|
unsigned entry_size;
|
|
struct bch_replicas_entry_v1 *entries;
|
|
};
|
|
|
|
struct replicas_delta {
|
|
s64 delta;
|
|
struct bch_replicas_entry_v1 r;
|
|
} __packed;
|
|
|
|
struct replicas_delta_list {
|
|
unsigned size;
|
|
unsigned used;
|
|
|
|
struct {} memset_start;
|
|
u64 nr_inodes;
|
|
u64 persistent_reserved[BCH_REPLICAS_MAX];
|
|
struct {} memset_end;
|
|
struct replicas_delta d[];
|
|
};
|
|
|
|
#endif /* _BCACHEFS_REPLICAS_TYPES_H */
|