Searched refs:bucket_lock (Results 1 – 3 of 3) sorted by relevance
179 if (mutex_trylock(&b->c->bucket_lock)) { in btree_ptr_bad_expensive()191 mutex_unlock(&b->c->bucket_lock); in btree_ptr_bad_expensive()196 mutex_unlock(&b->c->bucket_lock); in btree_ptr_bad_expensive()513 if (mutex_trylock(&b->c->bucket_lock)) { in bch_extent_bad_expensive()523 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()528 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()
635 lockdep_assert_held(&ca->set->bucket_lock); in bch_prio_write()662 mutex_unlock(&ca->set->bucket_lock); in bch_prio_write()664 mutex_lock(&ca->set->bucket_lock); in bch_prio_write()670 mutex_unlock(&ca->set->bucket_lock); in bch_prio_write()675 mutex_lock(&ca->set->bucket_lock); in bch_prio_write()1903 mutex_init(&c->bucket_lock); in bch_cache_set_alloc()2090 mutex_lock(&c->bucket_lock); in run_cache_set()2092 mutex_unlock(&c->bucket_lock); in run_cache_set()
550 struct mutex bucket_lock; member