Home
last modified time | relevance | path

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

/linux/fs/ocfs2/
H A Dmove_extents.c44 struct ocfs2_alloc_context *meta_ac; member
115 &replace_rec, context->meta_ac, in __ocfs2_move_extent()
132 len, context->meta_ac, in __ocfs2_move_extent()
153 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_meta_allocator_move_extents() argument
172 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac); in ocfs2_lock_meta_allocator_move_extents()
185 if (*meta_ac) { in ocfs2_lock_meta_allocator_move_extents()
186 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_meta_allocator_move_extents()
187 *meta_ac = NULL; in ocfs2_lock_meta_allocator_move_extents()
239 &context->meta_ac, in ocfs2_defrag_extent()
352 if (context->meta_ac) { in ocfs2_defrag_extent()
[all …]
H A Drefcounttree.c51 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 …]
H A Dxattr.c73 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()
2357 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument
2386 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2420 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2434 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2435 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2436 ctxt.meta_ac = NULL; in ocfs2_remove_value_outside()
[all …]
H A Dacl.c220 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl() argument
253 meta_ac, data_ac); in ocfs2_set_acl()
357 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl() argument
387 meta_ac, data_ac); in ocfs2_init_acl()
405 acl, meta_ac, data_ac); in ocfs2_init_acl()
H A Daops.c1097 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster() argument
1118 data_ac, meta_ac, NULL); in ocfs2_write_cluster()
1140 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster()
1197 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc() argument
1223 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
1636 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock() local
1721 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
1796 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1805 if (meta_ac) in ocfs2_write_begin_nolock()
1806 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock()
[all …]
H A Drefcounttree.h36 struct ocfs2_alloc_context *meta_ac,
102 struct ocfs2_alloc_context *meta_ac,
H A Ddir.c61 struct ocfs2_alloc_context *meta_ac,
2340 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index() argument
2354 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index()
2382 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index()
2525 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster() argument
2540 meta_ac); in ocfs2_dx_dir_new_cluster()
2567 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx() argument
2595 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2622 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir() argument
2632 data_ac, meta_ac); in ocfs2_fill_new_dir()
[all …]
H A Dalloc.c996 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs() argument
1010 meta_ac, in ocfs2_create_new_meta_bhs()
1045 cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_new_meta_bhs()
1156 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch() argument
1229 BUG_ON(!meta_ac); in ocfs2_add_branch()
1232 meta_ac, in ocfs2_add_branch()
1357 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth() argument
1371 } else if (meta_ac) { in ocfs2_shift_tree_depth()
1372 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth()
1532 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree() argument
[all …]
H A Dfile.h37 struct ocfs2_alloc_context *meta_ac,
H A Ddir.h94 struct ocfs2_alloc_context *meta_ac);
H A Dfile.c544 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 Dsuballoc.h205 struct ocfs2_alloc_context **meta_ac);
H A Dnamei.c246 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_mknod() local
351 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac); in ocfs2_mknod()
396 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod()
415 meta_ac, data_ac); in ocfs2_mknod()
424 meta_ac, data_ac); in ocfs2_mknod()
488 if (meta_ac) in ocfs2_mknod()
489 ocfs2_free_alloc_context(meta_ac); in ocfs2_mknod()
H A Dsuballoc.c2738 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators() argument
2744 *meta_ac = NULL; in ocfs2_lock_allocators()
2772 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators()
2792 if (*meta_ac) { in ocfs2_lock_allocators()
2793 ocfs2_free_alloc_context(*meta_ac); in ocfs2_lock_allocators()
2794 *meta_ac = NULL; in ocfs2_lock_allocators()