]> Git Repo - J-linux.git/blob - fs/bcachefs/replicas_types.h
Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[J-linux.git] / fs / bcachefs / replicas_types.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_REPLICAS_TYPES_H
3 #define _BCACHEFS_REPLICAS_TYPES_H
4
5 struct bch_replicas_cpu {
6         unsigned                nr;
7         unsigned                entry_size;
8         struct bch_replicas_entry_v1 *entries;
9 };
10
11 struct replicas_delta {
12         s64                     delta;
13         struct bch_replicas_entry_v1 r;
14 } __packed;
15
16 struct replicas_delta_list {
17         unsigned                size;
18         unsigned                used;
19
20         struct                  {} memset_start;
21         u64                     nr_inodes;
22         u64                     persistent_reserved[BCH_REPLICAS_MAX];
23         struct                  {} memset_end;
24         struct replicas_delta   d[];
25 };
26
27 #endif /* _BCACHEFS_REPLICAS_TYPES_H */
This page took 0.028701 seconds and 4 git commands to generate.