1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _BCACHEFS_DISK_ACCOUNTING_TYPES_H 3 #define _BCACHEFS_DISK_ACCOUNTING_TYPES_H 4 5 #include "darray.h" 6 7 struct accounting_mem_entry { 8 struct bpos pos; 9 struct bversion version; 10 unsigned nr_counters; 11 u64 __percpu *v[2]; 12 }; 13 14 struct bch_accounting_mem { 15 DARRAY(struct accounting_mem_entry) k; 16 bool gc_running; 17 }; 18 19 #endif /* _BCACHEFS_DISK_ACCOUNTING_TYPES_H */ 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.