Home
last modified time | relevance | path

Searched refs:ref_tree (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/fs/ocfs2/
Dmove_extents.c233 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_defrag_extent() local
245 &ref_tree, NULL); in ocfs2_defrag_extent()
354 if (ref_tree) in ocfs2_defrag_extent()
355 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_defrag_extent()
576 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_move_extent() local
591 &ref_tree, NULL); in ocfs2_move_extent()
725 if (ref_tree) in ocfs2_move_extent()
726 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_move_extent()
Drefcounttree.c56 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 …]
Ddlmglue.h156 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);
Drefcounttree.h83 struct ocfs2_refcount_tree *ref_tree,
Dxattr.c307 struct ocfs2_refcount_tree **ref_tree,
2547 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_remove() local
2562 1, &ref_tree, &ref_root_bh); in ocfs2_xattr_remove()
2567 ref_ci = &ref_tree->rf_ci; in ocfs2_xattr_remove()
2616 if (ref_tree) in ocfs2_xattr_remove()
2617 ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); in ocfs2_xattr_remove()
3523 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_set() local
3593 &xis, &xbs, &ref_tree, in ocfs2_xattr_set()
3644 if (ref_tree) in ocfs2_xattr_set()
3645 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_xattr_set()
[all …]
Dalloc.c5688 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_remove_btree_range() local
5696 &ref_tree, NULL); in ocfs2_remove_btree_range()
5784 if (ref_tree) in ocfs2_remove_btree_range()
5785 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_btree_range()
7040 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_commit_truncate() local
7158 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate()
7160 &ref_tree, NULL); in ocfs2_commit_truncate()
7184 if (ref_tree) in ocfs2_commit_truncate()
7185 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_commit_truncate()
Ddlmglue.c3917 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_lock() argument
3921 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock()
3938 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_unlock() argument
3941 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock()