Lines Matching refs:path2
507 struct btree_path *path2; in btree_key_cache_flush_pos() local
510 trans_for_each_path(trans, path2, i) in btree_key_cache_flush_pos()
511 if (path2 != path) in btree_key_cache_flush_pos()
512 __bch2_btree_path_unlock(trans, path2); in btree_key_cache_flush_pos()
641 struct btree_path *path2; in bch2_btree_key_cache_drop() local
643 trans_for_each_path(trans, path2, i) in bch2_btree_key_cache_drop()
644 if (path2->l[0].b == (void *) ck) { in bch2_btree_key_cache_drop()
652 path2->should_be_locked = false; in bch2_btree_key_cache_drop()
653 __bch2_btree_path_unlock(trans, path2); in bch2_btree_key_cache_drop()
654 path2->l[0].b = ERR_PTR(-BCH_ERR_no_btree_node_drop); in bch2_btree_key_cache_drop()
655 btree_path_set_dirty(trans, path2, BTREE_ITER_NEED_TRAVERSE); in bch2_btree_key_cache_drop()