Lines Matching refs:cache_sb
65 static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s) in get_bucket_size()
92 static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev, in read_super_common()
167 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super()
290 static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out, in __write_super()
1456 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev()
1465 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev()
1861 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
2345 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache()
2352 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
2454 struct cache_sb *sb;
2534 struct cache_sb *sb; in register_bcache()
2561 sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL); in register_bcache()