Home
last modified time | relevance | path

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

/linux/drivers/md/bcache/
A Dalloc.c102 mutex_lock(&c->bucket_lock); in bch_rescale_priorities()
115 mutex_unlock(&c->bucket_lock); in bch_rescale_priorities()
325 mutex_lock(&(ca)->set->bucket_lock); \
349 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
364 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
368 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
444 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
446 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
525 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
548 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
[all …]
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 …]
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()
528 if (mutex_trylock(&b->c->bucket_lock)) { in bch_extent_bad_expensive()
538 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()
543 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()
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()
A Dmovinggc.c221 mutex_lock(&c->bucket_lock); in bch_moving_gc()
262 mutex_unlock(&c->bucket_lock); in bch_moving_gc()
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()
A Djournal.c454 mutex_lock(&c->bucket_lock); in btree_flush_write()
528 mutex_unlock(&c->bucket_lock); in btree_flush_write()
A Dbcache.h551 struct mutex bucket_lock; member
/linux/fs/bcachefs/
A Dbuckets.h77 static inline void bucket_lock(struct bucket *b) in bucket_lock() function
94 lockdep_is_held(&ca->bucket_lock)); in bucket_gens()
A Dbuckets.c611 bucket_lock(g); in bch2_trigger_pointer()
999 bucket_lock(g); in bch2_mark_metadata_bucket()
1281 down_write(&ca->bucket_lock); in bch2_dev_buckets_resize()
1302 up_write(&ca->bucket_lock); in bch2_dev_buckets_resize()
A Dbcachefs.h549 struct rw_semaphore bucket_lock; member
A Dsuper.c1312 init_rwsem(&ca->bucket_lock); in __bch2_dev_alloc()
A Dec.c316 bucket_lock(g); in mark_stripe_bucket()

Completed in 47 milliseconds