Home
last modified time | relevance | path

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

/linux/fs/ocfs2/
H A Dmove_extents.c209 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_defrag_extent() local
219 &ref_tree, NULL); in ocfs2_defrag_extent()
358 if (ref_tree) in ocfs2_defrag_extent()
359 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_defrag_extent()
581 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()
H A Drefcounttree.c49 struct ocfs2_refcount_tree *ref_tree; member
703 struct ocfs2_refcount_tree *ref_tree; in ocfs2_set_refcount_tree() local
708 &ref_tree, &ref_root_bh); in ocfs2_set_refcount_tree()
728 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh, in ocfs2_set_refcount_tree()
750 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_set_refcount_tree()
767 struct ocfs2_refcount_tree *ref_tree; in ocfs2_remove_refcount_tree() local
776 ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh); in ocfs2_remove_refcount_tree()
829 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh, in ocfs2_remove_refcount_tree()
848 ocfs2_erase_refcount_tree_from_list(osb, ref_tree); in ocfs2_remove_refcount_tree()
868 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_refcount_tree()
[all …]
H A Drefcounttree.h73 struct ocfs2_refcount_tree *ref_tree,
H A Dxattr.c297 struct ocfs2_refcount_tree **ref_tree,
2596 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_remove() local
2611 1, &ref_tree, &ref_root_bh); in ocfs2_xattr_remove()
2616 ref_ci = &ref_tree->rf_ci; in ocfs2_xattr_remove()
2665 if (ref_tree) in ocfs2_xattr_remove()
2666 ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); in ocfs2_xattr_remove()
3572 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_xattr_set() local
3644 &xis, &xbs, &ref_tree, in ocfs2_xattr_set()
3695 if (ref_tree) in ocfs2_xattr_set()
3696 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_xattr_set()
[all …]
H A Dalloc.c5717 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_remove_btree_range() local
5724 &ref_tree, NULL); in ocfs2_remove_btree_range()
5812 if (ref_tree) in ocfs2_remove_btree_range()
5813 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_btree_range()
7247 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_commit_truncate() local
7365 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate()
7367 &ref_tree, NULL); in ocfs2_commit_truncate()
7391 if (ref_tree) in ocfs2_commit_truncate()
7392 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_commit_truncate()
H A Ddlmglue.c4272 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_lock() argument
4276 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock()
4293 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_unlock() argument
4296 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock()
/linux/fs/btrfs/
H A Ddelayed-ref.h138 struct rb_root_cached ref_tree; member
/linux/fs/btrfs/tests/
H A Ddelayed-refs-tests.c63 rb_erase_cached(&node->ref_node, &head->ref_tree); in delete_delayed_ref_node()