Lines Matching refs:meta_ac

79 	struct ocfs2_alloc_context *meta_ac;  member
737 ctxt->meta_ac, in ocfs2_xattr_extend_allocation()
791 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range()
805 len, ctxt->meta_ac, &ctxt->dealloc, 1); in __ocfs2_remove_xattr_range()
2308 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument
2337 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2371 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2385 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2386 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2387 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside()
2397 if (ctxt.meta_ac) in ocfs2_remove_value_outside()
2398 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2864 ret = ocfs2_claim_metadata(ctxt->handle, ctxt->meta_ac, 1, in ocfs2_create_xattr_block()
2893 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot); in ocfs2_create_xattr_block()
3259 &ctxt->meta_ac); in ocfs2_init_xattr_set_ctxt()
3273 if (ctxt->meta_ac) { in ocfs2_init_xattr_set_ctxt()
3274 ocfs2_free_alloc_context(ctxt->meta_ac); in ocfs2_init_xattr_set_ctxt()
3275 ctxt->meta_ac = NULL; in ocfs2_init_xattr_set_ctxt()
3435 struct ocfs2_alloc_context *meta_ac, in ocfs2_xattr_set_handle() argument
3459 .meta_ac = meta_ac, in ocfs2_xattr_set_handle()
3637 if (ctxt.meta_ac) in ocfs2_xattr_set()
3638 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_xattr_set()
5158 num_bits, 0, ctxt->meta_ac); in ocfs2_add_new_xattr_cluster()
5416 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_rm_xattr_cluster() local
5438 ret = ocfs2_lock_allocators(inode, &et, 0, 1, NULL, &meta_ac); in ocfs2_rm_xattr_cluster()
5468 ret = ocfs2_remove_extent(handle, &et, cpos, len, meta_ac, in ocfs2_rm_xattr_cluster()
5490 if (meta_ac) in ocfs2_rm_xattr_cluster()
5491 ocfs2_free_alloc_context(meta_ac); in ocfs2_rm_xattr_cluster()
5672 &ctxt.meta_ac, in ocfs2_delete_xattr_in_bucket()
5686 if (ctxt.meta_ac) { in ocfs2_delete_xattr_in_bucket()
5687 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_delete_xattr_in_bucket()
5688 ctxt.meta_ac = NULL; in ocfs2_delete_xattr_in_bucket()
5696 if (ctxt.meta_ac) in ocfs2_delete_xattr_in_bucket()
5697 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_delete_xattr_in_bucket()
6272 struct ocfs2_alloc_context **meta_ac) in ocfs2_reflink_lock_xattr_allocators() argument
6305 ret = ocfs2_reserve_new_metadata_blocks(osb, meta_add, meta_ac); in ocfs2_reflink_lock_xattr_allocators()
6331 struct ocfs2_alloc_context *meta_ac, in ocfs2_reflink_xattr_header() argument
6426 meta_ac); in ocfs2_reflink_xattr_header()
6436 meta_ac, args->dealloc); in ocfs2_reflink_xattr_header()
6462 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_reflink_xattr_inline() local
6471 &credits, &meta_ac); in ocfs2_reflink_xattr_inline()
6498 args->new_bh, new_xh, &vb, meta_ac, in ocfs2_reflink_xattr_inline()
6527 if (meta_ac) in ocfs2_reflink_xattr_inline()
6528 ocfs2_free_alloc_context(meta_ac); in ocfs2_reflink_xattr_inline()
6542 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &ctxt.meta_ac); in ocfs2_create_empty_xattr_block()
6564 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_create_empty_xattr_block()
6584 struct ocfs2_alloc_context *meta_ac; in ocfs2_reflink_xattr_block() local
6591 &credits, &meta_ac); in ocfs2_reflink_xattr_block()
6627 new_blk_bh, new_xh, &vb, meta_ac, in ocfs2_reflink_xattr_block()
6650 ocfs2_free_alloc_context(meta_ac); in ocfs2_reflink_xattr_block()
6737 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_reflink_xattr_rec_allocators() argument
6796 meta_ac); in ocfs2_lock_reflink_xattr_rec_allocators()
6810 if (*meta_ac) { in ocfs2_lock_reflink_xattr_rec_allocators()
6811 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_reflink_xattr_rec_allocators()
6812 *meta_ac = NULL; in ocfs2_lock_reflink_xattr_rec_allocators()
6822 struct ocfs2_alloc_context *meta_ac, in ocfs2_reflink_xattr_bucket() argument
6878 &vb, meta_ac, in ocfs2_reflink_xattr_bucket()
6914 struct ocfs2_alloc_context *meta_ac, in ocfs2_reflink_xattr_buckets() argument
6947 meta_ac, data_ac, args); in ocfs2_reflink_xattr_buckets()
6963 num_clusters, 0, meta_ac); in ocfs2_reflink_xattr_buckets()
6993 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_reflink_xattr_rec() local
7005 &meta_ac, &data_ac); in ocfs2_reflink_xattr_rec()
7019 meta_ac, data_ac, in ocfs2_reflink_xattr_rec()
7027 if (meta_ac) in ocfs2_reflink_xattr_rec()
7028 ocfs2_free_alloc_context(meta_ac); in ocfs2_reflink_xattr_rec()