/linux-6.1.9/fs/ocfs2/ |
D | move_extents.c | 44 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 …]
|
D | alloc.h | 87 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,
|
D | refcounttree.c | 49 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 …]
|
D | xattr.c | 69 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 …]
|
D | acl.c | 219 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()
|
D | aops.c | 1119 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument 1140 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1162 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster() 1220 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument 1246 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1658 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local 1743 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1818 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock() 1827 if (meta_ac) in ocfs2_write_begin_nolock() 1828 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock() [all …]
|
D | refcounttree.h | 36 struct ocfs2_alloc_context *meta_ac, 102 struct ocfs2_alloc_context *meta_ac,
|
D | dir.c | 61 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 …]
|
D | alloc.c | 988 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 …]
|
D | file.h | 36 struct ocfs2_alloc_context *meta_ac,
|
D | dir.h | 94 struct ocfs2_alloc_context *meta_ac);
|
D | suballoc.h | 200 struct ocfs2_alloc_context **meta_ac);
|
D | file.c | 540 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument 548 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 562 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_extend_allocation() local 586 &data_ac, &meta_ac); in ocfs2_extend_allocation() 634 meta_ac, in ocfs2_extend_allocation() 689 if (meta_ac) { in ocfs2_extend_allocation() 690 ocfs2_free_alloc_context(meta_ac); in ocfs2_extend_allocation() 691 meta_ac = NULL; in ocfs2_extend_allocation()
|
D | namei.c | 240 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local 344 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac); in ocfs2_mknod() 389 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod() 408 meta_ac, data_ac); in ocfs2_mknod() 417 meta_ac, data_ac); in ocfs2_mknod() 481 if (meta_ac) in ocfs2_mknod() 482 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
|
D | suballoc.c | 2624 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators() argument 2630 *meta_ac = NULL; in ocfs2_lock_allocators() 2658 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators() 2678 if (*meta_ac) { in ocfs2_lock_allocators() 2679 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators() 2680 *meta_ac = NULL; in ocfs2_lock_allocators()
|