/openbmc/linux/fs/ocfs2/ |
H A D | move_extents.c | 44 struct ocfs2_alloc_context *meta_ac; member 109 &replace_rec, context->meta_ac, in __ocfs2_move_extent() 126 len, context->meta_ac, in __ocfs2_move_extent() 147 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_meta_allocator_move_extents() argument 166 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); in ocfs2_lock_meta_allocator_move_extents() 179 if (*meta_ac) { in ocfs2_lock_meta_allocator_move_extents() 180 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_meta_allocator_move_extents() 181 *meta_ac = NULL; in ocfs2_lock_meta_allocator_move_extents() 233 &context->meta_ac, in ocfs2_defrag_extent() 346 if (context->meta_ac) { in ocfs2_defrag_extent() [all …]
|
H A D | refcounttree.c | 50 struct ocfs2_alloc_context *meta_ac; member 555 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local 571 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree() 591 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree() 625 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree() 685 if (meta_ac) in ocfs2_create_refcount_tree() 686 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree() 1279 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument 1298 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root() 1329 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root() [all …]
|
H A 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,
|
H A D | xattr.c | 69 struct ocfs2_alloc_context *meta_ac; member 725 ctxt->meta_ac, in ocfs2_xattr_extend_allocation() 779 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range() 793 len, ctxt->meta_ac, &ctxt->dealloc, 1); in __ocfs2_remove_xattr_range() 2327 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument 2356 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators() 2390 &ctxt.meta_ac, in ocfs2_remove_value_outside() 2404 if (ctxt.meta_ac) { in ocfs2_remove_value_outside() 2405 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside() 2406 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside() [all …]
|
H A D | acl.c | 219 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument 252 meta_ac, data_ac); in ocfs2_set_acl() 356 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl() argument 386 meta_ac, data_ac); in ocfs2_init_acl() 404 acl, meta_ac, data_ac); in ocfs2_init_acl()
|
H A D | aops.c | 1118 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument 1139 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1161 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster() 1219 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument 1245 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1657 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local 1742 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1817 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock() 1826 if (meta_ac) in ocfs2_write_begin_nolock() 1827 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock() [all …]
|
H A D | refcounttree.h | 36 struct ocfs2_alloc_context *meta_ac, 102 struct ocfs2_alloc_context *meta_ac,
|
H A D | dir.c | 61 struct ocfs2_alloc_context *meta_ac, 2313 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index() argument 2327 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index() 2355 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index() 2498 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster() argument 2513 meta_ac); in ocfs2_dx_dir_new_cluster() 2540 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx() argument 2568 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx() 2595 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir() argument 2605 data_ac, meta_ac); in ocfs2_fill_new_dir() [all …]
|
H A 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 …]
|
H A D | file.h | 36 struct ocfs2_alloc_context *meta_ac,
|
H A D | dir.h | 94 struct ocfs2_alloc_context *meta_ac);
|
H A D | file.c | 544 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument 552 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 566 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_extend_allocation() local 590 &data_ac, &meta_ac); in ocfs2_extend_allocation() 638 meta_ac, in ocfs2_extend_allocation() 693 if (meta_ac) { in ocfs2_extend_allocation() 694 ocfs2_free_alloc_context(meta_ac); in ocfs2_extend_allocation() 695 meta_ac = NULL; in ocfs2_extend_allocation()
|
H A D | suballoc.h | 200 struct ocfs2_alloc_context **meta_ac);
|
H A D | namei.c | 242 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local 347 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac); in ocfs2_mknod() 392 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod() 411 meta_ac, data_ac); in ocfs2_mknod() 420 meta_ac, data_ac); in ocfs2_mknod() 484 if (meta_ac) in ocfs2_mknod() 485 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
|
H A 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()
|