Lines Matching defs:indirect
124 struct preftree indirect; /* BTRFS_[TREE_BLOCK|EXTENT_DATA]_REF_KEY */
131 * The share_count tracks prelim_refs (direct and indirect) having a
309 * backref type | shared | indirect | shared | indirect
322 * backref type | shared | indirect | shared | indirect
378 /* indirect refs use parent == 0 */
385 struct preftree *tree = &preftrees->indirect;
538 * resolve an indirect backref in the form (root_id, key, level)
670 * indirect refs which have a key, and one for indirect refs which do not
674 * indirect refs with missing keys. An appropriate key is located and
675 * the ref is moved onto the tree for indirect refs. After all missing
676 * keys are thus located, we iterate over the indirect ref tree, resolve
704 * freeing the entire indirect tree when we're done. In some test
707 while ((rnode = rb_first_cached(&preftrees->indirect.root))) {
712 "BUG: direct ref found in indirect tree")) {
717 rb_erase_cached(&ref->rbnode, &preftrees->indirect.root);
718 preftrees->indirect.count--;
828 prelim_ref_insert(fs_info, &preftrees->indirect, ref, NULL);
1183 * indirect refs to their parent bytenr.
1219 .indirect = PREFTREE_INIT,
1334 WARN_ON(!RB_EMPTY_ROOT(&preftrees.indirect.root.rb_root));
1444 prelim_release(&preftrees.indirect);
2736 * Handle indirect tree backref
2909 * @path: Released path for indirect tree backref lookup