Lines Matching refs:meta_ac
58 struct ocfs2_alloc_context *meta_ac; member
564 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local
580 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree()
600 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree()
634 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree()
694 if (meta_ac) in ocfs2_create_refcount_tree()
695 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree()
1290 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument
1309 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root()
1340 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root()
1530 struct ocfs2_alloc_context *meta_ac) in ocfs2_new_leaf_refcount_block() argument
1559 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_new_leaf_refcount_block()
1586 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_new_leaf_refcount_block()
1613 1, 0, meta_ac); in ocfs2_new_leaf_refcount_block()
1626 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_refcount_tree() argument
1637 &expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1650 expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1754 struct ocfs2_alloc_context *meta_ac) in ocfs2_insert_refcount_rec() argument
1769 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1842 struct ocfs2_alloc_context *meta_ac, in ocfs2_split_refcount_rec() argument
1895 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1996 struct ocfs2_alloc_context *meta_ac, in __ocfs2_increase_refcount() argument
2050 merge, meta_ac); in __ocfs2_increase_refcount()
2068 meta_ac, dealloc); in __ocfs2_increase_refcount()
2090 struct ocfs2_alloc_context *meta_ac, in ocfs2_remove_refcount_extent() argument
2108 1, meta_ac, dealloc); in ocfs2_remove_refcount_extent()
2170 struct ocfs2_alloc_context *meta_ac, in ocfs2_increase_refcount() argument
2175 meta_ac, dealloc); in ocfs2_increase_refcount()
2183 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount_rec() argument
2213 meta_ac, dealloc); in ocfs2_decrease_refcount_rec()
2224 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2238 struct ocfs2_alloc_context *meta_ac, in __ocfs2_decrease_refcount() argument
2272 meta_ac, dealloc); in __ocfs2_decrease_refcount()
2302 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount() argument
2334 cpos, len, meta_ac, dealloc, delete); in ocfs2_decrease_refcount()
2355 struct ocfs2_alloc_context *meta_ac, in ocfs2_mark_extent_refcounted() argument
2372 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
2862 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_refcount_allocators() argument
2891 meta_ac); in ocfs2_lock_refcount_allocators()
2906 if (*meta_ac) { in ocfs2_lock_refcount_allocators()
2907 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_refcount_allocators()
2908 *meta_ac = NULL; in ocfs2_lock_refcount_allocators()
3073 struct ocfs2_alloc_context *meta_ac, in ocfs2_clear_ext_refcount() argument
3120 &replace_rec, meta_ac, dealloc); in ocfs2_clear_ext_refcount()
3154 context->meta_ac, &context->dealloc); in ocfs2_replace_clusters()
3241 &context->meta_ac, in ocfs2_make_clusters_writable()
3288 context->meta_ac, in ocfs2_make_clusters_writable()
3319 context->meta_ac, in ocfs2_make_clusters_writable()
3362 if (context->meta_ac) { in ocfs2_make_clusters_writable()
3363 ocfs2_free_alloc_context(context->meta_ac); in ocfs2_make_clusters_writable()
3364 context->meta_ac = NULL; in ocfs2_make_clusters_writable()
3715 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcount_flag() local
3730 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()
3749 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3757 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3772 if (meta_ac) in ocfs2_add_refcount_flag()
3773 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcount_flag()
3925 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcounted_extent() local
3930 ref_root_bh, &meta_ac, in ocfs2_add_refcounted_extent()
3946 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3954 meta_ac, dealloc); in ocfs2_add_refcounted_extent()
3961 if (meta_ac) in ocfs2_add_refcounted_extent()
3962 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcounted_extent()