Searched refs:ref_tree (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/fs/ocfs2/ |
D | move_extents.c | 235 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_defrag_extent() local 247 &ref_tree, NULL); in ocfs2_defrag_extent() 356 if (ref_tree) in ocfs2_defrag_extent() 357 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_defrag_extent() 578 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_move_extent() local 593 &ref_tree, NULL); in ocfs2_move_extent() 727 if (ref_tree) in ocfs2_move_extent() 728 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_move_extent()
|
D | refcounttree.c | 56 struct ocfs2_refcount_tree *ref_tree; member 711 struct ocfs2_refcount_tree *ref_tree; in ocfs2_set_refcount_tree() local 716 &ref_tree, &ref_root_bh); in ocfs2_set_refcount_tree() 736 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh, in ocfs2_set_refcount_tree() 758 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_set_refcount_tree() 775 struct ocfs2_refcount_tree *ref_tree; in ocfs2_remove_refcount_tree() local 784 ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh); in ocfs2_remove_refcount_tree() 837 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh, in ocfs2_remove_refcount_tree() 856 ocfs2_erase_refcount_tree_from_list(osb, ref_tree); in ocfs2_remove_refcount_tree() 876 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_refcount_tree() [all …]
|
D | dlmglue.h | 156 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex); 157 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, 2553 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_remove() local 2568 1, &ref_tree, &ref_root_bh); in ocfs2_xattr_remove() 2573 ref_ci = &ref_tree->rf_ci; in ocfs2_xattr_remove() 2622 if (ref_tree) in ocfs2_xattr_remove() 2623 ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); in ocfs2_xattr_remove() 3529 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_set() local 3599 &xis, &xbs, &ref_tree, in ocfs2_xattr_set() 3650 if (ref_tree) in ocfs2_xattr_set() 3651 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_xattr_set() [all …]
|
D | alloc.c | 5670 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_remove_btree_range() local 5678 &ref_tree, NULL); in ocfs2_remove_btree_range() 5766 if (ref_tree) in ocfs2_remove_btree_range() 5767 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_btree_range() 7022 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_commit_truncate() local 7132 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate() 7134 &ref_tree, NULL); in ocfs2_commit_truncate() 7158 if (ref_tree) in ocfs2_commit_truncate() 7159 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_commit_truncate()
|
D | dlmglue.c | 3918 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_lock() argument 3922 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock() 3939 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_unlock() argument 3942 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock()
|