Lines Matching full:exist
624 struct btrfs_delayed_ref_node *exist; in insert_delayed_ref() local
628 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref()
629 if (!exist) { in insert_delayed_ref()
639 if (exist->action == ref->action) { in insert_delayed_ref()
643 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
644 exist->action = ref->action; in insert_delayed_ref()
645 mod = -exist->ref_mod; in insert_delayed_ref()
646 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
648 list_add_tail(&exist->add_list, in insert_delayed_ref()
651 ASSERT(!list_empty(&exist->add_list)); in insert_delayed_ref()
652 list_del_init(&exist->add_list); in insert_delayed_ref()
659 exist->ref_mod += mod; in insert_delayed_ref()
662 if (exist->ref_mod == 0) in insert_delayed_ref()
663 drop_delayed_ref(trans->fs_info, root, href, exist); in insert_delayed_ref()
1230 * ref doesn't exist. in btrfs_find_delayed_tree_ref()