| /Linux-v5.4/fs/ocfs2/ | 
| D | move_extents.c | 215 	struct ocfs2_refcount_tree *ref_tree = NULL;  in ocfs2_defrag_extent()  local225 					       &ref_tree, NULL);  in ocfs2_defrag_extent()
 364 	if (ref_tree)  in ocfs2_defrag_extent()
 365 		ocfs2_unlock_refcount_tree(osb, ref_tree, 1);  in ocfs2_defrag_extent()
 586 	struct ocfs2_refcount_tree *ref_tree = NULL;  in ocfs2_move_extent()  local
 598 					       &ref_tree, NULL);  in ocfs2_move_extent()
 733 	if (ref_tree)  in ocfs2_move_extent()
 734 		ocfs2_unlock_refcount_tree(osb, ref_tree, 1);  in ocfs2_move_extent()
 
 | 
| D | refcounttree.c | 49 	struct ocfs2_refcount_tree *ref_tree;  member701 	struct ocfs2_refcount_tree *ref_tree;  in ocfs2_set_refcount_tree()  local
 706 				       &ref_tree, &ref_root_bh);  in ocfs2_set_refcount_tree()
 726 	ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh,  in ocfs2_set_refcount_tree()
 748 	ocfs2_unlock_refcount_tree(osb, ref_tree, 1);  in ocfs2_set_refcount_tree()
 765 	struct ocfs2_refcount_tree *ref_tree;  in ocfs2_remove_refcount_tree()  local
 774 	ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh);  in ocfs2_remove_refcount_tree()
 827 	ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh,  in ocfs2_remove_refcount_tree()
 846 		ocfs2_erase_refcount_tree_from_list(osb, ref_tree);  in ocfs2_remove_refcount_tree()
 866 	ocfs2_unlock_refcount_tree(osb, ref_tree, 1);  in ocfs2_remove_refcount_tree()
 [all …]
 
 | 
| D | dlmglue.h | 183 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex);184 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex);
 
 | 
| D | refcounttree.h | 75 			     struct ocfs2_refcount_tree *ref_tree,
 | 
| D | xattr.c | 299 					struct ocfs2_refcount_tree **ref_tree,2564 	struct ocfs2_refcount_tree *ref_tree = NULL;  in ocfs2_xattr_remove()  local
 2579 					       1, &ref_tree, &ref_root_bh);  in ocfs2_xattr_remove()
 2584 		ref_ci = &ref_tree->rf_ci;  in ocfs2_xattr_remove()
 2633 	if (ref_tree)  in ocfs2_xattr_remove()
 2634 		ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1);  in ocfs2_xattr_remove()
 3540 	struct ocfs2_refcount_tree *ref_tree = NULL;  in ocfs2_xattr_set()  local
 3612 						   &xis, &xbs, &ref_tree,  in ocfs2_xattr_set()
 3663 	if (ref_tree)  in ocfs2_xattr_set()
 3664 		ocfs2_unlock_refcount_tree(osb, ref_tree, 1);  in ocfs2_xattr_set()
 [all …]
 
 | 
| D | alloc.c | 5705 	struct ocfs2_refcount_tree *ref_tree = NULL;  in ocfs2_remove_btree_range()  local5712 						       &ref_tree, NULL);  in ocfs2_remove_btree_range()
 5800 	if (ref_tree)  in ocfs2_remove_btree_range()
 5801 		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 | 4230 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex)  in ocfs2_refcount_lock()  argument4234 	struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres;  in ocfs2_refcount_lock()
 4251 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex)  in ocfs2_refcount_unlock()  argument
 4254 	struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres;  in ocfs2_refcount_unlock()
 
 | 
| /Linux-v5.4/fs/btrfs/ | 
| D | delayed-ref.c | 421 	rb_erase_cached(&ref->ref_node, &head->ref_tree);  in drop_delayed_ref()488 	if (RB_EMPTY_ROOT(&head->ref_tree.rb_root))  in btrfs_merge_delayed_refs()
 506 	for (node = rb_first_cached(&head->ref_tree); node;  in btrfs_merge_delayed_refs()
 605 	exist = tree_insert(&href->ref_tree, ref);  in insert_delayed_ref()
 774 	head_ref->ref_tree = RB_ROOT_CACHED;  in init_delayed_ref_head()
 
 | 
| D | delayed-ref.h | 82 	struct rb_root_cached ref_tree;  member
 | 
| D | extent-tree.c | 1712 	if (RB_EMPTY_ROOT(&head->ref_tree.rb_root))  in select_delayed_ref()1725 	ref = rb_entry(rb_first_cached(&head->ref_tree),  in select_delayed_ref()
 1838 	if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root) || head->extent_op) {  in cleanup_ref_head()
 1923 		rb_erase_cached(&ref->ref_node, &locked_ref->ref_tree);  in btrfs_run_delayed_refs_for_head()
 2293 	for (node = rb_first_cached(&head->ref_tree); node;  in check_delayed_ref()
 3204 	if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root))  in check_ref_cleanup()
 
 | 
| D | backref.c | 776 	for (n = rb_first_cached(&head->ref_tree); n; n = rb_next(n)) {  in add_delayed_refs()
 | 
| D | disk-io.c | 4274 		while ((n = rb_first_cached(&head->ref_tree)) != NULL) {  in btrfs_destroy_delayed_refs()4278 			rb_erase_cached(&ref->ref_node, &head->ref_tree);  in btrfs_destroy_delayed_refs()
 
 |