Lines Matching refs:cache_sb
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()
2196 struct cache_sb *sb = NULL; in register_bcache()
2207 sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL); in register_bcache()