Lines Matching refs:bch_register_lock
42 struct mutex bch_register_lock; variable
423 lockdep_assert_held(&bch_register_lock); in __uuid_write()
669 lockdep_assert_held(&bch_register_lock); in bcache_device_unlink()
704 lockdep_assert_held(&bch_register_lock); in bcache_device_detach()
749 lockdep_assert_held(&bch_register_lock); in bcache_device_free()
995 mutex_lock(&bch_register_lock); in cached_dev_detach_finish()
1017 mutex_unlock(&bch_register_lock); in cached_dev_detach_finish()
1027 lockdep_assert_held(&bch_register_lock); in bch_cached_dev_detach()
1186 mutex_lock(&bch_register_lock); in cached_dev_free()
1203 mutex_unlock(&bch_register_lock); in cached_dev_free()
1218 mutex_lock(&bch_register_lock); in cached_dev_flush()
1220 mutex_unlock(&bch_register_lock); in cached_dev_flush()
1337 mutex_lock(&bch_register_lock); in flash_dev_free()
1341 mutex_unlock(&bch_register_lock); in flash_dev_free()
1349 mutex_lock(&bch_register_lock); in flash_dev_flush()
1351 mutex_unlock(&bch_register_lock); in flash_dev_flush()
1535 mutex_lock(&bch_register_lock); in cache_set_free()
1537 mutex_unlock(&bch_register_lock); in cache_set_free()
1648 mutex_lock(&bch_register_lock); in __cache_set_unregister()
1666 mutex_unlock(&bch_register_lock); in __cache_set_unregister()
2128 mutex_lock(&bch_register_lock); in register_cache()
2130 mutex_unlock(&bch_register_lock); in register_cache()
2218 mutex_lock(&bch_register_lock); in register_bcache()
2223 mutex_unlock(&bch_register_lock); in register_bcache()
2247 mutex_lock(&bch_register_lock); in register_bcache()
2249 mutex_unlock(&bch_register_lock); in register_bcache()
2287 mutex_lock(&bch_register_lock); in bcache_reboot()
2314 mutex_unlock(&bch_register_lock); in bcache_reboot()
2316 mutex_lock(&bch_register_lock); in bcache_reboot()
2326 mutex_unlock(&bch_register_lock); in bcache_reboot()
2351 mutex_destroy(&bch_register_lock); in bcache_exit()
2362 mutex_init(&bch_register_lock); in bcache_init()
2369 mutex_destroy(&bch_register_lock); in bcache_init()