/linux-4.19.296/fs/ocfs2/ |
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() 585 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_move_extent() local 597 &ref_tree, NULL); in ocfs2_move_extent() 732 if (ref_tree) in ocfs2_move_extent() 733 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() 7215 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_commit_truncate() local 7333 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate() 7335 &ref_tree, NULL); in ocfs2_commit_truncate() 7359 if (ref_tree) in ocfs2_commit_truncate() 7360 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_commit_truncate()
|
D | dlmglue.c | 4227 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_lock() argument 4231 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock() 4248 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_unlock() argument 4251 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock()
|
/linux-4.19.296/fs/btrfs/ |
D | delayed-ref.c | 230 rb_erase(&ref->ref_node, &head->ref_tree); in drop_delayed_ref() 297 if (RB_EMPTY_ROOT(&head->ref_tree)) in btrfs_merge_delayed_refs() 315 for (node = rb_first(&head->ref_tree); node; node = rb_next(node)) { in btrfs_merge_delayed_refs() 410 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref() 569 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 | 2388 if (RB_EMPTY_ROOT(&head->ref_tree)) in select_delayed_ref() 2401 ref = rb_entry(rb_first(&head->ref_tree), in select_delayed_ref() 2462 if (!RB_EMPTY_ROOT(&head->ref_tree) || head->extent_op) { in cleanup_ref_head() 2611 rb_erase(&ref->ref_node, &locked_ref->ref_tree); in __btrfs_run_delayed_refs() 3051 for (node = rb_first(&head->ref_tree); node; node = rb_next(node)) { in check_delayed_ref() 6938 if (!RB_EMPTY_ROOT(&head->ref_tree)) in check_ref_cleanup()
|
D | backref.c | 786 for (n = rb_first(&head->ref_tree); n; n = rb_next(n)) { in add_delayed_refs()
|
D | disk-io.c | 4291 while ((n = rb_first(&head->ref_tree)) != NULL) { in btrfs_destroy_delayed_refs() 4295 rb_erase(&ref->ref_node, &head->ref_tree); in btrfs_destroy_delayed_refs()
|