Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ocfs2/
Dmove_extents.c44 struct ocfs2_alloc_context *meta_ac; member
117 &replace_rec, context->meta_ac, in __ocfs2_move_extent()
136 len, context->meta_ac, in __ocfs2_move_extent()
157 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_meta_allocator_move_extents() argument
176 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); in ocfs2_lock_meta_allocator_move_extents()
189 if (*meta_ac) { in ocfs2_lock_meta_allocator_move_extents()
190 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_meta_allocator_move_extents()
191 *meta_ac = NULL; in ocfs2_lock_meta_allocator_move_extents()
243 &context->meta_ac, in ocfs2_defrag_extent()
356 if (context->meta_ac) { in ocfs2_defrag_extent()
[all …]
Dalloc.h87 struct ocfs2_alloc_context *meta_ac);
100 struct ocfs2_alloc_context *meta_ac,
109 struct ocfs2_alloc_context *meta_ac,
114 struct ocfs2_alloc_context *meta_ac,
119 struct ocfs2_alloc_context *meta_ac,
124 struct ocfs2_alloc_context *meta_ac,
Drefcounttree.c49 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 …]
Dxattr.c69 struct ocfs2_alloc_context *meta_ac; member
729 ctxt->meta_ac, in ocfs2_xattr_extend_allocation()
783 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range()
797 len, ctxt->meta_ac, &ctxt->dealloc, 1); in __ocfs2_remove_xattr_range()
2323 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument
2352 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2386 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2400 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2401 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2402 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside()
[all …]
Dacl.c219 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument
252 meta_ac, data_ac); in ocfs2_set_acl()
355 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.c1120 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument
1141 data_ac, meta_ac, NULL); in ocfs2_write_cluster()
1163 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster()
1221 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument
1247 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
1659 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local
1744 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
1819 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1828 if (meta_ac) in ocfs2_write_begin_nolock()
1829 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock()
[all …]
Drefcounttree.h36 struct ocfs2_alloc_context *meta_ac,
102 struct ocfs2_alloc_context *meta_ac,
Ddir.c61 struct ocfs2_alloc_context *meta_ac,
2286 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index() argument
2300 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index()
2328 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index()
2471 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster() argument
2486 meta_ac); in ocfs2_dx_dir_new_cluster()
2513 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx() argument
2541 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2568 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir() argument
2578 data_ac, meta_ac); in ocfs2_fill_new_dir()
[all …]
Dalloc.c988 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs() argument
1002 meta_ac, in ocfs2_create_new_meta_bhs()
1037 cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_new_meta_bhs()
1148 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch() argument
1221 BUG_ON(!meta_ac); in ocfs2_add_branch()
1224 meta_ac, in ocfs2_add_branch()
1349 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth() argument
1363 } else if (meta_ac) { in ocfs2_shift_tree_depth()
1364 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth()
1524 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree() argument
[all …]
Dfile.h36 struct ocfs2_alloc_context *meta_ac,
Ddir.h94 struct ocfs2_alloc_context *meta_ac);
Dsuballoc.h200 struct ocfs2_alloc_context **meta_ac);
Dfile.c536 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument
545 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data()
561 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_extend_allocation() local
585 &data_ac, &meta_ac); in ocfs2_extend_allocation()
633 meta_ac, in ocfs2_extend_allocation()
688 if (meta_ac) { in ocfs2_extend_allocation()
689 ocfs2_free_alloc_context(meta_ac); in ocfs2_extend_allocation()
690 meta_ac = NULL; in ocfs2_extend_allocation()
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()
475 if (meta_ac) in ocfs2_mknod()
476 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()