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()
1441 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev()
1449 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev()
1850 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
2335 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache()
2342 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
2441 struct cache_sb *sb;
2499 static void *alloc_holder_object(struct cache_sb *sb) in alloc_holder_object()
2511 struct cache_sb *sb; in register_bcache()
2540 sb = kmalloc(sizeof(struct cache_sb), GFP_KERNEL); in register_bcache()