Home
last modified time | relevance | path

Searched refs:SIX_LOCK_write (Results 1 – 7 of 7) sorted by relevance

/fs/bcachefs/
A Dsix.c56 .unlock_wakeup = SIX_LOCK_write,
64 [SIX_LOCK_write] = {
169 ret = -1 - SIX_LOCK_write; in __do_six_trylock()
302 if (type != SIX_LOCK_write) in six_trylock_ip()
354 if (type == SIX_LOCK_write) in six_optimistic_spin()
414 if (type == SIX_LOCK_write) { in six_lock_slowpath()
549 if (type != SIX_LOCK_write) in six_lock_ip_waiter()
614 if (type != SIX_LOCK_write) in six_unlock_ip()
629 if (type == SIX_LOCK_write) in six_unlock_ip()
700 EBUG_ON(to == SIX_LOCK_write || from == SIX_LOCK_write); in six_trylock_convert()
[all …]
A Dbtree_locking.h37 BTREE_NODE_WRITE_LOCKED = SIX_LOCK_write,
193 EBUG_ON(btree_node_locked_type(path, b->c.level) != SIX_LOCK_write); in bch2_btree_node_unlock_write_inlined()
A Dsix.h133 SIX_LOCK_write, enumerator
A Dbtree_locking.c190 if (trans->locking_wait.lock_want == SIX_LOCK_write) in btree_trans_abort_preference()
436 ret = __btree_node_lock_nopath(trans, b, SIX_LOCK_write, in __bch2_btree_node_lock_write()
A Dbtree_io.c489 EBUG_ON(!six_lock_counts(&b->c.lock).n[SIX_LOCK_write]); in bch2_btree_init_next()
496 bch2_btree_node_write_trans(trans, b, SIX_LOCK_write, in bch2_btree_init_next()
2656 if (lock_type_held == SIX_LOCK_write && in bch2_btree_node_write()
2684 if (lock_type_held == SIX_LOCK_write && in bch2_btree_node_write_trans()
A Dbtree_update_interior.c380 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_write); in bch2_btree_node_alloc()
502 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_write); in bch2_btree_reserve_put()
A Dbtree_cache.c1367 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_write); in bch2_btree_node_evict()

Completed in 20 milliseconds