Lines Matching refs:cache_sb
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()
1848 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
1936 struct cache_sb *sb = NULL; in register_bcache()
1944 !(sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL))) in register_bcache()