Searched refs:cache_sb (Results 1 – 3 of 3) sorted by relevance
| /linux/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 *sb) in bch_has_unknown_compat_features() [all …]
|
| H A D | bcache_ondisk.h | 226 struct cache_sb { struct 278 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() argument 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 *sb) in pset_magic() 324 static inline __u64 bset_magic(struct cache_sb *sb) in bset_magic()
|
| H A D | bcache.h | 308 struct cache_sb sb; 422 struct cache_sb sb; 778 static inline unsigned int meta_bucket_pages(struct cache_sb *sb) in meta_bucket_pages() 793 static inline unsigned int meta_bucket_bytes(struct cache_sb *sb) in meta_bucket_bytes() 1043 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb);
|