Lines Matching refs:preftree
114 struct preftree { struct
122 struct preftree direct; /* BTRFS_SHARED_[DATA|BLOCK]_REF_KEY */ argument
123 struct preftree indirect; /* BTRFS_[TREE_BLOCK|EXTENT_DATA]_REF_KEY */
124 struct preftree indirect_missing_keys;
225 struct preftree *preftree, in prelim_ref_insert() argument
235 root = &preftree->root; in prelim_ref_insert()
258 preftree->count); in prelim_ref_insert()
273 preftree->count++; in prelim_ref_insert()
274 trace_btrfs_prelim_ref_insert(fs_info, newref, NULL, preftree->count); in prelim_ref_insert()
283 static void prelim_release(struct preftree *preftree) in prelim_release() argument
287 rbtree_postorder_for_each_entry_safe(ref, next_ref, &preftree->root, in prelim_release()
291 preftree->root = RB_ROOT; in prelim_release()
292 preftree->count = 0; in prelim_release()
334 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument
382 prelim_ref_insert(fs_info, preftree, ref, sc); in add_prelim_ref()
403 struct preftree *tree = &preftrees->indirect; in add_indirect_ref()
734 struct preftree *tree = &preftrees->indirect_missing_keys; in add_missing_keys()