/linux-4.1.27/fs/ocfs2/ |
D | move_extents.c | 53 struct ocfs2_alloc_context *meta_ac; member 128 &replace_rec, context->meta_ac, in __ocfs2_move_extent() 147 len, context->meta_ac, in __ocfs2_move_extent() 171 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_allocators_move_extents() argument 191 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); in ocfs2_lock_allocators_move_extents() 211 if (*meta_ac) { in ocfs2_lock_allocators_move_extents() 212 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators_move_extents() 213 *meta_ac = NULL; in ocfs2_lock_allocators_move_extents() 266 &context->meta_ac, in ocfs2_defrag_extent() 350 if (context->meta_ac) { in ocfs2_defrag_extent() [all …]
|
D | refcounttree.c | 58 struct ocfs2_alloc_context *meta_ac; member 564 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree() local 580 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree() 600 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree() 634 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree() 694 if (meta_ac) in ocfs2_create_refcount_tree() 695 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree() 1290 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root() argument 1309 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root() 1340 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root() [all …]
|
D | alloc.h | 102 struct ocfs2_alloc_context *meta_ac); 115 struct ocfs2_alloc_context *meta_ac, 124 struct ocfs2_alloc_context *meta_ac, 129 struct ocfs2_alloc_context *meta_ac, 134 struct ocfs2_alloc_context *meta_ac, 139 struct ocfs2_alloc_context *meta_ac,
|
D | acl.c | 229 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument 276 meta_ac, data_ac); in ocfs2_set_acl() 345 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl() argument 373 meta_ac, data_ac); in ocfs2_init_acl() 391 acl, meta_ac, data_ac); in ocfs2_init_acl()
|
D | xattr.c | 79 struct ocfs2_alloc_context *meta_ac; member 743 ctxt->meta_ac, in ocfs2_xattr_extend_allocation() 797 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range() 811 len, ctxt->meta_ac, &ctxt->dealloc, 1); in __ocfs2_remove_xattr_range() 2314 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument 2343 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators() 2377 &ctxt.meta_ac, in ocfs2_remove_value_outside() 2391 if (ctxt.meta_ac) { in ocfs2_remove_value_outside() 2392 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside() 2393 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside() [all …]
|
D | refcounttree.h | 46 struct ocfs2_alloc_context *meta_ac, 112 struct ocfs2_alloc_context *meta_ac,
|
D | acl.h | 36 struct ocfs2_alloc_context *meta_ac,
|
D | dir.c | 80 struct ocfs2_alloc_context *meta_ac, 2324 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index() argument 2338 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index() 2366 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index() 2509 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster() argument 2524 meta_ac); in ocfs2_dx_dir_new_cluster() 2551 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx() argument 2579 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx() 2606 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir() argument 2616 data_ac, meta_ac); in ocfs2_fill_new_dir() [all …]
|
D | aops.c | 1550 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument 1571 meta_ac, NULL); in ocfs2_write_cluster() 1593 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster() 1648 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument 1673 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 2054 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local 2136 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 2214 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock() 2223 if (meta_ac) in ocfs2_write_begin_nolock() 2224 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock() [all …]
|
D | alloc.c | 1000 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs() argument 1014 meta_ac, in ocfs2_create_new_meta_bhs() 1049 cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_new_meta_bhs() 1161 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch() argument 1219 meta_ac, new_eb_bhs); in ocfs2_add_branch() 1342 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth() argument 1352 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth() 1512 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree() argument 1519 BUG_ON(meta_ac == NULL); in ocfs2_grow_tree() 1541 ret = ocfs2_shift_tree_depth(handle, et, meta_ac, &bh); in ocfs2_grow_tree() [all …]
|
D | file.h | 52 struct ocfs2_alloc_context *meta_ac,
|
D | dir.h | 110 struct ocfs2_alloc_context *meta_ac);
|
D | file.c | 546 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument 555 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 571 struct ocfs2_alloc_context *meta_ac = NULL; in __ocfs2_extend_allocation() local 595 &data_ac, &meta_ac); in __ocfs2_extend_allocation() 643 meta_ac, in __ocfs2_extend_allocation() 698 if (meta_ac) { in __ocfs2_extend_allocation() 699 ocfs2_free_alloc_context(meta_ac); in __ocfs2_extend_allocation() 700 meta_ac = NULL; in __ocfs2_extend_allocation()
|
D | suballoc.h | 216 struct ocfs2_alloc_context **meta_ac);
|
D | namei.c | 249 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local 348 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() 474 if (meta_ac) in ocfs2_mknod() 475 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
|
D | suballoc.c | 2680 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators() argument 2686 *meta_ac = NULL; in ocfs2_lock_allocators() 2714 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators() 2734 if (*meta_ac) { in ocfs2_lock_allocators() 2735 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators() 2736 *meta_ac = NULL; in ocfs2_lock_allocators()
|