Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ocfs2/
Dmove_extents.c46 struct ocfs2_alloc_context *meta_ac; member
119 &replace_rec, context->meta_ac, in __ocfs2_move_extent()
138 len, context->meta_ac, in __ocfs2_move_extent()
159 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_meta_allocator_move_extents() argument
178 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); in ocfs2_lock_meta_allocator_move_extents()
191 if (*meta_ac) { in ocfs2_lock_meta_allocator_move_extents()
192 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_meta_allocator_move_extents()
193 *meta_ac = NULL; in ocfs2_lock_meta_allocator_move_extents()
245 &context->meta_ac, in ocfs2_defrag_extent()
358 if (context->meta_ac) { in ocfs2_defrag_extent()
[all …]
Dalloc.h89 struct ocfs2_alloc_context *meta_ac);
102 struct ocfs2_alloc_context *meta_ac,
111 struct ocfs2_alloc_context *meta_ac,
116 struct ocfs2_alloc_context *meta_ac,
121 struct ocfs2_alloc_context *meta_ac,
126 struct ocfs2_alloc_context *meta_ac,
Drefcounttree.c51 struct ocfs2_alloc_context *meta_ac; member
554 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local
570 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree()
590 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree()
624 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree()
684 if (meta_ac) in ocfs2_create_refcount_tree()
685 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree()
1278 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument
1297 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root()
1328 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root()
[all …]
Dacl.c221 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument
254 meta_ac, data_ac); in ocfs2_set_acl()
350 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl() argument
380 meta_ac, data_ac); in ocfs2_init_acl()
398 acl, meta_ac, data_ac); in ocfs2_init_acl()
Dxattr.c71 struct ocfs2_alloc_context *meta_ac; member
731 ctxt->meta_ac, in ocfs2_xattr_extend_allocation()
785 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range()
799 len, ctxt->meta_ac, &ctxt->dealloc, 1); in __ocfs2_remove_xattr_range()
2325 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument
2354 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2388 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2402 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2403 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2404 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside()
[all …]
Daops.c1132 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument
1153 data_ac, meta_ac, NULL); in ocfs2_write_cluster()
1175 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster()
1233 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument
1259 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
1671 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local
1756 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
1831 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1840 if (meta_ac) in ocfs2_write_begin_nolock()
1841 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock()
[all …]
Drefcounttree.h38 struct ocfs2_alloc_context *meta_ac,
104 struct ocfs2_alloc_context *meta_ac,
Ddir.c63 struct ocfs2_alloc_context *meta_ac,
2288 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index() argument
2302 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index()
2330 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index()
2473 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster() argument
2488 meta_ac); in ocfs2_dx_dir_new_cluster()
2515 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx() argument
2543 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2570 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir() argument
2580 data_ac, meta_ac); in ocfs2_fill_new_dir()
[all …]
Dalloc.c990 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs() argument
1004 meta_ac, in ocfs2_create_new_meta_bhs()
1039 cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_new_meta_bhs()
1151 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch() argument
1224 BUG_ON(!meta_ac); in ocfs2_add_branch()
1227 meta_ac, in ocfs2_add_branch()
1352 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth() argument
1366 } else if (meta_ac) { in ocfs2_shift_tree_depth()
1367 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth()
1527 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree() argument
[all …]
Dfile.h38 struct ocfs2_alloc_context *meta_ac,
Ddir.h96 struct ocfs2_alloc_context *meta_ac);
Dfile.c538 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument
547 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data()
563 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_extend_allocation() local
587 &data_ac, &meta_ac); in ocfs2_extend_allocation()
635 meta_ac, in ocfs2_extend_allocation()
690 if (meta_ac) { in ocfs2_extend_allocation()
691 ocfs2_free_alloc_context(meta_ac); in ocfs2_extend_allocation()
692 meta_ac = NULL; in ocfs2_extend_allocation()
Dsuballoc.h202 struct ocfs2_alloc_context **meta_ac);
Dnamei.c238 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local
342 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac); in ocfs2_mknod()
386 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod()
405 meta_ac, data_ac); in ocfs2_mknod()
414 meta_ac, data_ac); in ocfs2_mknod()
468 if (meta_ac) in ocfs2_mknod()
469 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
Dsuballoc.c2627 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators() argument
2633 *meta_ac = NULL; in ocfs2_lock_allocators()
2661 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators()
2681 if (*meta_ac) { in ocfs2_lock_allocators()
2682 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators()
2683 *meta_ac = NULL; in ocfs2_lock_allocators()