Lines Matching full:exist
599 struct btrfs_delayed_ref_node *exist; in insert_delayed_ref() local
604 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref()
605 if (!exist) in insert_delayed_ref()
610 if (exist->action == ref->action) { in insert_delayed_ref()
614 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
615 exist->action = ref->action; in insert_delayed_ref()
616 mod = -exist->ref_mod; in insert_delayed_ref()
617 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
619 list_add_tail(&exist->add_list, in insert_delayed_ref()
622 ASSERT(!list_empty(&exist->add_list)); in insert_delayed_ref()
623 list_del(&exist->add_list); in insert_delayed_ref()
630 exist->ref_mod += mod; in insert_delayed_ref()
633 if (exist->ref_mod == 0) in insert_delayed_ref()
634 drop_delayed_ref(trans, root, href, exist); in insert_delayed_ref()