Home
last modified time | relevance | path

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

/linux/fs/ocfs2/
A Dmove_extents.c203 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_defrag_extent() local
213 &ref_tree, NULL); in ocfs2_defrag_extent()
352 if (ref_tree) in ocfs2_defrag_extent()
353 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_defrag_extent()
575 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_move_extent() local
587 &ref_tree, NULL); in ocfs2_move_extent()
722 if (ref_tree) in ocfs2_move_extent()
723 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_move_extent()
A Drefcounttree.c48 struct ocfs2_refcount_tree *ref_tree; member
702 struct ocfs2_refcount_tree *ref_tree; in ocfs2_set_refcount_tree() local
707 &ref_tree, &ref_root_bh); in ocfs2_set_refcount_tree()
766 struct ocfs2_refcount_tree *ref_tree; in ocfs2_remove_refcount_tree() local
869 ocfs2_refcount_tree_put(ref_tree); in ocfs2_remove_refcount_tree()
3419 context->ref_tree = ref_tree; in ocfs2_refcount_cow_hunk()
3621 context->ref_tree = ref_tree; in ocfs2_refcount_cow_xattr()
3811 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree()
3828 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree()
4558 &ref_tree->rf_ci, in ocfs2_reflink_remap_extent()
[all …]
A Ddlmglue.h181 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex);
182 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex);
A Drefcounttree.h73 struct ocfs2_refcount_tree *ref_tree,
A Dxattr.c293 struct ocfs2_refcount_tree **ref_tree,
2586 ref_ci = &ref_tree->rf_ci; in ocfs2_xattr_remove()
2635 if (ref_tree) in ocfs2_xattr_remove()
3614 &xis, &xbs, &ref_tree, in ocfs2_xattr_set()
3665 if (ref_tree) in ocfs2_xattr_set()
5842 1, ref_tree, &ref_root_bh); in ocfs2_prepare_refcount_xattr()
5859 &(*ref_tree)->rf_ci, in ocfs2_prepare_refcount_xattr()
5868 *ref_tree, ref_root_bh, 0, in ocfs2_prepare_refcount_xattr()
7126 struct ocfs2_refcount_tree *ref_tree; in ocfs2_reflink_xattrs() local
7143 args.ref_ci = &ref_tree->rf_ci; in ocfs2_reflink_xattrs()
[all …]
A Dalloc.c5709 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_remove_btree_range() local
5716 &ref_tree, NULL); in ocfs2_remove_btree_range()
5804 if (ref_tree) in ocfs2_remove_btree_range()
5805 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_btree_range()
7226 struct ocfs2_refcount_tree *ref_tree = NULL; in ocfs2_commit_truncate() local
7344 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate()
7346 &ref_tree, NULL); in ocfs2_commit_truncate()
7370 if (ref_tree) in ocfs2_commit_truncate()
7371 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_commit_truncate()
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/
A Ddelayed-ref.c460 rb_erase_cached(&ref->ref_node, &head->ref_tree); in drop_delayed_ref()
526 if (RB_EMPTY_ROOT(&head->ref_tree.rb_root)) in btrfs_merge_delayed_refs()
535 for (node = rb_first_cached(&head->ref_tree); node; in btrfs_merge_delayed_refs()
628 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref()
814 head_ref->ref_tree = RB_ROOT_CACHED; in init_delayed_ref_head()
1216 node = head->ref_tree.rb_root.rb_node; in btrfs_find_delayed_tree_ref()
A Ddelayed-ref.h141 struct rb_root_cached ref_tree; member
A Dextent-tree.c1791 if (RB_EMPTY_ROOT(&head->ref_tree.rb_root)) in select_delayed_ref()
1804 ref = rb_entry(rb_first_cached(&head->ref_tree), in select_delayed_ref()
1908 if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root) || head->extent_op) { in cleanup_ref_head()
1993 rb_erase_cached(&ref->ref_node, &locked_ref->ref_tree); in btrfs_run_delayed_refs_for_head()
2314 for (node = rb_first_cached(&head->ref_tree); node; in check_delayed_ref()
3391 if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root)) in check_ref_cleanup()
A Ddisk-io.c4553 while ((n = rb_first_cached(&head->ref_tree)) != NULL) { in btrfs_destroy_delayed_refs()
4556 rb_erase_cached(&ref->ref_node, &head->ref_tree); in btrfs_destroy_delayed_refs()
A Dbackref.c899 for (n = rb_first_cached(&head->ref_tree); n; n = rb_next(n)) { in add_delayed_refs()

Completed in 71 milliseconds