Lines Matching refs:sb_disk
351 __write_super(&dc->sb, dc->sb_disk, bio); in bch_write_bdev_super()
393 __write_super(&ca->sb, ca->sb_disk, bio); in bcache_write_super()
1368 if (dc->sb_disk) in CLOSURE_CALLBACK()
1369 put_page(virt_to_page(dc->sb_disk)); in CLOSURE_CALLBACK()
1441 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev() argument
1452 dc->sb_disk = sb_disk; in register_bdev()
2212 if (ca->sb_disk) in bch_cache_release()
2213 put_page(virt_to_page(ca->sb_disk)); in bch_cache_release()
2335 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache() argument
2345 ca->sb_disk = sb_disk; in register_cache()
2442 struct cache_sb_disk *sb_disk; member
2454 if (register_bdev(args->sb, args->sb_disk, args->bdev_file, in register_bdev_worker()
2475 if (register_cache(args->sb, args->sb_disk, args->bdev_file, in register_cache_worker()
2512 struct cache_sb_disk *sb_disk; in register_bcache() local
2550 err = read_super(sb, file_bdev(bdev_file), &sb_disk); in register_bcache()
2602 args->sb_disk = sb_disk; in register_bcache()
2612 ret = register_bdev(sb, sb_disk, bdev_file, holder); in register_bcache()
2619 ret = register_cache(sb, sb_disk, bdev_file, holder); in register_bcache()
2633 put_page(virt_to_page(sb_disk)); in register_bcache()