Searched refs:ref_tree (Results 1 – 12 of 12) sorted by relevance
/linux/fs/ocfs2/ |
A D | refcounttree.c | 47 struct ocfs2_refcount_tree *ref_tree; member 701 struct ocfs2_refcount_tree *ref_tree; in ocfs2_set_refcount_tree() local 706 &ref_tree, &ref_root_bh); in ocfs2_set_refcount_tree() 765 struct ocfs2_refcount_tree *ref_tree; in ocfs2_remove_refcount_tree() local 868 ocfs2_refcount_tree_put(ref_tree); in ocfs2_remove_refcount_tree() 3452 context->ref_tree = ref_tree; in ocfs2_refcount_cow_hunk() 3654 context->ref_tree = ref_tree; in ocfs2_refcount_cow_xattr() 3844 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree() 3861 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree() 4570 &ref_tree->rf_ci, in ocfs2_reflink_remap_extent() [all …]
|
A D | move_extents.c | 213 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_defrag_extent() local 223 &ref_tree, NULL); in ocfs2_defrag_extent() 362 if (ref_tree) in ocfs2_defrag_extent() 363 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_defrag_extent() 584 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_move_extent() local 596 &ref_tree, NULL); in ocfs2_move_extent() 731 if (ref_tree) in ocfs2_move_extent() 732 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_move_extent()
|
A D | dlmglue.h | 181 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex); 182 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex);
|
A D | refcounttree.h | 73 struct ocfs2_refcount_tree *ref_tree,
|
A D | xattr.c | 297 struct ocfs2_refcount_tree **ref_tree, 2582 ref_ci = &ref_tree->rf_ci; in ocfs2_xattr_remove() 2631 if (ref_tree) in ocfs2_xattr_remove() 3610 &xis, &xbs, &ref_tree, in ocfs2_xattr_set() 3661 if (ref_tree) in ocfs2_xattr_set() 5847 1, ref_tree, &ref_root_bh); in ocfs2_prepare_refcount_xattr() 5864 &(*ref_tree)->rf_ci, in ocfs2_prepare_refcount_xattr() 5873 *ref_tree, ref_root_bh, 0, in ocfs2_prepare_refcount_xattr() 7140 struct ocfs2_refcount_tree *ref_tree; in ocfs2_reflink_xattrs() local 7157 args.ref_ci = &ref_tree->rf_ci; in ocfs2_reflink_xattrs() [all …]
|
A D | alloc.c | 5702 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_remove_btree_range() local 5709 &ref_tree, NULL); in ocfs2_remove_btree_range() 5797 if (ref_tree) in ocfs2_remove_btree_range() 5798 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_btree_range() 7219 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_commit_truncate() local 7337 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate() 7339 &ref_tree, NULL); in ocfs2_commit_truncate() 7363 if (ref_tree) in ocfs2_commit_truncate() 7364 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_commit_truncate()
|
A D | dlmglue.c | 4271 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_lock() argument 4275 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock() 4292 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_unlock() argument 4295 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock()
|
/linux/fs/btrfs/ |
A D | delayed-ref.c | 424 rb_erase_cached(&ref->ref_node, &head->ref_tree); in drop_delayed_ref() 491 if (RB_EMPTY_ROOT(&head->ref_tree.rb_root)) in btrfs_merge_delayed_refs() 500 for (node = rb_first_cached(&head->ref_tree); node; in btrfs_merge_delayed_refs() 592 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref() 759 head_ref->ref_tree = RB_ROOT_CACHED; in init_delayed_ref_head()
|
A D | delayed-ref.h | 82 struct rb_root_cached ref_tree; member
|
A D | extent-tree.c | 1728 if (RB_EMPTY_ROOT(&head->ref_tree.rb_root)) in select_delayed_ref() 1741 ref = rb_entry(rb_first_cached(&head->ref_tree), in select_delayed_ref() 1835 if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root) || head->extent_op) { in cleanup_ref_head() 1919 rb_erase_cached(&ref->ref_node, &locked_ref->ref_tree); in btrfs_run_delayed_refs_for_head() 2254 for (node = rb_first_cached(&head->ref_tree); node; in check_delayed_ref() 3242 if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root)) in check_ref_cleanup()
|
A D | disk-io.c | 4683 while ((n = rb_first_cached(&head->ref_tree)) != NULL) { in btrfs_destroy_delayed_refs() 4687 rb_erase_cached(&ref->ref_node, &head->ref_tree); in btrfs_destroy_delayed_refs()
|
A D | backref.c | 832 for (n = rb_first_cached(&head->ref_tree); n; n = rb_next(n)) { in add_delayed_refs()
|
Completed in 104 milliseconds