Lines Matching defs:meta_ac

69 	struct ocfs2_alloc_context *meta_ac;
725 ctxt->meta_ac,
779 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac,
793 len, ctxt->meta_ac, &ctxt->dealloc, 1);
2319 struct ocfs2_alloc_context **meta_ac,
2348 meta_add, meta_ac);
2382 &ctxt.meta_ac,
2396 if (ctxt.meta_ac) {
2397 ocfs2_free_alloc_context(ctxt.meta_ac);
2398 ctxt.meta_ac = NULL;
2408 if (ctxt.meta_ac)
2409 ocfs2_free_alloc_context(ctxt.meta_ac);
2875 ret = ocfs2_claim_metadata(ctxt->handle, ctxt->meta_ac, 1,
2904 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot);
3270 &ctxt->meta_ac);
3284 if (ctxt->meta_ac) {
3285 ocfs2_free_alloc_context(ctxt->meta_ac);
3286 ctxt->meta_ac = NULL;
3446 struct ocfs2_alloc_context *meta_ac,
3470 .meta_ac = meta_ac,
3650 if (ctxt.meta_ac)
3651 ocfs2_free_alloc_context(ctxt.meta_ac);
5166 num_bits, 0, ctxt->meta_ac);
5424 struct ocfs2_alloc_context *meta_ac = NULL;
5446 ret = ocfs2_lock_allocators(inode, &et, 0, 1, NULL, &meta_ac);
5476 ret = ocfs2_remove_extent(handle, &et, cpos, len, meta_ac,
5498 if (meta_ac)
5499 ocfs2_free_alloc_context(meta_ac);
5680 &ctxt.meta_ac,
5694 if (ctxt.meta_ac) {
5695 ocfs2_free_alloc_context(ctxt.meta_ac);
5696 ctxt.meta_ac = NULL;
5704 if (ctxt.meta_ac)
5705 ocfs2_free_alloc_context(ctxt.meta_ac);
6273 * Lock the meta_ac and caculate how much credits we need for reflink xattrs.
6280 struct ocfs2_alloc_context **meta_ac)
6313 ret = ocfs2_reserve_new_metadata_blocks(osb, meta_add, meta_ac);
6339 struct ocfs2_alloc_context *meta_ac,
6434 meta_ac);
6444 meta_ac, args->dealloc);
6470 struct ocfs2_alloc_context *meta_ac = NULL;
6479 &credits, &meta_ac);
6506 args->new_bh, new_xh, &vb, meta_ac,
6535 if (meta_ac)
6536 ocfs2_free_alloc_context(meta_ac);
6550 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &ctxt.meta_ac);
6572 ocfs2_free_alloc_context(ctxt.meta_ac);
6592 struct ocfs2_alloc_context *meta_ac;
6599 &credits, &meta_ac);
6635 new_blk_bh, new_xh, &vb, meta_ac,
6658 ocfs2_free_alloc_context(meta_ac);
6745 struct ocfs2_alloc_context **meta_ac,
6804 meta_ac);
6818 if (*meta_ac) {
6819 ocfs2_free_alloc_context(*meta_ac);
6820 *meta_ac = NULL;
6830 struct ocfs2_alloc_context *meta_ac,
6886 &vb, meta_ac,
6922 struct ocfs2_alloc_context *meta_ac,
6955 meta_ac, data_ac, args);
6971 num_clusters, 0, meta_ac);
7001 struct ocfs2_alloc_context *meta_ac = NULL;
7013 &meta_ac, &data_ac);
7027 meta_ac, data_ac,
7035 if (meta_ac)
7036 ocfs2_free_alloc_context(meta_ac);