Lines Matching refs:meta_ac

59 	struct ocfs2_alloc_context *meta_ac;  member
562 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local
578 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree()
598 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree()
632 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree()
692 if (meta_ac) in ocfs2_create_refcount_tree()
693 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree()
1286 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument
1305 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root()
1336 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root()
1524 struct ocfs2_alloc_context *meta_ac) in ocfs2_new_leaf_refcount_block() argument
1553 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_new_leaf_refcount_block()
1580 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_new_leaf_refcount_block()
1607 1, 0, meta_ac); in ocfs2_new_leaf_refcount_block()
1620 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_refcount_tree() argument
1631 &expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1644 expand_bh, meta_ac); in ocfs2_expand_refcount_tree()
1748 struct ocfs2_alloc_context *meta_ac) in ocfs2_insert_refcount_rec() argument
1763 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1836 struct ocfs2_alloc_context *meta_ac, in ocfs2_split_refcount_rec() argument
1889 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1990 struct ocfs2_alloc_context *meta_ac, in __ocfs2_increase_refcount() argument
2044 merge, meta_ac); in __ocfs2_increase_refcount()
2062 meta_ac, dealloc); in __ocfs2_increase_refcount()
2084 struct ocfs2_alloc_context *meta_ac, in ocfs2_remove_refcount_extent() argument
2102 1, meta_ac, dealloc); in ocfs2_remove_refcount_extent()
2164 struct ocfs2_alloc_context *meta_ac, in ocfs2_increase_refcount() argument
2169 meta_ac, dealloc); in ocfs2_increase_refcount()
2177 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount_rec() argument
2207 meta_ac, dealloc); in ocfs2_decrease_refcount_rec()
2218 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2232 struct ocfs2_alloc_context *meta_ac, in __ocfs2_decrease_refcount() argument
2266 meta_ac, dealloc); in __ocfs2_decrease_refcount()
2296 struct ocfs2_alloc_context *meta_ac, in ocfs2_decrease_refcount() argument
2327 cpos, len, meta_ac, dealloc, delete); in ocfs2_decrease_refcount()
2348 struct ocfs2_alloc_context *meta_ac, in ocfs2_mark_extent_refcounted() argument
2363 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
2849 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_refcount_allocators() argument
2878 meta_ac); in ocfs2_lock_refcount_allocators()
2893 if (*meta_ac) { in ocfs2_lock_refcount_allocators()
2894 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_refcount_allocators()
2895 *meta_ac = NULL; in ocfs2_lock_refcount_allocators()
3065 struct ocfs2_alloc_context *meta_ac, in ocfs2_clear_ext_refcount() argument
3110 &replace_rec, meta_ac, dealloc); in ocfs2_clear_ext_refcount()
3144 context->meta_ac, &context->dealloc); in ocfs2_replace_clusters()
3231 &context->meta_ac, in ocfs2_make_clusters_writable()
3278 context->meta_ac, in ocfs2_make_clusters_writable()
3309 context->meta_ac, in ocfs2_make_clusters_writable()
3352 if (context->meta_ac) { in ocfs2_make_clusters_writable()
3353 ocfs2_free_alloc_context(context->meta_ac); in ocfs2_make_clusters_writable()
3354 context->meta_ac = NULL; in ocfs2_make_clusters_writable()
3701 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcount_flag() local
3719 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()
3738 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3746 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3761 if (meta_ac) in ocfs2_add_refcount_flag()
3762 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcount_flag()
3914 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcounted_extent() local
3919 ref_root_bh, &meta_ac, in ocfs2_add_refcounted_extent()
3935 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3943 meta_ac, dealloc); in ocfs2_add_refcounted_extent()
3957 if (meta_ac) in ocfs2_add_refcounted_extent()
3958 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcounted_extent()