Searched refs:old_dst (Results 1 – 2 of 2) sorted by relevance
286 struct bkey_s_c old_src, old_dst = bkey_s_c_null; in bch2_dirent_rename() local322 old_dst = bch2_hash_lookup(trans, &dst_iter, bch2_dirent_hash_desc, in bch2_dirent_rename()325 ret = bkey_err(old_dst); in bch2_dirent_rename()330 bkey_s_c_to_dirent(old_dst), dst_inum); in bch2_dirent_rename()354 dirent_copy_target(new_src, bkey_s_c_to_dirent(old_dst)); in bch2_dirent_rename()426 delete_dst = old_dst.k && in bch2_dirent_rename()427 bkey_s_c_to_dirent(old_dst).v->d_type == DT_SUBVOL && in bch2_dirent_rename()428 new_dst->k.p.snapshot != old_dst.k->p.snapshot; in bch2_dirent_rename()445 bch2_btree_iter_set_snapshot(&dst_iter, old_dst.k->p.snapshot); in bch2_dirent_rename()
2090 struct dst_entry *old_dst; in __sk_dst_set() local2094 old_dst = rcu_dereference_protected(sk->sk_dst_cache, in __sk_dst_set()2097 dst_release(old_dst); in __sk_dst_set()2103 struct dst_entry *old_dst; in sk_dst_set() local2107 old_dst = unrcu_pointer(xchg(&sk->sk_dst_cache, RCU_INITIALIZER(dst))); in sk_dst_set()2108 dst_release(old_dst); in sk_dst_set()