Home
last modified time | relevance | path

Searched refs:bch_register_lock (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dsuper.c43 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()
[all …]
H A Dsysfs.h27 mutex_lock(&bch_register_lock); \
29 mutex_unlock(&bch_register_lock); \
37 mutex_lock(&bch_register_lock); \
39 mutex_unlock(&bch_register_lock); \
H A Dsysfs.c450 mutex_lock(&bch_register_lock); in STORE()
483 mutex_unlock(&bch_register_lock); in STORE()
H A Dbcache.h1005 extern struct mutex bch_register_lock;
H A Drequest.c1149 if (mutex_trylock(&bch_register_lock)) { in quit_max_writeback_rate()
1166 mutex_unlock(&bch_register_lock); in quit_max_writeback_rate()