Lines Matching refs:cache_sb
63 static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s) in get_bucket_size()
74 static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev, in read_super_common()
149 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super()
258 static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out, in __write_super()
1432 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev()
1441 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev()
1831 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
2312 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache()
2319 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
2423 struct cache_sb *sb;
2503 struct cache_sb *sb; in register_bcache()
2530 sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL); in register_bcache()