Searched refs:SIX_LOCK_write (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/bcachefs/ |
| A D | six.c | 56 .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 D | btree_locking.h | 37 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 D | six.h | 133 SIX_LOCK_write, enumerator
|
| A D | btree_locking.c | 175 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 D | btree_io.c | 486 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 D | btree_update_interior.c | 396 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 D | btree_cache.c | 1366 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_write); in bch2_btree_node_evict()
|
Completed in 648 milliseconds