Lines Matching refs:path2
498 struct btree_path *path2; in btree_key_cache_flush_pos() local
501 trans_for_each_path(trans, path2, i) in btree_key_cache_flush_pos()
502 if (path2 != path) in btree_key_cache_flush_pos()
503 __bch2_btree_path_unlock(trans, path2); in btree_key_cache_flush_pos()
632 struct btree_path *path2; in bch2_btree_key_cache_drop() local
634 trans_for_each_path(trans, path2, i) in bch2_btree_key_cache_drop()
635 if (path2->l[0].b == (void *) ck) { in bch2_btree_key_cache_drop()
636 __bch2_btree_path_unlock(trans, path2); in bch2_btree_key_cache_drop()
637 path2->l[0].b = ERR_PTR(-BCH_ERR_no_btree_node_drop); in bch2_btree_key_cache_drop()
638 path2->should_be_locked = false; in bch2_btree_key_cache_drop()
639 btree_path_set_dirty(path2, BTREE_ITER_NEED_TRAVERSE); in bch2_btree_key_cache_drop()