Symbol: cache_sb
drivers/md/bcache/bcache.h
1043
struct cache_set *bch_cache_set_alloc(struct cache_sb *sb);
drivers/md/bcache/bcache.h
308
struct cache_sb sb;
drivers/md/bcache/bcache.h
422
struct cache_sb sb;
drivers/md/bcache/bcache.h
778
static inline unsigned int meta_bucket_pages(struct cache_sb *sb)
drivers/md/bcache/bcache.h
793
static inline unsigned int meta_bucket_bytes(struct cache_sb *sb)
drivers/md/bcache/bcache_ondisk.h
278
static inline _Bool SB_IS_BDEV(const struct cache_sb *sb)
drivers/md/bcache/bcache_ondisk.h
285
BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1);
drivers/md/bcache/bcache_ondisk.h
286
BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1);
drivers/md/bcache/bcache_ondisk.h
287
BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3);
drivers/md/bcache/bcache_ondisk.h
292
BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4);
drivers/md/bcache/bcache_ondisk.h
297
BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2);
drivers/md/bcache/bcache_ondisk.h
314
static inline __u64 jset_magic(struct cache_sb *sb)
drivers/md/bcache/bcache_ondisk.h
319
static inline __u64 pset_magic(struct cache_sb *sb)
drivers/md/bcache/bcache_ondisk.h
324
static inline __u64 bset_magic(struct cache_sb *sb)
drivers/md/bcache/features.h
104
static inline bool bch_has_unknown_incompat_features(struct cache_sb *sb)
drivers/md/bcache/features.h
35
static inline int bch_has_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
42
static inline void bch_set_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
47
static inline void bch_clear_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
54
static inline int bch_has_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
61
static inline void bch_set_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
66
static inline void bch_clear_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
73
static inline int bch_has_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
80
static inline void bch_set_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
85
static inline void bch_clear_feature_##name(struct cache_sb *sb) \
drivers/md/bcache/features.h
94
static inline bool bch_has_unknown_compat_features(struct cache_sb *sb)
drivers/md/bcache/features.h
99
static inline bool bch_has_unknown_ro_compat_features(struct cache_sb *sb)
drivers/md/bcache/super.c
1457
static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk,
drivers/md/bcache/super.c
1465
memcpy(&dc->sb, sb, sizeof(struct cache_sb));
drivers/md/bcache/super.c
166
static const char *read_super(struct cache_sb *sb, struct block_device *bdev,
drivers/md/bcache/super.c
1870
struct cache_set *bch_cache_set_alloc(struct cache_sb *sb)
drivers/md/bcache/super.c
2389
static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk,
drivers/md/bcache/super.c
2396
memcpy(&ca->sb, sb, sizeof(struct cache_sb));
drivers/md/bcache/super.c
2492
struct cache_sb *sb;
drivers/md/bcache/super.c
2550
static void *alloc_holder_object(struct cache_sb *sb)
drivers/md/bcache/super.c
2562
struct cache_sb *sb;
drivers/md/bcache/super.c
2591
sb = kmalloc_obj(struct cache_sb);
drivers/md/bcache/super.c
289
static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out,
drivers/md/bcache/super.c
64
static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s)
drivers/md/bcache/super.c
91
static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev,