Home
last modified time | relevance | path

Searched refs:roots (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dref-verify.c69 struct rb_root roots; member
239 while ((n = rb_first(&be->roots))) { in free_block_entry()
241 rb_erase(&re->node, &be->roots); in free_block_entry()
286 exist_re = insert_root_entry(&exist->roots, re); in add_block_entry()
299 be->roots = RB_ROOT; in add_block_entry()
303 insert_root_entry(&be->roots, re); in add_block_entry()
340 re = lookup_root_entry(&be->roots, ref_root); in add_tree_block()
418 re = lookup_root_entry(&be->roots, ref_root); in add_extent_data_ref()
641 for (n = rb_first(&be->roots); n; n = rb_next(n)) { in dump_block_entry()
806 tmp = insert_root_entry(&be->roots, re); in btrfs_ref_tree_mod()
[all …]
Dbackref.c1208 struct ulist *roots, const u64 *extent_item_pos, in find_parent_nodes() argument
1354 if (roots && ref->count && ref->root_id && ref->parent == 0) { in find_parent_nodes()
1362 ret = ulist_add(roots, ref->root_id, 0, GFP_NOFS); in find_parent_nodes()
1492 u64 time_seq, struct ulist **roots, in btrfs_find_all_roots_safe() argument
1503 *roots = ulist_alloc(GFP_NOFS); in btrfs_find_all_roots_safe()
1504 if (!*roots) { in btrfs_find_all_roots_safe()
1512 tmp, *roots, NULL, NULL, ignore_offset); in btrfs_find_all_roots_safe()
1515 ulist_free(*roots); in btrfs_find_all_roots_safe()
1516 *roots = NULL; in btrfs_find_all_roots_safe()
1532 u64 time_seq, struct ulist **roots, in btrfs_find_all_roots() argument
[all …]
Dbackref.h64 u64 time_seq, struct ulist **roots,
82 struct ulist *roots, struct ulist *tmp,
Dqgroup.c2459 struct ulist *roots, struct ulist *tmp, in qgroup_update_refcnt() argument
2469 if (!roots) in qgroup_update_refcnt()
2472 while ((unode = ulist_next(roots, &uiter))) { in qgroup_update_refcnt()
2643 static int maybe_fs_roots(struct ulist *roots) in maybe_fs_roots() argument
2649 if (!roots || roots->nnodes == 0) in maybe_fs_roots()
2653 unode = ulist_next(roots, &uiter); in maybe_fs_roots()
3291 struct ulist *roots = NULL; in qgroup_rescan_leaf() local
3351 &roots, false); in qgroup_rescan_leaf()
3356 num_bytes, NULL, roots); in qgroup_rescan_leaf()
Dextent_io.c3732 struct ulist *roots, struct ulist *tmp_ulist, in fiemap_process_hole() argument
3778 extent_gen, roots, in fiemap_process_hole()
3828 extent_gen, roots, in fiemap_process_hole()
3931 struct ulist *roots; in extent_fiemap() local
3942 roots = ulist_alloc(GFP_KERNEL); in extent_fiemap()
3944 if (!backref_cache || !path || !roots || !tmp_ulist) { in extent_fiemap()
4006 roots, tmp_ulist, in extent_fiemap()
4048 extent_gen, roots, tmp_ulist, in extent_fiemap()
4054 roots, tmp_ulist, in extent_fiemap()
4062 roots, in extent_fiemap()
[all …]