/fs/ocfs2/ |
D | move_extents.c | 46 struct ocfs2_alloc_context *meta_ac; member 111 &replace_rec, context->meta_ac, in __ocfs2_move_extent() 128 len, context->meta_ac, in __ocfs2_move_extent() 149 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_meta_allocator_move_extents() argument 168 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); in ocfs2_lock_meta_allocator_move_extents() 181 if (*meta_ac) { in ocfs2_lock_meta_allocator_move_extents() 182 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_meta_allocator_move_extents() 183 *meta_ac = NULL; in ocfs2_lock_meta_allocator_move_extents() 235 &context->meta_ac, in ocfs2_defrag_extent() 348 if (context->meta_ac) { in ocfs2_defrag_extent() [all …]
|
D | refcounttree.c | 51 struct ocfs2_alloc_context *meta_ac; member 556 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local 572 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree() 592 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree() 626 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree() 686 if (meta_ac) in ocfs2_create_refcount_tree() 687 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree() 1280 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument 1299 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root() 1330 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root() [all …]
|
D | alloc.h | 89 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,
|
D | xattr.c | 71 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 …]
|
D | acl.c | 221 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument 254 meta_ac, data_ac); in ocfs2_set_acl() 352 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl() argument 382 meta_ac, data_ac); in ocfs2_init_acl() 400 acl, meta_ac, data_ac); in ocfs2_init_acl()
|
D | aops.c | 1123 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument 1144 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1166 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster() 1224 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument 1250 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1662 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local 1747 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1822 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock() 1831 if (meta_ac) in ocfs2_write_begin_nolock() 1832 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock() [all …]
|
D | dir.c | 63 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 …]
|
D | alloc.c | 990 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() 1150 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch() argument 1223 BUG_ON(!meta_ac); in ocfs2_add_branch() 1226 meta_ac, in ocfs2_add_branch() 1351 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth() argument 1365 } else if (meta_ac) { in ocfs2_shift_tree_depth() 1366 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth() 1526 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree() argument [all …]
|
D | refcounttree.h | 38 struct ocfs2_alloc_context *meta_ac, 104 struct ocfs2_alloc_context *meta_ac,
|
D | file.h | 38 struct ocfs2_alloc_context *meta_ac,
|
D | dir.h | 96 struct ocfs2_alloc_context *meta_ac);
|
D | file.c | 542 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument 551 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 567 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_extend_allocation() local 591 &data_ac, &meta_ac); in ocfs2_extend_allocation() 639 meta_ac, in ocfs2_extend_allocation() 694 if (meta_ac) { in ocfs2_extend_allocation() 695 ocfs2_free_alloc_context(meta_ac); in ocfs2_extend_allocation() 696 meta_ac = NULL; in ocfs2_extend_allocation()
|
D | namei.c | 240 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local 345 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac); in ocfs2_mknod() 390 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod() 409 meta_ac, data_ac); in ocfs2_mknod() 418 meta_ac, data_ac); in ocfs2_mknod() 482 if (meta_ac) in ocfs2_mknod() 483 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
|
D | suballoc.h | 202 struct ocfs2_alloc_context **meta_ac);
|
D | suballoc.c | 2626 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators() argument 2632 *meta_ac = NULL; in ocfs2_lock_allocators() 2660 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators() 2680 if (*meta_ac) { in ocfs2_lock_allocators() 2681 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators() 2682 *meta_ac = NULL; in ocfs2_lock_allocators()
|