Home
last modified time | relevance | path

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

/Linux-v4.19/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()
261 &context->meta_ac, in ocfs2_defrag_extent()
345 if (context->meta_ac) { in ocfs2_defrag_extent()
[all …]
Dalloc.h103 struct ocfs2_alloc_context *meta_ac);
116 struct ocfs2_alloc_context *meta_ac,
125 struct ocfs2_alloc_context *meta_ac,
130 struct ocfs2_alloc_context *meta_ac,
135 struct ocfs2_alloc_context *meta_ac,
140 struct ocfs2_alloc_context *meta_ac,
Drefcounttree.c59 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 …]
Dacl.c229 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument
262 meta_ac, data_ac); in ocfs2_set_acl()
358 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl() argument
388 meta_ac, data_ac); in ocfs2_init_acl()
406 acl, meta_ac, data_ac); in ocfs2_init_acl()
Dxattr.c79 struct ocfs2_alloc_context *meta_ac; member
739 ctxt->meta_ac, in ocfs2_xattr_extend_allocation()
793 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range()
807 len, ctxt->meta_ac, &ctxt->dealloc, 1); in __ocfs2_remove_xattr_range()
2333 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument
2362 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2396 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2410 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2411 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2412 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside()
[all …]
Daops.c1144 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument
1165 data_ac, meta_ac, NULL); in ocfs2_write_cluster()
1187 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster()
1245 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument
1271 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
1684 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local
1769 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
1844 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1853 if (meta_ac) in ocfs2_write_begin_nolock()
1854 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock()
[all …]
Drefcounttree.h46 struct ocfs2_alloc_context *meta_ac,
112 struct ocfs2_alloc_context *meta_ac,
Ddir.c81 struct ocfs2_alloc_context *meta_ac,
2315 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index() argument
2329 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index()
2357 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index()
2500 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster() argument
2515 meta_ac); in ocfs2_dx_dir_new_cluster()
2542 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx() argument
2570 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2597 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir() argument
2607 data_ac, meta_ac); in ocfs2_fill_new_dir()
[all …]
Dalloc.c1004 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs() argument
1018 meta_ac, in ocfs2_create_new_meta_bhs()
1053 cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_new_meta_bhs()
1165 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch() argument
1238 BUG_ON(!meta_ac); in ocfs2_add_branch()
1241 meta_ac, in ocfs2_add_branch()
1366 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth() argument
1380 } else if (meta_ac) { in ocfs2_shift_tree_depth()
1381 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth()
1541 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree() argument
[all …]
Dfile.h52 struct ocfs2_alloc_context *meta_ac,
Ddir.h110 struct ocfs2_alloc_context *meta_ac);
Dfile.c552 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument
561 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data()
577 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_extend_allocation() local
601 &data_ac, &meta_ac); in ocfs2_extend_allocation()
649 meta_ac, in ocfs2_extend_allocation()
704 if (meta_ac) { in ocfs2_extend_allocation()
705 ocfs2_free_alloc_context(meta_ac); in ocfs2_extend_allocation()
706 meta_ac = NULL; in ocfs2_extend_allocation()
Dsuballoc.h216 struct ocfs2_alloc_context **meta_ac);
Dnamei.c252 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local
356 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac); in ocfs2_mknod()
400 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod()
419 meta_ac, data_ac); in ocfs2_mknod()
428 meta_ac, data_ac); in ocfs2_mknod()
482 if (meta_ac) in ocfs2_mknod()
483 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
Dsuballoc.c2641 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators() argument
2647 *meta_ac = NULL; in ocfs2_lock_allocators()
2675 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators()
2695 if (*meta_ac) { in ocfs2_lock_allocators()
2696 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators()
2697 *meta_ac = NULL; in ocfs2_lock_allocators()