Lines Matching refs:exist
591 struct btrfs_delayed_ref_node *exist;
595 exist = tree_insert(&href->ref_tree, ref);
596 if (!exist) {
605 if (exist->action == ref->action) {
609 if (exist->ref_mod < ref->ref_mod) {
610 exist->action = ref->action;
611 mod = -exist->ref_mod;
612 exist->ref_mod = ref->ref_mod;
614 list_add_tail(&exist->add_list,
617 ASSERT(!list_empty(&exist->add_list));
618 list_del(&exist->add_list);
625 exist->ref_mod += mod;
628 if (exist->ref_mod == 0)
629 drop_delayed_ref(root, href, exist);