Lines Matching refs:bch_register_lock
43 struct mutex bch_register_lock; variable
506 lockdep_assert_held(&bch_register_lock); in __uuid_write()
790 lockdep_assert_held(&bch_register_lock); in bcache_device_unlink()
826 lockdep_assert_held(&bch_register_lock); in bcache_device_detach()
873 lockdep_assert_held(&bch_register_lock); in bcache_device_free()
1158 mutex_lock(&bch_register_lock); in cached_dev_detach_finish()
1167 mutex_unlock(&bch_register_lock); in cached_dev_detach_finish()
1177 lockdep_assert_held(&bch_register_lock); in bch_cached_dev_detach()
1365 mutex_lock(&bch_register_lock); in CLOSURE_CALLBACK()
1374 mutex_unlock(&bch_register_lock); in CLOSURE_CALLBACK()
1392 mutex_lock(&bch_register_lock); in CLOSURE_CALLBACK()
1394 mutex_unlock(&bch_register_lock); in CLOSURE_CALLBACK()
1507 mutex_lock(&bch_register_lock); in CLOSURE_CALLBACK()
1512 mutex_unlock(&bch_register_lock); in CLOSURE_CALLBACK()
1520 mutex_lock(&bch_register_lock); in CLOSURE_CALLBACK()
1522 mutex_unlock(&bch_register_lock); in CLOSURE_CALLBACK()
1685 mutex_lock(&bch_register_lock); in CLOSURE_CALLBACK()
1706 mutex_unlock(&bch_register_lock); in CLOSURE_CALLBACK()
1824 mutex_lock(&bch_register_lock); in CLOSURE_CALLBACK()
1842 mutex_unlock(&bch_register_lock); in CLOSURE_CALLBACK()
2420 mutex_lock(&bch_register_lock); in register_cache()
2422 mutex_unlock(&bch_register_lock); in register_cache()
2497 mutex_lock(&bch_register_lock); in register_bdev_worker()
2501 mutex_unlock(&bch_register_lock); in register_bdev_worker()
2616 mutex_lock(&bch_register_lock); in register_bcache()
2622 mutex_unlock(&bch_register_lock); in register_bcache()
2655 mutex_lock(&bch_register_lock); in register_bcache()
2657 mutex_unlock(&bch_register_lock); in register_bcache()
2711 mutex_lock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2732 mutex_unlock(&bch_register_lock); in bch_pending_bdevs_cleanup()
2759 mutex_lock(&bch_register_lock); in bcache_reboot()
2776 mutex_unlock(&bch_register_lock); in bcache_reboot()
2811 mutex_lock(&bch_register_lock); in bcache_reboot()
2821 mutex_unlock(&bch_register_lock); in bcache_reboot()
2832 mutex_unlock(&bch_register_lock); in bcache_reboot()
2860 mutex_destroy(&bch_register_lock); in bcache_exit()
2900 mutex_init(&bch_register_lock); in bcache_init()
2907 mutex_destroy(&bch_register_lock); in bcache_init()