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()
1155 mutex_lock(&bch_register_lock); in cached_dev_detach_finish()
1164 mutex_unlock(&bch_register_lock); in cached_dev_detach_finish()
1174 lockdep_assert_held(&bch_register_lock); in bch_cached_dev_detach()
1367 mutex_lock(&bch_register_lock); in cached_dev_free()
1376 mutex_unlock(&bch_register_lock); in cached_dev_free()
1394 mutex_lock(&bch_register_lock); in cached_dev_flush()
1396 mutex_unlock(&bch_register_lock); in cached_dev_flush()
1515 mutex_lock(&bch_register_lock); in flash_dev_free()
1520 mutex_unlock(&bch_register_lock); in flash_dev_free()
1528 mutex_lock(&bch_register_lock); in flash_dev_flush()
1530 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()
2384 mutex_lock(&bch_register_lock); in register_cache()
2386 mutex_unlock(&bch_register_lock); in register_cache()
2474 mutex_lock(&bch_register_lock); in register_bdev_worker()
2477 mutex_unlock(&bch_register_lock); in register_bdev_worker()
2574 mutex_lock(&bch_register_lock); in register_bcache()
2580 mutex_unlock(&bch_register_lock); in register_bcache()
2623 mutex_lock(&bch_register_lock); in register_bcache()
2625 mutex_unlock(&bch_register_lock); in register_bcache()
2680 mutex_lock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2701 mutex_unlock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2728 mutex_lock(&bch_register_lock); in bcache_reboot()
2745 mutex_unlock(&bch_register_lock); in bcache_reboot()
2780 mutex_lock(&bch_register_lock); in bcache_reboot()
2790 mutex_unlock(&bch_register_lock); in bcache_reboot()
2801 mutex_unlock(&bch_register_lock); in bcache_reboot()
2829 mutex_destroy(&bch_register_lock); in bcache_exit()
2869 mutex_init(&bch_register_lock); in bcache_init()
2876 mutex_destroy(&bch_register_lock); in bcache_init()