/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | features.h | 34 static inline int bch_has_feature_##name(struct cache_sb *sb) \ 41 static inline void bch_set_feature_##name(struct cache_sb *sb) \ 46 static inline void bch_clear_feature_##name(struct cache_sb *sb) \ 53 static inline int bch_has_feature_##name(struct cache_sb *sb) \ 60 static inline void bch_set_feature_##name(struct cache_sb *sb) \ 65 static inline void bch_clear_feature_##name(struct cache_sb *sb) \ 72 static inline int bch_has_feature_##name(struct cache_sb *sb) \ 79 static inline void bch_set_feature_##name(struct cache_sb *sb) \ 84 static inline void bch_clear_feature_##name(struct cache_sb *sb) \ 93 static inline bool bch_has_unknown_compat_features(struct cache_sb *s [all...] |
H A D | bcache.h | 304 struct cache_sb sb; 410 struct cache_sb sb; 762 static inline unsigned int meta_bucket_pages(struct cache_sb *sb) in meta_bucket_pages() 777 static inline unsigned int meta_bucket_bytes(struct cache_sb *sb) in meta_bucket_bytes() 847 * This is used for various on disk data structures - cache_sb, prio_set, bset, 1034 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb);
|
H A D | super.c | 64 static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s) in get_bucket_size() 91 static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev, in read_super_common() 166 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super() 289 static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out, in __write_super() 1477 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev() 1486 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev() 1882 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc() 2367 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache() 2374 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache() 2478 struct cache_sb *s [all...] |
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | features.h | 35 static inline int bch_has_feature_##name(struct cache_sb *sb) \ 42 static inline void bch_set_feature_##name(struct cache_sb *sb) \ 47 static inline void bch_clear_feature_##name(struct cache_sb *sb) \ 54 static inline int bch_has_feature_##name(struct cache_sb *sb) \ 61 static inline void bch_set_feature_##name(struct cache_sb *sb) \ 66 static inline void bch_clear_feature_##name(struct cache_sb *sb) \ 73 static inline int bch_has_feature_##name(struct cache_sb *sb) \ 80 static inline void bch_set_feature_##name(struct cache_sb *sb) \ 85 static inline void bch_clear_feature_##name(struct cache_sb *sb) \ 94 static inline bool bch_has_unknown_compat_features(struct cache_sb *s [all...] |
H A D | bcache_ondisk.h | 222 * NOTE: cache_sb is NOT exactly mapping to cache_sb_disk, the member 226 struct cache_sb { struct 278 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() 285 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1); 286 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1); 287 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3); 292 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4); 297 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2); 314 static inline __u64 jset_magic(struct cache_sb *sb) in jset_magic() 319 static inline __u64 pset_magic(struct cache_sb *s [all...] |
H A D | bcache.h | 304 struct cache_sb sb; 418 struct cache_sb sb; 768 static inline unsigned int meta_bucket_pages(struct cache_sb *sb) in meta_bucket_pages() 783 static inline unsigned int meta_bucket_bytes(struct cache_sb *sb) in meta_bucket_bytes() 846 * This is used for various on disk data structures - cache_sb, prio_set, bset, 1033 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb);
|
H A D | super.c | 64 static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s) in get_bucket_size() 91 static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev, in read_super_common() 166 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super() 289 static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out, in __write_super() 1448 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev() 1456 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev() 1856 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc() 2341 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache() 2347 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache() 2448 struct cache_sb *s [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | bcache.h | 221 * NOTE: cache_sb is NOT exactly mapping to cache_sb_disk, the member 225 struct cache_sb { struct 277 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() 284 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1); 285 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1); 286 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3); 291 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4); 296 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2); 313 static inline __u64 jset_magic(struct cache_sb *sb) in jset_magic() 318 static inline __u64 pset_magic(struct cache_sb *s [all...] |
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | bcache.h | 107 struct cache_sb { struct 144 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() 149 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1); 150 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1); 151 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3); 155 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4); 160 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2); 168 static inline __u64 jset_magic(struct cache_sb *sb) in jset_magic() 172 static inline __u64 pset_magic(struct cache_sb *sb) in pset_magic() 176 static inline __u64 bset_magic(struct cache_sb *s in pset_magic() [all...] |
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | bcache.h | 105 struct cache_sb { struct
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | bcache.h | 105 struct cache_sb { struct
|