1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_LRU_FORMAT_H
3 #define _BCACHEFS_LRU_FORMAT_H
8 } __packed
__aligned(8);
10 #define BCH_LRU_TYPES() \
15 #define x(n) BCH_LRU_##n,
20 #define BCH_LRU_FRAGMENTATION_START ((1U << 16) - 1)
22 #define LRU_TIME_BITS 48
23 #define LRU_TIME_MAX ((1ULL << LRU_TIME_BITS) - 1)
25 #endif /* _BCACHEFS_LRU_FORMAT_H */