Searched refs:lock_want (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | btree_key_cache.c | 268 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_key_cache_create() local 269 if (lock_want == SIX_LOCK_read) in btree_key_cache_create() 271 btree_path_cached_set(trans, path, ck, (enum btree_node_locked_type) lock_want); in btree_key_cache_create() 330 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_path_traverse_cached_fast() local 332 int ret = btree_node_lock(trans, path, (void *) ck, 0, lock_want, _THIS_IP_); in btree_path_traverse_cached_fast() 338 six_unlock_type(&ck->c.lock, lock_want); in btree_path_traverse_cached_fast() 345 btree_path_cached_set(trans, path, ck, (enum btree_node_locked_type) lock_want); in btree_path_traverse_cached_fast()
|
D | btree_locking.c | 59 enum six_lock_type lock_want; member 117 .lock_want = trans->locking_wait.lock_want, in __lock_graph_down() 175 if (trans->locking_wait.lock_want == SIX_LOCK_write) in btree_trans_abort_preference() 370 !lock_type_conflicts(lock_held, trans->locking_wait.lock_want)) in bch2_check_for_deadlock()
|
D | six.h | 152 enum six_lock_type lock_want; member
|
D | six.c | 224 if (w->lock_want != lock_type) in __six_lock_wakeup() 427 wait->lock_want = type; in six_lock_slowpath()
|
D | btree_iter.c | 3404 prt_printf(out, " %c", lock_types[trans->locking_wait.lock_want]); in bch2_btree_trans_to_text()
|