cache_sb
struct cache_set *bch_cache_set_alloc(struct cache_sb *sb);
struct cache_sb sb;
struct cache_sb sb;
static inline unsigned int meta_bucket_pages(struct cache_sb *sb)
static inline unsigned int meta_bucket_bytes(struct cache_sb *sb)
static inline _Bool SB_IS_BDEV(const struct cache_sb *sb)
BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1);
BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1);
BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3);
BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4);
BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2);
static inline __u64 jset_magic(struct cache_sb *sb)
static inline __u64 pset_magic(struct cache_sb *sb)
static inline __u64 bset_magic(struct cache_sb *sb)
static inline bool bch_has_unknown_incompat_features(struct cache_sb *sb)
static inline int bch_has_feature_##name(struct cache_sb *sb) \
static inline void bch_set_feature_##name(struct cache_sb *sb) \
static inline void bch_clear_feature_##name(struct cache_sb *sb) \
static inline int bch_has_feature_##name(struct cache_sb *sb) \
static inline void bch_set_feature_##name(struct cache_sb *sb) \
static inline void bch_clear_feature_##name(struct cache_sb *sb) \
static inline int bch_has_feature_##name(struct cache_sb *sb) \
static inline void bch_set_feature_##name(struct cache_sb *sb) \
static inline void bch_clear_feature_##name(struct cache_sb *sb) \
static inline bool bch_has_unknown_compat_features(struct cache_sb *sb)
static inline bool bch_has_unknown_ro_compat_features(struct cache_sb *sb)
static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk,
memcpy(&dc->sb, sb, sizeof(struct cache_sb));
static const char *read_super(struct cache_sb *sb, struct block_device *bdev,
struct cache_set *bch_cache_set_alloc(struct cache_sb *sb)
static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk,
memcpy(&ca->sb, sb, sizeof(struct cache_sb));
struct cache_sb *sb;
static void *alloc_holder_object(struct cache_sb *sb)
struct cache_sb *sb;
sb = kmalloc_obj(struct cache_sb);
static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out,
static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s)
static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev,