Lines Matching refs:bch_register_lock

43 struct mutex bch_register_lock;  variable
507 lockdep_assert_held(&bch_register_lock); in __uuid_write()
790 lockdep_assert_held(&bch_register_lock); in bcache_device_unlink()
826 lockdep_assert_held(&bch_register_lock); in bcache_device_detach()
873 lockdep_assert_held(&bch_register_lock); in bcache_device_free()
1151 mutex_lock(&bch_register_lock); in cached_dev_detach_finish()
1160 mutex_unlock(&bch_register_lock); in cached_dev_detach_finish()
1170 lockdep_assert_held(&bch_register_lock); in bch_cached_dev_detach()
1358 mutex_lock(&bch_register_lock); in cached_dev_free()
1367 mutex_unlock(&bch_register_lock); in cached_dev_free()
1385 mutex_lock(&bch_register_lock); in cached_dev_flush()
1387 mutex_unlock(&bch_register_lock); in cached_dev_flush()
1505 mutex_lock(&bch_register_lock); in flash_dev_free()
1510 mutex_unlock(&bch_register_lock); in flash_dev_free()
1518 mutex_lock(&bch_register_lock); in flash_dev_flush()
1520 mutex_unlock(&bch_register_lock); in flash_dev_flush()
1683 mutex_lock(&bch_register_lock); in cache_set_free()
1704 mutex_unlock(&bch_register_lock); in cache_set_free()
1817 mutex_lock(&bch_register_lock); in __cache_set_unregister()
1835 mutex_unlock(&bch_register_lock); in __cache_set_unregister()
2379 mutex_lock(&bch_register_lock); in register_cache()
2381 mutex_unlock(&bch_register_lock); in register_cache()
2469 mutex_lock(&bch_register_lock); in register_bdev_worker()
2472 mutex_unlock(&bch_register_lock); in register_bdev_worker()
2569 mutex_lock(&bch_register_lock); in register_bcache()
2575 mutex_unlock(&bch_register_lock); in register_bcache()
2621 mutex_lock(&bch_register_lock); in register_bcache()
2623 mutex_unlock(&bch_register_lock); in register_bcache()
2682 mutex_lock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2703 mutex_unlock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2730 mutex_lock(&bch_register_lock); in bcache_reboot()
2747 mutex_unlock(&bch_register_lock); in bcache_reboot()
2782 mutex_lock(&bch_register_lock); in bcache_reboot()
2792 mutex_unlock(&bch_register_lock); in bcache_reboot()
2803 mutex_unlock(&bch_register_lock); in bcache_reboot()
2831 mutex_destroy(&bch_register_lock); in bcache_exit()
2871 mutex_init(&bch_register_lock); in bcache_init()
2878 mutex_destroy(&bch_register_lock); in bcache_init()