Home
last modified time | relevance | path

Searched refs:meta_ac (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dmove_extents.c46 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()
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()
145 ocfs2_lock_meta_allocator_move_extents(struct inode *inode, struct ocfs2_extent_tree *et, u32 clusters_to_move, u32 extents_to_split, struct ocfs2_alloc_context **meta_ac, int extra_blocks, int *credits) ocfs2_lock_meta_allocator_move_extents() argument
[all...]
H A Dalloc.h89 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,
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()
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 in ocfs2_expand_inline_ref_root()
1276 ocfs2_expand_inline_ref_root(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head **ref_leaf_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_expand_inline_ref_root() argument
1514 ocfs2_new_leaf_refcount_block(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_new_leaf_refcount_block() argument
1610 ocfs2_expand_refcount_tree(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_expand_refcount_tree() argument
1736 ocfs2_insert_refcount_rec(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_refcount_rec *rec, int index, int merge, struct ocfs2_alloc_context *meta_ac) ocfs2_insert_refcount_rec() argument
1824 ocfs2_split_refcount_rec(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_refcount_rec *split_rec, int index, int merge, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_split_refcount_rec() argument
1980 __ocfs2_increase_refcount(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, u64 cpos, u32 len, int merge, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) __ocfs2_increase_refcount() argument
2074 ocfs2_remove_refcount_extent(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_remove_refcount_extent() argument
2154 ocfs2_increase_refcount(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, u64 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_increase_refcount() argument
2166 ocfs2_decrease_refcount_rec(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, int index, u64 cpos, unsigned int len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_decrease_refcount_rec() argument
2222 __ocfs2_decrease_refcount(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, u64 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int delete) __ocfs2_decrease_refcount() argument
2288 ocfs2_decrease_refcount(struct inode *inode, handle_t *handle, u32 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int delete) ocfs2_decrease_refcount() argument
2338 ocfs2_mark_extent_refcounted(struct inode *inode, struct ocfs2_extent_tree *et, handle_t *handle, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_mark_extent_refcounted() argument
2838 ocfs2_lock_refcount_allocators(struct super_block *sb, u32 p_cluster, u32 num_clusters, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac, int *credits) ocfs2_lock_refcount_allocators() argument
3055 ocfs2_clear_ext_refcount(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 p_cluster, u32 len, unsigned int ext_flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_clear_ext_refcount() argument
3695 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_add_refcount_flag() local
3908 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_add_refcounted_extent() local
[all...]
H A Daops.c1123 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster()
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()
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()
1118 ocfs2_write_cluster(struct address_space *mapping, u32 *phys, unsigned int new, unsigned int clear_unwritten, unsigned int should_zero, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct ocfs2_write_ctxt *wc, u32 cpos, loff_t user_pos, unsigned user_len) ocfs2_write_cluster() argument
1222 ocfs2_write_cluster_by_desc(struct address_space *mapping, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct ocfs2_write_ctxt *wc, loff_t pos, unsigned len) ocfs2_write_cluster_by_desc() argument
2309 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_dio_end_io_write() local
[all...]
H A Dxattr.c71 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()
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 in ocfs2_remove_value_outside()
2321 ocfs2_lock_xattr_remove_allocators(struct inode *inode, struct ocfs2_xattr_value_root *xv, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, int *ref_credits) ocfs2_lock_xattr_remove_allocators() argument
3444 ocfs2_xattr_set_handle(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int name_index, const char *name, const void *value, size_t value_len, int flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_xattr_set_handle() argument
5430 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_rm_xattr_cluster() local
6282 ocfs2_reflink_lock_xattr_allocators(struct ocfs2_super *osb, struct ocfs2_xattr_header *xh, struct buffer_head *ref_root_bh, int *credits, struct ocfs2_alloc_context **meta_ac) ocfs2_reflink_lock_xattr_allocators() argument
6338 ocfs2_reflink_xattr_header(handle_t *handle, struct ocfs2_xattr_reflink *args, struct buffer_head *old_bh, struct ocfs2_xattr_header *xh, struct buffer_head *new_bh, struct ocfs2_xattr_header *new_xh, struct ocfs2_xattr_value_buf *vb, struct ocfs2_alloc_context *meta_ac, get_xattr_value_root *func, void *para) ocfs2_reflink_xattr_header() argument
6476 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_reflink_xattr_inline() local
6598 struct ocfs2_alloc_context *meta_ac; ocfs2_reflink_xattr_block() local
6747 ocfs2_lock_reflink_xattr_rec_allocators( struct ocfs2_reflink_xattr_tree_args *args, struct ocfs2_extent_tree *xt_et, u64 blkno, u32 len, int *credits, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac) ocfs2_lock_reflink_xattr_rec_allocators() argument
6833 ocfs2_reflink_xattr_bucket(handle_t *handle, u64 blkno, u64 new_blkno, u32 clusters, u32 *cpos, int num_buckets, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, struct ocfs2_reflink_xattr_tree_args *args) ocfs2_reflink_xattr_bucket() argument
6924 ocfs2_reflink_xattr_buckets(handle_t *handle, struct inode *inode, struct ocfs2_reflink_xattr_tree_args *args, struct ocfs2_extent_tree *et, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, u64 blkno, u32 cpos, u32 len) ocfs2_reflink_xattr_buckets() argument
7007 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_reflink_xattr_rec() local
[all...]
H A Dacl.c221 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl()
254 meta_ac, data_ac); in ocfs2_set_acl()
352 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl()
382 meta_ac, data_ac); in ocfs2_init_acl()
400 acl, meta_ac, data_ac); in ocfs2_init_acl()
216 ocfs2_set_acl(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int type, struct posix_acl *acl, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_set_acl() argument
347 ocfs2_init_acl(handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_init_acl() argument
H A Drefcounttree.h38 struct ocfs2_alloc_context *meta_ac,
104 struct ocfs2_alloc_context *meta_ac,
H A Ddir.c63 struct ocfs2_alloc_context *meta_ac,
2297 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index()
2311 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index()
2339 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index()
2482 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster()
2497 meta_ac); in ocfs2_dx_dir_new_cluster()
2524 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx()
2552 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2579 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir()
2589 data_ac, meta_ac); in ocfs2_fill_new_dir()
2293 ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dirdata_bh, struct ocfs2_alloc_context *meta_ac, int dx_inline, u32 num_entries, struct buffer_head **ret_dx_root_bh) ocfs2_dx_dir_attach_index() argument
2478 ocfs2_dx_dir_new_cluster(struct inode *dir, struct ocfs2_extent_tree *et, u32 cpos, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **dx_leaves, int num_dx_leaves) ocfs2_dx_dir_new_cluster() argument
2518 ocfs2_fill_new_dir_dx(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) ocfs2_fill_new_dir_dx() argument
2573 ocfs2_fill_new_dir(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) ocfs2_fill_new_dir() argument
2789 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_expand_inline_dir() local
3092 ocfs2_do_extend_dir(struct super_block *sb, handle_t *handle, struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **new_bh) ocfs2_do_extend_dir() argument
3170 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_extend_dir() local
3711 struct ocfs2_alloc_context *data_ac = NULL, *meta_ac = NULL; ocfs2_dx_dir_rebalance() local
[all...]
H A Dfile.h38 struct ocfs2_alloc_context *meta_ac,
H A Ddir.h96 struct ocfs2_alloc_context *meta_ac);
H A Dalloc.c990 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs()
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()
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()
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()
987 ocfs2_create_new_meta_bhs(handle_t *handle, struct ocfs2_extent_tree *et, int wanted, struct ocfs2_alloc_context *meta_ac, struct buffer_head *bhs[]) ocfs2_create_new_meta_bhs() argument
1146 ocfs2_add_branch(handle_t *handle, struct ocfs2_extent_tree *et, struct buffer_head *eb_bh, struct buffer_head **last_eb_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_add_branch() argument
1349 ocfs2_shift_tree_depth(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_alloc_context *meta_ac, struct buffer_head **ret_new_eb_bh) ocfs2_shift_tree_depth() argument
1524 ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, int *final_depth, struct buffer_head **last_eb_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_grow_tree() argument
4701 ocfs2_insert_extent(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u64 start_blk, u32 new_clusters, u8 flags, struct ocfs2_alloc_context *meta_ac) ocfs2_insert_extent() argument
4771 ocfs2_add_clusters_in_btree(handle_t *handle, struct ocfs2_extent_tree *et, u32 *logical_offset, u32 clusters_to_add, int mark_unwritten, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, enum ocfs2_alloc_restarted *reason_ret) ocfs2_add_clusters_in_btree() argument
4903 ocfs2_split_and_insert(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_path *path, struct buffer_head **last_eb_bh, int split_index, struct ocfs2_extent_rec *orig_split_rec, struct ocfs2_alloc_context *meta_ac) ocfs2_split_and_insert() argument
5057 ocfs2_split_extent(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_path *path, int split_index, struct ocfs2_extent_rec *split_rec, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_split_extent() argument
5150 ocfs2_change_extent_flag(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int new_flags, int clear_flags) ocfs2_change_extent_flag() argument
5238 ocfs2_mark_extent_written(struct inode *inode, struct ocfs2_extent_tree *et, handle_t *handle, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_mark_extent_written() argument
5273 ocfs2_split_tree(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_path *path, int index, u32 new_range, struct ocfs2_alloc_context *meta_ac) ocfs2_split_tree() argument
5506 ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_remove_extent() argument
5703 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_remove_btree_range() local
[all...]
H A Dsuballoc.h202 struct ocfs2_alloc_context **meta_ac);
H A Dfile.c542 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data()
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()
534 ocfs2_add_inode_data(struct ocfs2_super *osb, struct inode *inode, u32 *logical_offset, u32 clusters_to_add, int mark_unwritten, struct buffer_head *fe_bh, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, enum ocfs2_alloc_restarted *reason_ret) ocfs2_add_inode_data() argument
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dmove_extents.c44 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()
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()
143 ocfs2_lock_meta_allocator_move_extents(struct inode *inode, struct ocfs2_extent_tree *et, u32 clusters_to_move, u32 extents_to_split, struct ocfs2_alloc_context **meta_ac, int extra_blocks, int *credits) ocfs2_lock_meta_allocator_move_extents() argument
[all...]
H A Dalloc.h87 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 Drefcounttree.c49 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()
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 in ocfs2_expand_inline_ref_root()
1274 ocfs2_expand_inline_ref_root(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head **ref_leaf_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_expand_inline_ref_root() argument
1512 ocfs2_new_leaf_refcount_block(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_new_leaf_refcount_block() argument
1608 ocfs2_expand_refcount_tree(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_expand_refcount_tree() argument
1734 ocfs2_insert_refcount_rec(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_refcount_rec *rec, int index, int merge, struct ocfs2_alloc_context *meta_ac) ocfs2_insert_refcount_rec() argument
1822 ocfs2_split_refcount_rec(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_refcount_rec *split_rec, int index, int merge, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_split_refcount_rec() argument
1978 __ocfs2_increase_refcount(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, u64 cpos, u32 len, int merge, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) __ocfs2_increase_refcount() argument
2072 ocfs2_remove_refcount_extent(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_remove_refcount_extent() argument
2152 ocfs2_increase_refcount(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, u64 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_increase_refcount() argument
2164 ocfs2_decrease_refcount_rec(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, struct buffer_head *ref_leaf_bh, int index, u64 cpos, unsigned int len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_decrease_refcount_rec() argument
2220 __ocfs2_decrease_refcount(handle_t *handle, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, u64 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int delete) __ocfs2_decrease_refcount() argument
2286 ocfs2_decrease_refcount(struct inode *inode, handle_t *handle, u32 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int delete) ocfs2_decrease_refcount() argument
2336 ocfs2_mark_extent_refcounted(struct inode *inode, struct ocfs2_extent_tree *et, handle_t *handle, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_mark_extent_refcounted() argument
2836 ocfs2_lock_refcount_allocators(struct super_block *sb, u32 p_cluster, u32 num_clusters, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac, int *credits) ocfs2_lock_refcount_allocators() argument
3056 ocfs2_clear_ext_refcount(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 p_cluster, u32 len, unsigned int ext_flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_clear_ext_refcount() argument
3666 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_add_refcount_flag() local
3879 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_add_refcounted_extent() local
[all...]
H A Daops.c1119 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster()
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()
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()
1114 ocfs2_write_cluster(struct address_space *mapping, u32 *phys, unsigned int new, unsigned int clear_unwritten, unsigned int should_zero, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct ocfs2_write_ctxt *wc, u32 cpos, loff_t user_pos, unsigned user_len) ocfs2_write_cluster() argument
1218 ocfs2_write_cluster_by_desc(struct address_space *mapping, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct ocfs2_write_ctxt *wc, loff_t pos, unsigned len) ocfs2_write_cluster_by_desc() argument
2306 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_dio_end_io_write() local
[all...]
H A Dxattr.c69 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()
2319 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators()
2348 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2382 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2396 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2397 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2398 ctxt.meta_ac in ocfs2_remove_value_outside()
2315 ocfs2_lock_xattr_remove_allocators(struct inode *inode, struct ocfs2_xattr_value_root *xv, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, int *ref_credits) ocfs2_lock_xattr_remove_allocators() argument
3438 ocfs2_xattr_set_handle(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int name_index, const char *name, const void *value, size_t value_len, int flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_xattr_set_handle() argument
5424 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_rm_xattr_cluster() local
6276 ocfs2_reflink_lock_xattr_allocators(struct ocfs2_super *osb, struct ocfs2_xattr_header *xh, struct buffer_head *ref_root_bh, int *credits, struct ocfs2_alloc_context **meta_ac) ocfs2_reflink_lock_xattr_allocators() argument
6332 ocfs2_reflink_xattr_header(handle_t *handle, struct ocfs2_xattr_reflink *args, struct buffer_head *old_bh, struct ocfs2_xattr_header *xh, struct buffer_head *new_bh, struct ocfs2_xattr_header *new_xh, struct ocfs2_xattr_value_buf *vb, struct ocfs2_alloc_context *meta_ac, get_xattr_value_root *func, void *para) ocfs2_reflink_xattr_header() argument
6470 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_reflink_xattr_inline() local
6592 struct ocfs2_alloc_context *meta_ac; ocfs2_reflink_xattr_block() local
6741 ocfs2_lock_reflink_xattr_rec_allocators( struct ocfs2_reflink_xattr_tree_args *args, struct ocfs2_extent_tree *xt_et, u64 blkno, u32 len, int *credits, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac) ocfs2_lock_reflink_xattr_rec_allocators() argument
6827 ocfs2_reflink_xattr_bucket(handle_t *handle, u64 blkno, u64 new_blkno, u32 clusters, u32 *cpos, int num_buckets, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, struct ocfs2_reflink_xattr_tree_args *args) ocfs2_reflink_xattr_bucket() argument
6918 ocfs2_reflink_xattr_buckets(handle_t *handle, struct inode *inode, struct ocfs2_reflink_xattr_tree_args *args, struct ocfs2_extent_tree *et, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, u64 blkno, u32 cpos, u32 len) ocfs2_reflink_xattr_buckets() argument
7001 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_reflink_xattr_rec() local
[all...]
H A Dacl.c219 struct ocfs2_alloc_context *meta_ac, in ocfs2_set_acl()
252 meta_ac, data_ac); in ocfs2_set_acl()
356 struct ocfs2_alloc_context *meta_ac, in ocfs2_init_acl()
386 meta_ac, data_ac); in ocfs2_init_acl()
404 acl, meta_ac, data_ac); in ocfs2_init_acl()
214 ocfs2_set_acl(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int type, struct posix_acl *acl, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_set_acl() argument
351 ocfs2_init_acl(handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_init_acl() argument
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,
2286 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index()
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()
2486 meta_ac); in ocfs2_dx_dir_new_cluster()
2513 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx()
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()
2578 data_ac, meta_ac); in ocfs2_fill_new_dir()
2282 ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dirdata_bh, struct ocfs2_alloc_context *meta_ac, int dx_inline, u32 num_entries, struct buffer_head **ret_dx_root_bh) ocfs2_dx_dir_attach_index() argument
2467 ocfs2_dx_dir_new_cluster(struct inode *dir, struct ocfs2_extent_tree *et, u32 cpos, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **dx_leaves, int num_dx_leaves) ocfs2_dx_dir_new_cluster() argument
2507 ocfs2_fill_new_dir_dx(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) ocfs2_fill_new_dir_dx() argument
2562 ocfs2_fill_new_dir(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) ocfs2_fill_new_dir() argument
2778 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_expand_inline_dir() local
3081 ocfs2_do_extend_dir(struct super_block *sb, handle_t *handle, struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **new_bh) ocfs2_do_extend_dir() argument
3159 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_extend_dir() local
3697 struct ocfs2_alloc_context *data_ac = NULL, *meta_ac = NULL; ocfs2_dx_dir_rebalance() local
[all...]
H A Ddir.h94 struct ocfs2_alloc_context *meta_ac);
H A Dfile.h36 struct ocfs2_alloc_context *meta_ac,
H A Dalloc.c988 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs()
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()
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()
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()
985 ocfs2_create_new_meta_bhs(handle_t *handle, struct ocfs2_extent_tree *et, int wanted, struct ocfs2_alloc_context *meta_ac, struct buffer_head *bhs[]) ocfs2_create_new_meta_bhs() argument
1144 ocfs2_add_branch(handle_t *handle, struct ocfs2_extent_tree *et, struct buffer_head *eb_bh, struct buffer_head **last_eb_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_add_branch() argument
1347 ocfs2_shift_tree_depth(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_alloc_context *meta_ac, struct buffer_head **ret_new_eb_bh) ocfs2_shift_tree_depth() argument
1522 ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, int *final_depth, struct buffer_head **last_eb_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_grow_tree() argument
4699 ocfs2_insert_extent(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u64 start_blk, u32 new_clusters, u8 flags, struct ocfs2_alloc_context *meta_ac) ocfs2_insert_extent() argument
4769 ocfs2_add_clusters_in_btree(handle_t *handle, struct ocfs2_extent_tree *et, u32 *logical_offset, u32 clusters_to_add, int mark_unwritten, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, enum ocfs2_alloc_restarted *reason_ret) ocfs2_add_clusters_in_btree() argument
4901 ocfs2_split_and_insert(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_path *path, struct buffer_head **last_eb_bh, int split_index, struct ocfs2_extent_rec *orig_split_rec, struct ocfs2_alloc_context *meta_ac) ocfs2_split_and_insert() argument
5055 ocfs2_split_extent(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_path *path, int split_index, struct ocfs2_extent_rec *split_rec, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_split_extent() argument
5148 ocfs2_change_extent_flag(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int new_flags, int clear_flags) ocfs2_change_extent_flag() argument
5236 ocfs2_mark_extent_written(struct inode *inode, struct ocfs2_extent_tree *et, handle_t *handle, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_mark_extent_written() argument
5271 ocfs2_split_tree(handle_t *handle, struct ocfs2_extent_tree *et, struct ocfs2_path *path, int index, u32 new_range, struct ocfs2_alloc_context *meta_ac) ocfs2_split_tree() argument
5504 ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_remove_extent() argument
5701 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_remove_btree_range() local
[all...]
H A Dsuballoc.h200 struct ocfs2_alloc_context **meta_ac);

Completed in 53 milliseconds

12