Searched refs:lock_held (Results 1 – 3 of 3) sorted by relevance
149 enum six_lock_type lock_held) in btree_node_write_if_need() argument151 bch2_btree_node_write(c, b, lock_held, BTREE_WRITE_ONLY_IF_NEED); in btree_node_write_if_need()
325 int lock_held = btree_node_locked_type(path, top->level); in bch2_check_for_deadlock() local327 if (lock_held == BTREE_NODE_UNLOCKED) in bch2_check_for_deadlock()370 !lock_type_conflicts(lock_held, trans->locking_wait.lock_want)) in bch2_check_for_deadlock()
44 enum btree_node_locked_type lock_held) in btree_path_cached_set() argument48 mark_btree_node_locked(trans, path, 0, lock_held); in btree_path_cached_set()