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()
1447 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev()
1455 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev()
1856 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
2341 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache()
2347 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
2449 struct cache_sb *sb;
2529 struct cache_sb *sb; in register_bcache()
2556 sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL); in register_bcache()