Lines Matching refs:bch_register_lock

43 struct mutex bch_register_lock;  variable
478 lockdep_assert_held(&bch_register_lock); in __uuid_write()
762 lockdep_assert_held(&bch_register_lock); in bcache_device_unlink()
798 lockdep_assert_held(&bch_register_lock); in bcache_device_detach()
845 lockdep_assert_held(&bch_register_lock); in bcache_device_free()
1139 mutex_lock(&bch_register_lock); in cached_dev_detach_finish()
1148 mutex_unlock(&bch_register_lock); in cached_dev_detach_finish()
1158 lockdep_assert_held(&bch_register_lock); in bch_cached_dev_detach()
1345 mutex_lock(&bch_register_lock); in cached_dev_free()
1352 mutex_unlock(&bch_register_lock); in cached_dev_free()
1370 mutex_lock(&bch_register_lock); in cached_dev_flush()
1372 mutex_unlock(&bch_register_lock); in cached_dev_flush()
1492 mutex_lock(&bch_register_lock); in flash_dev_free()
1496 mutex_unlock(&bch_register_lock); in flash_dev_free()
1504 mutex_lock(&bch_register_lock); in flash_dev_flush()
1506 mutex_unlock(&bch_register_lock); in flash_dev_flush()
1658 mutex_lock(&bch_register_lock); in cache_set_free()
1679 mutex_unlock(&bch_register_lock); in cache_set_free()
1792 mutex_lock(&bch_register_lock); in __cache_set_unregister()
1810 mutex_unlock(&bch_register_lock); in __cache_set_unregister()
2353 mutex_lock(&bch_register_lock); in register_cache()
2355 mutex_unlock(&bch_register_lock); in register_cache()
2443 mutex_lock(&bch_register_lock); in register_bdev_worker()
2446 mutex_unlock(&bch_register_lock); in register_bdev_worker()
2542 mutex_lock(&bch_register_lock); in register_bcache()
2547 mutex_unlock(&bch_register_lock); in register_bcache()
2592 mutex_lock(&bch_register_lock); in register_bcache()
2594 mutex_unlock(&bch_register_lock); in register_bcache()
2649 mutex_lock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2670 mutex_unlock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2697 mutex_lock(&bch_register_lock); in bcache_reboot()
2714 mutex_unlock(&bch_register_lock); in bcache_reboot()
2749 mutex_lock(&bch_register_lock); in bcache_reboot()
2759 mutex_unlock(&bch_register_lock); in bcache_reboot()
2770 mutex_unlock(&bch_register_lock); in bcache_reboot()
2795 mutex_destroy(&bch_register_lock); in bcache_exit()
2835 mutex_init(&bch_register_lock); in bcache_init()
2842 mutex_destroy(&bch_register_lock); in bcache_init()