Home
last modified time | relevance | path

Searched refs:bucket_lock (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/drivers/md/bcache/
H A Dalloc.c102 mutex_lock(&c->bucket_lock); in bch_rescale_priorities()
115 mutex_unlock(&c->bucket_lock); in bch_rescale_priorities()
318 mutex_lock(&(ca)->set->bucket_lock); \
342 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
357 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
361 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
437 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
439 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
518 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
541 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
[all …]
H A Dbtree.c684 mutex_lock(&c->bucket_lock); in bch_mca_scan()
730 mutex_unlock(&c->bucket_lock); in bch_mca_scan()
758 mutex_lock(&c->bucket_lock); in bch_btree_cache_free()
793 mutex_unlock(&c->bucket_lock); in bch_btree_cache_free()
1022 mutex_lock(&c->bucket_lock); in bch_btree_node_get()
1128 mutex_lock(&c->bucket_lock); in __bch_btree_node_alloc()
1151 mutex_unlock(&c->bucket_lock); in __bch_btree_node_alloc()
1211 mutex_lock(&c->bucket_lock); in btree_check_reserve()
1746 mutex_lock(&c->bucket_lock); in btree_gc_start()
1772 mutex_lock(&c->bucket_lock); in bch_btree_gc_finish()
[all …]
H A Dextents.c180 if (mutex_trylock(&b->c->bucket_lock)) { in btree_ptr_bad_expensive()
192 mutex_unlock(&b->c->bucket_lock); in btree_ptr_bad_expensive()
197 mutex_unlock(&b->c->bucket_lock); in btree_ptr_bad_expensive()
520 if (mutex_trylock(&b->c->bucket_lock)) { in bch_extent_bad_expensive()
530 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()
535 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()
H A Dsysfs.c689 mutex_lock(&c->bucket_lock); in bch_cache_size()
693 mutex_unlock(&c->bucket_lock); in bch_cache_size()
702 mutex_lock(&c->bucket_lock); in bch_cache_max_chain()
710 mutex_unlock(&c->bucket_lock); in bch_cache_max_chain()
1071 mutex_lock(&ca->set->bucket_lock); in SHOW()
1085 mutex_unlock(&ca->set->bucket_lock); in SHOW()
1165 mutex_lock(&ca->set->bucket_lock); in STORE()
1167 mutex_unlock(&ca->set->bucket_lock); in STORE()
H A Dmovinggc.c213 mutex_lock(&c->bucket_lock); in bch_moving_gc()
254 mutex_unlock(&c->bucket_lock); in bch_moving_gc()
H A Dsuper.c635 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()
1890 mutex_init(&c->bucket_lock); in bch_cache_set_alloc()
2075 mutex_lock(&c->bucket_lock); in run_cache_set()
2077 mutex_unlock(&c->bucket_lock); in run_cache_set()
H A Djournal.c454 mutex_lock(&c->bucket_lock); in btree_flush_write()
528 mutex_unlock(&c->bucket_lock); in btree_flush_write()
H A Dbcache.h551 struct mutex bucket_lock; member
/linux-6.15/fs/bcachefs/
H A Dbuckets.h51 static inline void bucket_lock(struct bucket *b) in bucket_lock() function
H A Dbuckets.c636 bucket_lock(g); in bch2_trigger_pointer()
1005 bucket_lock(g); in bch2_mark_metadata_bucket()
H A Dec.c331 bucket_lock(g); in mark_stripe_bucket()