Searched refs:cache_sb (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/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.1.27/drivers/md/bcache/ |
D | bcache.h | 310 struct cache_sb sb; 397 struct cache_sb sb; 499 struct cache_sb sb; 932 struct cache_set *bch_cache_set_alloc(struct cache_sb *);
|
D | super.c | 87 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super() 91 struct cache_sb *s; in read_super() 98 s = (struct cache_sb *) bh->b_data; in read_super() 232 static void __write_super(struct cache_sb *sb, struct bio *bio) in __write_super() 234 struct cache_sb *out = page_address(bio->bi_io_vec[0].bv_page); in __write_super() 1172 static void register_bdev(struct cache_sb *sb, struct page *sb_page, in register_bdev() 1180 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev() 1482 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc() 1839 static int cache_alloc(struct cache_sb *sb, struct cache *ca) in cache_alloc() 1875 static int register_cache(struct cache_sb *sb, struct page *sb_page, in register_cache() [all …]
|