Lines Matching refs:roots
1244 * root while we are deleting the root. This is like dropping fs roots
1859 * it would not use commit roots and would lock extent buffers, causing
1891 qrecord->old_roots = ctx.roots;
2484 * Walk all of the roots that points to the bytenr and adjust their refcnts.
2487 struct ulist *roots, struct ulist *tmp,
2497 if (!roots)
2500 while ((unode = ulist_next(roots, &uiter))) {
2665 * Check if the @roots potentially is a list of fs tree roots
2667 * Return 0 for definitely not a fs/subvol tree roots ulist
2668 * Return 1 for possible fs/subvol tree roots in the list (considering an empty
2671 static int maybe_fs_roots(struct ulist *roots)
2676 /* Empty one, still possible for fs roots */
2677 if (!roots || roots->nnodes == 0)
2681 unode = ulist_next(roots, &uiter);
2686 * If it contains fs tree roots, then it must belong to fs/subvol
2724 /* Quick exit, either not fs tree roots, or won't affect any qgroup */
2814 * Old roots should be searched when inserting qgroup
2832 record->old_roots = ctx.roots;
2833 ctx.roots = NULL;
2846 new_roots = ctx.roots;
3047 * difference between the two roots should be the root node.
3372 num_bytes, NULL, ctx.roots);
4241 * Add subtree roots record into @subvol_root.