/Linux-v4.19/fs/ocfs2/ |
D | move_extents.c | 233 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_defrag_extent() local 242 &ref_tree, NULL); in ocfs2_defrag_extent() 351 if (ref_tree) in ocfs2_defrag_extent() 352 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_defrag_extent() 573 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_move_extent() local 585 &ref_tree, NULL); in ocfs2_move_extent() 719 if (ref_tree) in ocfs2_move_extent() 720 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_move_extent()
|
D | refcounttree.c | 57 struct ocfs2_refcount_tree *ref_tree; member 709 struct ocfs2_refcount_tree *ref_tree; in ocfs2_set_refcount_tree() local 714 &ref_tree, &ref_root_bh); in ocfs2_set_refcount_tree() 734 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh, in ocfs2_set_refcount_tree() 756 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_set_refcount_tree() 773 struct ocfs2_refcount_tree *ref_tree; in ocfs2_remove_refcount_tree() local 782 ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh); in ocfs2_remove_refcount_tree() 835 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh, in ocfs2_remove_refcount_tree() 854 ocfs2_erase_refcount_tree_from_list(osb, ref_tree); in ocfs2_remove_refcount_tree() 874 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_refcount_tree() [all …]
|
D | dlmglue.h | 197 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex); 198 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex);
|
D | refcounttree.h | 83 struct ocfs2_refcount_tree *ref_tree,
|
D | xattr.c | 307 struct ocfs2_refcount_tree **ref_tree, 2572 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_remove() local 2587 1, &ref_tree, &ref_root_bh); in ocfs2_xattr_remove() 2592 ref_ci = &ref_tree->rf_ci; in ocfs2_xattr_remove() 2641 if (ref_tree) in ocfs2_xattr_remove() 2642 ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); in ocfs2_xattr_remove() 3548 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_set() local 3620 &xis, &xbs, &ref_tree, in ocfs2_xattr_set() 3671 if (ref_tree) in ocfs2_xattr_set() 3672 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_xattr_set() [all …]
|
D | alloc.c | 5723 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_remove_btree_range() local 5730 &ref_tree, NULL); in ocfs2_remove_btree_range() 5818 if (ref_tree) in ocfs2_remove_btree_range() 5819 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_btree_range() 7237 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_commit_truncate() local 7355 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate() 7357 &ref_tree, NULL); in ocfs2_commit_truncate() 7381 if (ref_tree) in ocfs2_commit_truncate() 7382 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_commit_truncate()
|
D | dlmglue.c | 4205 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_lock() argument 4209 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock() 4226 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_unlock() argument 4229 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock()
|
/Linux-v4.19/fs/btrfs/ |
D | delayed-ref.c | 230 rb_erase(&ref->ref_node, &head->ref_tree); in drop_delayed_ref() 299 if (RB_EMPTY_ROOT(&head->ref_tree)) in btrfs_merge_delayed_refs() 317 for (node = rb_first(&head->ref_tree); node; node = rb_next(node)) { in btrfs_merge_delayed_refs() 412 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref() 572 head_ref->ref_tree = RB_ROOT; in init_delayed_ref_head()
|
D | delayed-ref.h | 82 struct rb_root ref_tree; member
|
D | extent-tree.c | 2377 if (RB_EMPTY_ROOT(&head->ref_tree)) in select_delayed_ref() 2390 ref = rb_entry(rb_first(&head->ref_tree), in select_delayed_ref() 2451 if (!RB_EMPTY_ROOT(&head->ref_tree) || head->extent_op) { in cleanup_ref_head() 2600 rb_erase(&ref->ref_node, &locked_ref->ref_tree); in __btrfs_run_delayed_refs() 3043 for (node = rb_first(&head->ref_tree); node; node = rb_next(node)) { in check_delayed_ref() 6928 if (!RB_EMPTY_ROOT(&head->ref_tree)) in check_ref_cleanup()
|
D | disk-io.c | 4225 while ((n = rb_first(&head->ref_tree)) != NULL) { in btrfs_destroy_delayed_refs() 4229 rb_erase(&ref->ref_node, &head->ref_tree); in btrfs_destroy_delayed_refs()
|
D | backref.c | 772 for (n = rb_first(&head->ref_tree); n; n = rb_next(n)) { in add_delayed_refs()
|