Home
last modified time | relevance | path

Searched refs:head_refs (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
A Ddelayed-ref.c346 return xa_find(&dr->head_refs, &from, ULONG_MAX, XA_PRESENT); in find_first_ref_head()
488 xa_for_each_start(&delayed_refs->head_refs, found_index, head, start_index) { in btrfs_select_ref_head()
542 xa_erase(&delayed_refs->head_refs, index); in btrfs_delete_ref_head()
854 existing = xa_load(&delayed_refs->head_refs, index); in add_delayed_ref_head()
864 existing = xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC); in add_delayed_ref_head()
1029 ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS); in add_delayed_ref()
1049 xa_release(&delayed_refs->head_refs, index); in add_delayed_ref()
1134 ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS); in btrfs_add_delayed_extent_op()
1144 xa_release(&delayed_refs->head_refs, index); in btrfs_add_delayed_extent_op()
1180 return xa_load(&delayed_refs->head_refs, index); in btrfs_find_delayed_ref_head()
A Ddelayed-ref.h214 struct xarray head_refs; member
A Dtransaction.c144 WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs)); in btrfs_put_transaction()
359 xa_init(&cur_trans->delayed_refs.head_refs); in join_transaction()
A Dextent-tree.c2169 if (xa_empty(&delayed_refs->head_refs)) { in btrfs_run_delayed_refs()
/fs/btrfs/tests/
A Dbtrfs-tests.c248 xa_init(&trans->delayed_refs.head_refs); in btrfs_init_dummy_transaction()

Completed in 22 milliseconds