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