Home
last modified time | relevance | path

Searched refs:meta_ac (Results 1 – 16 of 16) sorted by relevance

/fs/ocfs2/
Dmove_extents.c53 struct ocfs2_alloc_context *meta_ac; member
126 &replace_rec, context->meta_ac, in __ocfs2_move_extent()
145 len, context->meta_ac, in __ocfs2_move_extent()
169 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_allocators_move_extents() argument
189 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); in ocfs2_lock_allocators_move_extents()
209 if (*meta_ac) { in ocfs2_lock_allocators_move_extents()
210 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators_move_extents()
211 *meta_ac = NULL; in ocfs2_lock_allocators_move_extents()
264 &context->meta_ac, in ocfs2_defrag_extent()
348 if (context->meta_ac) { in ocfs2_defrag_extent()
[all …]
Drefcounttree.c58 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()
[all …]
Dalloc.h102 struct ocfs2_alloc_context *meta_ac);
115 struct ocfs2_alloc_context *meta_ac,
124 struct ocfs2_alloc_context *meta_ac,
129 struct ocfs2_alloc_context *meta_ac,
134 struct ocfs2_alloc_context *meta_ac,
139 struct ocfs2_alloc_context *meta_ac,
Dxattr.c79 struct ocfs2_alloc_context *meta_ac; member
736 ctxt->meta_ac, in ocfs2_xattr_extend_allocation()
790 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range()
804 len, ctxt->meta_ac, &ctxt->dealloc, 1); in __ocfs2_remove_xattr_range()
2329 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument
2358 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2392 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2406 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2407 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2408 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside()
[all …]
Dacl.c229 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument
274 meta_ac, data_ac); in ocfs2_set_acl()
357 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl() argument
385 meta_ac, data_ac); in ocfs2_init_acl()
403 acl, meta_ac, data_ac); in ocfs2_init_acl()
Daops.c1121 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument
1142 data_ac, meta_ac, NULL); in ocfs2_write_cluster()
1164 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster()
1222 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument
1248 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
1660 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local
1745 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
1820 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1829 if (meta_ac) in ocfs2_write_begin_nolock()
1830 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock()
[all …]
Ddir.c80 struct ocfs2_alloc_context *meta_ac,
2314 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index() argument
2328 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index()
2356 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index()
2499 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster() argument
2514 meta_ac); in ocfs2_dx_dir_new_cluster()
2541 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx() argument
2569 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2596 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir() argument
2606 data_ac, meta_ac); in ocfs2_fill_new_dir()
[all …]
Drefcounttree.h46 struct ocfs2_alloc_context *meta_ac,
112 struct ocfs2_alloc_context *meta_ac,
Dalloc.c998 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs() argument
1012 meta_ac, in ocfs2_create_new_meta_bhs()
1047 cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_new_meta_bhs()
1159 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch() argument
1217 meta_ac, new_eb_bhs); in ocfs2_add_branch()
1340 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth() argument
1350 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth()
1507 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree() argument
1514 BUG_ON(meta_ac == NULL); in ocfs2_grow_tree()
1536 ret = ocfs2_shift_tree_depth(handle, et, meta_ac, &bh); in ocfs2_grow_tree()
[all …]
Dacl.h36 struct ocfs2_alloc_context *meta_ac,
Dfile.h52 struct ocfs2_alloc_context *meta_ac,
Ddir.h110 struct ocfs2_alloc_context *meta_ac);
Dfile.c550 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument
559 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data()
575 struct ocfs2_alloc_context *meta_ac = NULL; in __ocfs2_extend_allocation() local
599 &data_ac, &meta_ac); in __ocfs2_extend_allocation()
647 meta_ac, in __ocfs2_extend_allocation()
702 if (meta_ac) { in __ocfs2_extend_allocation()
703 ocfs2_free_alloc_context(meta_ac); in __ocfs2_extend_allocation()
704 meta_ac = NULL; in __ocfs2_extend_allocation()
Dsuballoc.h216 struct ocfs2_alloc_context **meta_ac);
Dnamei.c251 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local
355 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac); in ocfs2_mknod()
399 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod()
418 meta_ac, data_ac); in ocfs2_mknod()
427 meta_ac, data_ac); in ocfs2_mknod()
481 if (meta_ac) in ocfs2_mknod()
482 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
Dsuballoc.c2691 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators() argument
2697 *meta_ac = NULL; in ocfs2_lock_allocators()
2725 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators()
2745 if (*meta_ac) { in ocfs2_lock_allocators()
2746 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators()
2747 *meta_ac = NULL; in ocfs2_lock_allocators()