Lines Matching refs:meta_ac

49 	struct ocfs2_alloc_context *meta_ac;  member
554 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local
570 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree()
590 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree()
624 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree()
684 if (meta_ac) in ocfs2_create_refcount_tree()
685 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree()
1278 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument
1297 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root()
1328 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root()
1516 struct ocfs2_alloc_context *meta_ac) in ocfs2_new_leaf_refcount_block() argument
1545 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_new_leaf_refcount_block()
1572 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_new_leaf_refcount_block()
1599 1, 0, meta_ac); in ocfs2_new_leaf_refcount_block()
1612 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_refcount_tree() argument
1623 &expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1636 expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1740 struct ocfs2_alloc_context *meta_ac) in ocfs2_insert_refcount_rec() argument
1755 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1828 struct ocfs2_alloc_context *meta_ac, in ocfs2_split_refcount_rec() argument
1881 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1982 struct ocfs2_alloc_context *meta_ac, in __ocfs2_increase_refcount() argument
2036 merge, meta_ac); in __ocfs2_increase_refcount()
2054 meta_ac, dealloc); in __ocfs2_increase_refcount()
2076 struct ocfs2_alloc_context *meta_ac, in ocfs2_remove_refcount_extent() argument
2094 1, meta_ac, dealloc); in ocfs2_remove_refcount_extent()
2156 struct ocfs2_alloc_context *meta_ac, in ocfs2_increase_refcount() argument
2161 meta_ac, dealloc); in ocfs2_increase_refcount()
2169 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount_rec() argument
2199 meta_ac, dealloc); in ocfs2_decrease_refcount_rec()
2210 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2224 struct ocfs2_alloc_context *meta_ac, in __ocfs2_decrease_refcount() argument
2258 meta_ac, dealloc); in __ocfs2_decrease_refcount()
2288 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount() argument
2319 cpos, len, meta_ac, dealloc, delete); in ocfs2_decrease_refcount()
2340 struct ocfs2_alloc_context *meta_ac, in ocfs2_mark_extent_refcounted() argument
2355 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
2841 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_refcount_allocators() argument
2870 meta_ac); in ocfs2_lock_refcount_allocators()
2885 if (*meta_ac) { in ocfs2_lock_refcount_allocators()
2886 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_refcount_allocators()
2887 *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()
3195 &context->meta_ac, in ocfs2_make_clusters_writable()
3242 context->meta_ac, in ocfs2_make_clusters_writable()
3273 context->meta_ac, in ocfs2_make_clusters_writable()
3316 if (context->meta_ac) { in ocfs2_make_clusters_writable()
3317 ocfs2_free_alloc_context(context->meta_ac); in ocfs2_make_clusters_writable()
3318 context->meta_ac = NULL; in ocfs2_make_clusters_writable()
3665 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcount_flag() local
3683 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()
3702 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3710 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3725 if (meta_ac) in ocfs2_add_refcount_flag()
3726 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcount_flag()
3878 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcounted_extent() local
3883 ref_root_bh, &meta_ac, in ocfs2_add_refcounted_extent()
3899 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3907 meta_ac, dealloc); in ocfs2_add_refcounted_extent()
3921 if (meta_ac) in ocfs2_add_refcounted_extent()
3922 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcounted_extent()