Lines Matching refs:cache_sb
64 static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s) in get_bucket_size()
91 static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev, in read_super_common()
166 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super()
289 static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out, in __write_super()
1446 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev()
1454 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev()
1854 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
2339 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache()
2345 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
2446 struct cache_sb *sb;
2503 static void *alloc_holder_object(struct cache_sb *sb) in alloc_holder_object()
2515 struct cache_sb *sb; in register_bcache()
2544 sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL); in register_bcache()