Lines Matching refs:bch_register_lock

44 struct mutex bch_register_lock;  variable
510 lockdep_assert_held(&bch_register_lock); in __uuid_write()
794 lockdep_assert_held(&bch_register_lock); in bcache_device_unlink()
830 lockdep_assert_held(&bch_register_lock); in bcache_device_detach()
877 lockdep_assert_held(&bch_register_lock); in bcache_device_free()
1156 mutex_lock(&bch_register_lock); in cached_dev_detach_finish()
1165 mutex_unlock(&bch_register_lock); in cached_dev_detach_finish()
1175 lockdep_assert_held(&bch_register_lock); in bch_cached_dev_detach()
1363 mutex_lock(&bch_register_lock); in cached_dev_free()
1372 mutex_unlock(&bch_register_lock); in cached_dev_free()
1390 mutex_lock(&bch_register_lock); in cached_dev_flush()
1392 mutex_unlock(&bch_register_lock); in cached_dev_flush()
1510 mutex_lock(&bch_register_lock); in flash_dev_free()
1515 mutex_unlock(&bch_register_lock); in flash_dev_free()
1523 mutex_lock(&bch_register_lock); in flash_dev_flush()
1525 mutex_unlock(&bch_register_lock); in flash_dev_flush()
1688 mutex_lock(&bch_register_lock); in cache_set_free()
1709 mutex_unlock(&bch_register_lock); in cache_set_free()
1822 mutex_lock(&bch_register_lock); in __cache_set_unregister()
1840 mutex_unlock(&bch_register_lock); in __cache_set_unregister()
2383 mutex_lock(&bch_register_lock); in register_cache()
2385 mutex_unlock(&bch_register_lock); in register_cache()
2473 mutex_lock(&bch_register_lock); in register_bdev_worker()
2476 mutex_unlock(&bch_register_lock); in register_bdev_worker()
2573 mutex_lock(&bch_register_lock); in register_bcache()
2579 mutex_unlock(&bch_register_lock); in register_bcache()
2625 mutex_lock(&bch_register_lock); in register_bcache()
2627 mutex_unlock(&bch_register_lock); in register_bcache()
2686 mutex_lock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2707 mutex_unlock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2734 mutex_lock(&bch_register_lock); in bcache_reboot()
2751 mutex_unlock(&bch_register_lock); in bcache_reboot()
2786 mutex_lock(&bch_register_lock); in bcache_reboot()
2796 mutex_unlock(&bch_register_lock); in bcache_reboot()
2807 mutex_unlock(&bch_register_lock); in bcache_reboot()
2835 mutex_destroy(&bch_register_lock); in bcache_exit()
2875 mutex_init(&bch_register_lock); in bcache_init()
2882 mutex_destroy(&bch_register_lock); in bcache_init()