Home
last modified time | relevance | path

Searched refs:alloc_lock (Results 1 – 2 of 2) sorted by relevance

/fs/bcachefs/
A Dbtree_cache.c711 if (bc->alloc_lock == current) { in bch2_btree_cache_cannibalize_unlock()
713 bc->alloc_lock = NULL; in bch2_btree_cache_cannibalize_unlock()
725 if (try_cmpxchg(&bc->alloc_lock, &old, current) || old == current) in bch2_btree_cache_cannibalize_lock()
737 if (try_cmpxchg(&bc->alloc_lock, &old, current) || old == current) { in bch2_btree_cache_cannibalize_lock()
870 if (bc->alloc_lock == current) { in bch2_btree_node_mem_alloc()
1498 prt_printf(out, "cannibalize lock:\t%s\n", bc->alloc_lock ? "held" : "not held"); in bch2_btree_cache_to_text()
A Dbtree_types.h204 struct task_struct *alloc_lock; member

Completed in 11 milliseconds