Lines Matching refs:meta_ac

71 	struct ocfs2_alloc_context *meta_ac;
731 ctxt->meta_ac,
785 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac,
799 len, ctxt->meta_ac, &ctxt->dealloc, 1);
2325 struct ocfs2_alloc_context **meta_ac,
2354 meta_add, meta_ac);
2388 &ctxt.meta_ac,
2402 if (ctxt.meta_ac) {
2403 ocfs2_free_alloc_context(ctxt.meta_ac);
2404 ctxt.meta_ac = NULL;
2414 if (ctxt.meta_ac)
2415 ocfs2_free_alloc_context(ctxt.meta_ac);
2881 ret = ocfs2_claim_metadata(ctxt->handle, ctxt->meta_ac, 1,
2910 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot);
3276 &ctxt->meta_ac);
3290 if (ctxt->meta_ac) {
3291 ocfs2_free_alloc_context(ctxt->meta_ac);
3292 ctxt->meta_ac = NULL;
3452 struct ocfs2_alloc_context *meta_ac,
3476 .meta_ac = meta_ac,
3656 if (ctxt.meta_ac)
3657 ocfs2_free_alloc_context(ctxt.meta_ac);
5172 num_bits, 0, ctxt->meta_ac);
5430 struct ocfs2_alloc_context *meta_ac = NULL;
5452 ret = ocfs2_lock_allocators(inode, &et, 0, 1, NULL, &meta_ac);
5482 ret = ocfs2_remove_extent(handle, &et, cpos, len, meta_ac,
5504 if (meta_ac)
5505 ocfs2_free_alloc_context(meta_ac);
5686 &ctxt.meta_ac,
5700 if (ctxt.meta_ac) {
5701 ocfs2_free_alloc_context(ctxt.meta_ac);
5702 ctxt.meta_ac = NULL;
5710 if (ctxt.meta_ac)
5711 ocfs2_free_alloc_context(ctxt.meta_ac);
6279 * Lock the meta_ac and caculate how much credits we need for reflink xattrs.
6286 struct ocfs2_alloc_context **meta_ac)
6319 ret = ocfs2_reserve_new_metadata_blocks(osb, meta_add, meta_ac);
6345 struct ocfs2_alloc_context *meta_ac,
6440 meta_ac);
6450 meta_ac, args->dealloc);
6476 struct ocfs2_alloc_context *meta_ac = NULL;
6485 &credits, &meta_ac);
6512 args->new_bh, new_xh, &vb, meta_ac,
6541 if (meta_ac)
6542 ocfs2_free_alloc_context(meta_ac);
6556 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &ctxt.meta_ac);
6578 ocfs2_free_alloc_context(ctxt.meta_ac);
6598 struct ocfs2_alloc_context *meta_ac;
6605 &credits, &meta_ac);
6641 new_blk_bh, new_xh, &vb, meta_ac,
6664 ocfs2_free_alloc_context(meta_ac);
6751 struct ocfs2_alloc_context **meta_ac,
6810 meta_ac);
6824 if (*meta_ac) {
6825 ocfs2_free_alloc_context(*meta_ac);
6826 *meta_ac = NULL;
6836 struct ocfs2_alloc_context *meta_ac,
6892 &vb, meta_ac,
6928 struct ocfs2_alloc_context *meta_ac,
6961 meta_ac, data_ac, args);
6977 num_clusters, 0, meta_ac);
7007 struct ocfs2_alloc_context *meta_ac = NULL;
7019 &meta_ac, &data_ac);
7033 meta_ac, data_ac,
7041 if (meta_ac)
7042 ocfs2_free_alloc_context(meta_ac);