Lines Matching refs:cache_sb
62 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super()
66 struct cache_sb *s; in read_super()
73 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_first_page_all(bio)); in __write_super()
1329 static int register_bdev(struct cache_sb *sb, struct page *sb_page, in register_bdev()
1338 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev()
1730 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
2236 static int register_cache(struct cache_sb *sb, struct page *sb_page, in register_cache()
2243 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
2352 struct cache_sb *sb = NULL; in register_bcache()
2368 sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL); in register_bcache()