Searched refs:cache_sb (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/include/uapi/linux/ |
D | bcache.h | 159 struct cache_sb { struct 210 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() argument 216 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1); 217 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1); 218 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3); 223 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4); 228 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2); 245 static inline __u64 jset_magic(struct cache_sb *sb) in jset_magic() 250 static inline __u64 pset_magic(struct cache_sb *sb) in pset_magic() 255 static inline __u64 bset_magic(struct cache_sb *sb) in bset_magic()
|
/Linux-v4.19/drivers/md/bcache/ |
D | bcache.h | 303 struct cache_sb sb; 405 struct cache_sb sb; 515 struct cache_sb sb; 997 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb);
|
D | super.c | 60 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super() 64 struct cache_sb *s; in read_super() 71 s = (struct cache_sb *) bh->b_data; in read_super() 205 static void __write_super(struct cache_sb *sb, struct bio *bio) in __write_super() 207 struct cache_sb *out = page_address(bio_first_page_all(bio)); in __write_super() 1280 static void register_bdev(struct cache_sb *sb, struct page *sb_page, in register_bdev() 1288 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev() 1686 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc() 2092 static int register_cache(struct cache_sb *sb, struct page *sb_page, in register_cache() 2099 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache() [all …]
|