Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
A Dsix.c56 .unlock_wakeup = SIX_LOCK_write,
64 [SIX_LOCK_write] = {
124 EBUG_ON(type == SIX_LOCK_write && in __do_six_trylock()
169 ret = -1 - SIX_LOCK_write; in __do_six_trylock()
302 if (type != SIX_LOCK_write) in six_trylock_ip()
357 if (type == SIX_LOCK_write) in six_optimistic_spin()
417 if (type == SIX_LOCK_write) { in six_lock_slowpath()
552 if (type != SIX_LOCK_write) in six_lock_ip_waiter()
617 if (type != SIX_LOCK_write) in six_unlock_ip()
696 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,
174 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.c175 if (trans->locking_wait.lock_want == SIX_LOCK_write) in btree_trans_abort_preference()
418 ret = __btree_node_lock_nopath(trans, b, SIX_LOCK_write, in __bch2_btree_node_lock_write()
A Dbtree_io.c486 EBUG_ON(!six_lock_counts(&b->c.lock).n[SIX_LOCK_write]); in bch2_btree_init_next()
493 bch2_btree_node_write(c, b, SIX_LOCK_write, in bch2_btree_init_next()
2297 if (lock_type_held == SIX_LOCK_write && in bch2_btree_node_write()
A Dbtree_update_interior.c396 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_write); in bch2_btree_node_alloc()
518 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_write); in bch2_btree_reserve_put()
A Dbtree_cache.c1366 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_write); in bch2_btree_node_evict()

Completed in 648 milliseconds