Lines Matching full:exist
608 struct btrfs_delayed_ref_node *exist; in insert_delayed_ref() local
613 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref()
614 if (!exist) in insert_delayed_ref()
619 if (exist->action == ref->action) { in insert_delayed_ref()
623 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
624 exist->action = ref->action; in insert_delayed_ref()
625 mod = -exist->ref_mod; in insert_delayed_ref()
626 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
628 list_add_tail(&exist->add_list, in insert_delayed_ref()
631 ASSERT(!list_empty(&exist->add_list)); in insert_delayed_ref()
632 list_del(&exist->add_list); in insert_delayed_ref()
639 exist->ref_mod += mod; in insert_delayed_ref()
642 if (exist->ref_mod == 0) in insert_delayed_ref()
643 drop_delayed_ref(trans, root, href, exist); in insert_delayed_ref()