/linux-4.1.27/fs/ocfs2/ |
H A 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);
|
H A D | move_extents.c | 235 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_defrag_extent() local 247 &ref_tree, NULL); ocfs2_defrag_extent() 356 if (ref_tree) ocfs2_defrag_extent() 357 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_defrag_extent() 578 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_move_extent() local 593 &ref_tree, NULL); ocfs2_move_extent() 727 if (ref_tree) ocfs2_move_extent() 728 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_move_extent()
|
H A D | refcounttree.h | 83 struct ocfs2_refcount_tree *ref_tree,
|
H A D | refcounttree.c | 56 struct ocfs2_refcount_tree *ref_tree; member in struct:ocfs2_cow_context 711 struct ocfs2_refcount_tree *ref_tree; ocfs2_set_refcount_tree() local 716 &ref_tree, &ref_root_bh); ocfs2_set_refcount_tree() 736 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh, ocfs2_set_refcount_tree() 758 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_set_refcount_tree() 775 struct ocfs2_refcount_tree *ref_tree; ocfs2_remove_refcount_tree() local 784 ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh); ocfs2_remove_refcount_tree() 837 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh, ocfs2_remove_refcount_tree() 856 ocfs2_erase_refcount_tree_from_list(osb, ref_tree); ocfs2_remove_refcount_tree() 876 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_remove_refcount_tree() 878 ocfs2_refcount_tree_put(ref_tree); ocfs2_remove_refcount_tree() 3231 struct ocfs2_caching_info *ref_ci = &context->ref_tree->rf_ci; ocfs2_make_clusters_writable() 3437 struct ocfs2_refcount_tree *ref_tree; ocfs2_refcount_cow_hunk() local 3464 1, &ref_tree, &ref_root_bh); ocfs2_refcount_cow_hunk() 3473 context->ref_tree = ref_tree; ocfs2_refcount_cow_hunk() 3492 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_refcount_cow_hunk() 3643 struct ocfs2_refcount_tree *ref_tree, ocfs2_refcount_cow_xattr() 3676 context->ref_tree = ref_tree; ocfs2_refcount_cow_xattr() 3819 struct ocfs2_refcount_tree *ref_tree; ocfs2_attach_refcount_tree() local 3839 &ref_tree, &ref_root_bh); ocfs2_attach_refcount_tree() 3863 &ref_tree->rf_ci, ocfs2_attach_refcount_tree() 3880 &ref_tree->rf_ci, ocfs2_attach_refcount_tree() 3896 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_attach_refcount_tree() 4144 struct ocfs2_refcount_tree *ref_tree; ocfs2_create_reflink_node() local 4164 1, &ref_tree, &ref_root_bh); ocfs2_create_reflink_node() 4172 &ref_tree->rf_ci, ref_root_bh, ocfs2_create_reflink_node() 4180 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_create_reflink_node() 3640 ocfs2_refcount_cow_xattr(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_xattr_value_buf *vb, struct ocfs2_refcount_tree *ref_tree, struct buffer_head *ref_root_bh, u32 cpos, u32 write_len, struct ocfs2_post_refcount *post) ocfs2_refcount_cow_xattr() argument
|
H A D | xattr.c | 307 struct ocfs2_refcount_tree **ref_tree, 2553 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_xattr_remove() local 2568 1, &ref_tree, &ref_root_bh); ocfs2_xattr_remove() 2573 ref_ci = &ref_tree->rf_ci; ocfs2_xattr_remove() 2622 if (ref_tree) ocfs2_xattr_remove() 2623 ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); ocfs2_xattr_remove() 3529 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_xattr_set() local 3599 &xis, &xbs, &ref_tree, ocfs2_xattr_set() 3650 if (ref_tree) ocfs2_xattr_set() 3651 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_xattr_set() 5758 struct ocfs2_refcount_tree **ref_tree, ocfs2_prepare_refcount_xattr() 5843 1, ref_tree, &ref_root_bh); ocfs2_prepare_refcount_xattr() 5860 &(*ref_tree)->rf_ci, ocfs2_prepare_refcount_xattr() 5869 *ref_tree, ref_root_bh, 0, ocfs2_prepare_refcount_xattr() 7136 struct ocfs2_refcount_tree *ref_tree; ocfs2_reflink_xattrs() local 7141 1, &ref_tree, &ref_root_bh); ocfs2_reflink_xattrs() 7153 args.ref_ci = &ref_tree->rf_ci; ocfs2_reflink_xattrs() 7187 ref_tree, 1); ocfs2_reflink_xattrs() 5753 ocfs2_prepare_refcount_xattr(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xis, struct ocfs2_xattr_search *xbs, struct ocfs2_refcount_tree **ref_tree, int *meta_add, int *credits) ocfs2_prepare_refcount_xattr() argument
|
H A D | alloc.c | 5670 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_remove_btree_range() local 5678 &ref_tree, NULL); ocfs2_remove_btree_range() 5766 if (ref_tree) ocfs2_remove_btree_range() 5767 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_remove_btree_range() 7022 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_commit_truncate() local 7132 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { ocfs2_commit_truncate() 7134 &ref_tree, NULL); ocfs2_commit_truncate() 7158 if (ref_tree) ocfs2_commit_truncate() 7159 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ocfs2_commit_truncate()
|
H A D | dlmglue.c | 3918 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) ocfs2_refcount_lock() argument 3922 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; ocfs2_refcount_lock() 3939 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) ocfs2_refcount_unlock() argument 3942 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; ocfs2_refcount_unlock()
|