Searched refs:cache_sb (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/include/uapi/linux/ |
D | bcache.h | 156 struct cache_sb { struct 207 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() argument 213 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1); 214 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1); 215 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3); 220 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4); 225 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2); 242 static inline __u64 jset_magic(struct cache_sb *sb) in jset_magic() 247 static inline __u64 pset_magic(struct cache_sb *sb) in pset_magic() 252 static inline __u64 bset_magic(struct cache_sb *sb) in bset_magic()
|
/linux-4.4.14/drivers/md/bcache/ |
D | bcache.h | 295 struct cache_sb sb; 382 struct cache_sb sb; 482 struct cache_sb sb; 914 struct cache_set *bch_cache_set_alloc(struct cache_sb *);
|
D | super.c | 64 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super() 68 struct cache_sb *s; in read_super() 75 s = (struct cache_sb *) bh->b_data; in read_super() 209 static void __write_super(struct cache_sb *sb, struct bio *bio) in __write_super() 211 struct cache_sb *out = page_address(bio->bi_io_vec[0].bv_page); in __write_super() 1141 static void register_bdev(struct cache_sb *sb, struct page *sb_page, in register_bdev() 1149 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev() 1451 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc() 1806 static int cache_alloc(struct cache_sb *sb, struct cache *ca) in cache_alloc() 1841 static int register_cache(struct cache_sb *sb, struct page *sb_page, in register_cache() [all …]
|