Lines Matching refs:bch_register_lock

43 struct mutex bch_register_lock;  variable
509 lockdep_assert_held(&bch_register_lock); in __uuid_write()
793 lockdep_assert_held(&bch_register_lock); in bcache_device_unlink()
829 lockdep_assert_held(&bch_register_lock); in bcache_device_detach()
876 lockdep_assert_held(&bch_register_lock); in bcache_device_free()
1176 mutex_lock(&bch_register_lock); in cached_dev_detach_finish()
1185 mutex_unlock(&bch_register_lock); in cached_dev_detach_finish()
1195 lockdep_assert_held(&bch_register_lock); in bch_cached_dev_detach()
1388 mutex_lock(&bch_register_lock); in cached_dev_free()
1395 mutex_unlock(&bch_register_lock); in cached_dev_free()
1413 mutex_lock(&bch_register_lock); in cached_dev_flush()
1415 mutex_unlock(&bch_register_lock); in cached_dev_flush()
1535 mutex_lock(&bch_register_lock); in flash_dev_free()
1539 mutex_unlock(&bch_register_lock); in flash_dev_free()
1547 mutex_lock(&bch_register_lock); in flash_dev_flush()
1549 mutex_unlock(&bch_register_lock); in flash_dev_flush()
1707 mutex_lock(&bch_register_lock); in cache_set_free()
1728 mutex_unlock(&bch_register_lock); in cache_set_free()
1841 mutex_lock(&bch_register_lock); in __cache_set_unregister()
1859 mutex_unlock(&bch_register_lock); in __cache_set_unregister()
2406 mutex_lock(&bch_register_lock); in register_cache()
2408 mutex_unlock(&bch_register_lock); in register_cache()
2496 mutex_lock(&bch_register_lock); in register_bdev_worker()
2499 mutex_unlock(&bch_register_lock); in register_bdev_worker()
2595 mutex_lock(&bch_register_lock); in register_bcache()
2600 mutex_unlock(&bch_register_lock); in register_bcache()
2645 mutex_lock(&bch_register_lock); in register_bcache()
2647 mutex_unlock(&bch_register_lock); in register_bcache()
2702 mutex_lock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2723 mutex_unlock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2750 mutex_lock(&bch_register_lock); in bcache_reboot()
2767 mutex_unlock(&bch_register_lock); in bcache_reboot()
2802 mutex_lock(&bch_register_lock); in bcache_reboot()
2812 mutex_unlock(&bch_register_lock); in bcache_reboot()
2823 mutex_unlock(&bch_register_lock); in bcache_reboot()
2851 mutex_destroy(&bch_register_lock); in bcache_exit()
2891 mutex_init(&bch_register_lock); in bcache_init()
2898 mutex_destroy(&bch_register_lock); in bcache_init()