Lines Matching refs:meta_ac

51 	struct ocfs2_alloc_context *meta_ac;  member
556 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local
572 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree()
592 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree()
626 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree()
686 if (meta_ac) in ocfs2_create_refcount_tree()
687 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree()
1280 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument
1299 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root()
1330 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root()
1518 struct ocfs2_alloc_context *meta_ac) in ocfs2_new_leaf_refcount_block() argument
1547 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_new_leaf_refcount_block()
1574 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_new_leaf_refcount_block()
1601 1, 0, meta_ac); in ocfs2_new_leaf_refcount_block()
1614 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_refcount_tree() argument
1625 &expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1638 expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1742 struct ocfs2_alloc_context *meta_ac) in ocfs2_insert_refcount_rec() argument
1757 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1830 struct ocfs2_alloc_context *meta_ac, in ocfs2_split_refcount_rec() argument
1883 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1984 struct ocfs2_alloc_context *meta_ac, in __ocfs2_increase_refcount() argument
2038 merge, meta_ac); in __ocfs2_increase_refcount()
2056 meta_ac, dealloc); in __ocfs2_increase_refcount()
2078 struct ocfs2_alloc_context *meta_ac, in ocfs2_remove_refcount_extent() argument
2096 1, meta_ac, dealloc); in ocfs2_remove_refcount_extent()
2158 struct ocfs2_alloc_context *meta_ac, in ocfs2_increase_refcount() argument
2163 meta_ac, dealloc); in ocfs2_increase_refcount()
2171 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount_rec() argument
2201 meta_ac, dealloc); in ocfs2_decrease_refcount_rec()
2212 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2226 struct ocfs2_alloc_context *meta_ac, in __ocfs2_decrease_refcount() argument
2260 meta_ac, dealloc); in __ocfs2_decrease_refcount()
2290 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount() argument
2321 cpos, len, meta_ac, dealloc, delete); in ocfs2_decrease_refcount()
2342 struct ocfs2_alloc_context *meta_ac, in ocfs2_mark_extent_refcounted() argument
2357 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
2843 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_refcount_allocators() argument
2872 meta_ac); in ocfs2_lock_refcount_allocators()
2887 if (*meta_ac) { in ocfs2_lock_refcount_allocators()
2888 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_refcount_allocators()
2889 *meta_ac = NULL; in ocfs2_lock_refcount_allocators()
3059 struct ocfs2_alloc_context *meta_ac, in ocfs2_clear_ext_refcount() argument
3104 &replace_rec, meta_ac, dealloc); in ocfs2_clear_ext_refcount()
3138 context->meta_ac, &context->dealloc); in ocfs2_replace_clusters()
3225 &context->meta_ac, in ocfs2_make_clusters_writable()
3272 context->meta_ac, in ocfs2_make_clusters_writable()
3303 context->meta_ac, in ocfs2_make_clusters_writable()
3346 if (context->meta_ac) { in ocfs2_make_clusters_writable()
3347 ocfs2_free_alloc_context(context->meta_ac); in ocfs2_make_clusters_writable()
3348 context->meta_ac = NULL; in ocfs2_make_clusters_writable()
3695 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcount_flag() local
3713 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()
3732 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3740 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3755 if (meta_ac) in ocfs2_add_refcount_flag()
3756 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcount_flag()
3908 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcounted_extent() local
3913 ref_root_bh, &meta_ac, in ocfs2_add_refcounted_extent()
3929 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3937 meta_ac, dealloc); in ocfs2_add_refcounted_extent()
3951 if (meta_ac) in ocfs2_add_refcounted_extent()
3952 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcounted_extent()