Lines Matching refs:meta_ac
58 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
2328 cpos, len, meta_ac, dealloc, delete); in ocfs2_decrease_refcount()
2349 struct ocfs2_alloc_context *meta_ac, in ocfs2_mark_extent_refcounted() argument
2364 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
2851 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_refcount_allocators() argument
2880 meta_ac); in ocfs2_lock_refcount_allocators()
2895 if (*meta_ac) { in ocfs2_lock_refcount_allocators()
2896 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_refcount_allocators()
2897 *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()
3697 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcount_flag() local
3712 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()
3731 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3739 meta_ac, dealloc); in ocfs2_add_refcount_flag()
3754 if (meta_ac) in ocfs2_add_refcount_flag()
3755 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcount_flag()
3907 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_add_refcounted_extent() local
3912 ref_root_bh, &meta_ac, in ocfs2_add_refcounted_extent()
3928 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3936 meta_ac, dealloc); in ocfs2_add_refcounted_extent()
3943 if (meta_ac) in ocfs2_add_refcounted_extent()
3944 ocfs2_free_alloc_context(meta_ac); in ocfs2_add_refcounted_extent()