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

/linux-master/fs/ocfs2/
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 Dmove_extents.c44 struct ocfs2_alloc_context *meta_ac; member in struct:ocfs2_move_extents_context
109 &replace_rec, context->meta_ac,
126 len, context->meta_ac,
147 struct ocfs2_alloc_context **meta_ac,
166 ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, meta_ac);
179 if (*meta_ac) {
180 ocfs2_free_alloc_context(*meta_ac);
181 *meta_ac = NULL;
233 &context->meta_ac,
346 if (context->meta_ac) {
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) argument
[all...]
H A Drefcounttree.c49 struct ocfs2_alloc_context *meta_ac; member in struct:ocfs2_cow_context
554 struct ocfs2_alloc_context *meta_ac = NULL; local
570 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac);
590 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc,
624 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot);
684 if (meta_ac)
685 ocfs2_free_alloc_context(meta_ac);
1278 struct ocfs2_alloc_context *meta_ac)
1297 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc,
1328 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac
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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) argument
3666 struct ocfs2_alloc_context *meta_ac = NULL; local
3879 struct ocfs2_alloc_context *meta_ac = NULL; local
[all...]
H A Drefcounttree.h36 struct ocfs2_alloc_context *meta_ac,
102 struct ocfs2_alloc_context *meta_ac,
H A Ddir.h94 struct ocfs2_alloc_context *meta_ac);
H A Dfile.h36 struct ocfs2_alloc_context *meta_ac,
H A Dacl.c219 struct ocfs2_alloc_context *meta_ac,
252 meta_ac, data_ac);
356 struct ocfs2_alloc_context *meta_ac,
386 meta_ac, data_ac);
404 acl, meta_ac, data_ac);
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) 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) argument
H A Daops.c1117 struct ocfs2_alloc_context *meta_ac,
1138 data_ac, meta_ac, NULL);
1160 meta_ac, &wc->w_dealloc);
1218 struct ocfs2_alloc_context *meta_ac,
1244 data_ac, meta_ac,
1656 struct ocfs2_alloc_context *meta_ac = NULL; local
1741 &data_ac, &meta_ac);
1816 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos,
1825 if (meta_ac)
1826 ocfs2_free_alloc_context(meta_ac);
1112 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) argument
1216 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) argument
2304 struct ocfs2_alloc_context *meta_ac = NULL; local
[all...]
H A Dxattr.c69 struct ocfs2_alloc_context *meta_ac; member in struct:ocfs2_xattr_set_ctxt
725 ctxt->meta_ac,
779 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac,
793 len, ctxt->meta_ac, &ctxt->dealloc, 1);
2319 struct ocfs2_alloc_context **meta_ac,
2348 meta_add, meta_ac);
2382 &ctxt.meta_ac,
2396 if (ctxt.meta_ac) {
2397 ocfs2_free_alloc_context(ctxt.meta_ac);
2398 ctxt.meta_ac
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) 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) argument
5424 struct ocfs2_alloc_context *meta_ac = NULL; 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) 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) argument
6470 struct ocfs2_alloc_context *meta_ac = NULL; local
6592 struct ocfs2_alloc_context *meta_ac; 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) 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) 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) argument
7001 struct ocfs2_alloc_context *meta_ac = NULL; local
[all...]
H A Ddir.c61 struct ocfs2_alloc_context *meta_ac,
2284 struct ocfs2_alloc_context *meta_ac,
2298 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc,
2326 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot);
2469 struct ocfs2_alloc_context *meta_ac,
2484 meta_ac);
2511 struct ocfs2_alloc_context *meta_ac)
2539 meta_ac, 1, 2, &dx_root_bh);
2566 struct ocfs2_alloc_context *meta_ac)
2576 data_ac, meta_ac);
2280 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) argument
2465 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) argument
2505 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) argument
2560 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) argument
2776 struct ocfs2_alloc_context *meta_ac = NULL; local
3079 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) argument
3157 struct ocfs2_alloc_context *meta_ac = NULL; local
3695 struct ocfs2_alloc_context *data_ac = NULL, *meta_ac = NULL; local
[all...]
H A Dsuballoc.h200 struct ocfs2_alloc_context **meta_ac);
H A Dalloc.c995 struct ocfs2_alloc_context *meta_ac,
1009 meta_ac,
1044 cpu_to_le16(meta_ac->ac_alloc_slot);
1155 struct ocfs2_alloc_context *meta_ac)
1228 BUG_ON(!meta_ac);
1231 meta_ac,
1356 struct ocfs2_alloc_context *meta_ac,
1370 } else if (meta_ac) {
1371 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac,
1531 struct ocfs2_alloc_context *meta_ac)
992 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[]) argument
1151 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) argument
1354 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) argument
1529 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) argument
4706 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) argument
4776 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) argument
4908 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) argument
5062 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) argument
5155 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) argument
5243 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) argument
5278 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) argument
5511 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) argument
5708 struct ocfs2_alloc_context *meta_ac = NULL; local
[all...]
H A Dfile.c544 struct ocfs2_alloc_context *meta_ac,
552 data_ac, meta_ac, reason_ret);
566 struct ocfs2_alloc_context *meta_ac = NULL; local
590 &data_ac, &meta_ac);
638 meta_ac,
693 if (meta_ac) {
694 ocfs2_free_alloc_context(meta_ac);
695 meta_ac = NULL;
536 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) argument
H A Dnamei.c240 struct ocfs2_alloc_context *meta_ac = NULL; local
345 status = ocfs2_reserve_new_metadata_blocks(osb, want_meta, &meta_ac);
390 new_fe_bh, data_ac, meta_ac);
409 meta_ac, data_ac);
418 meta_ac, data_ac);
482 if (meta_ac)
483 ocfs2_free_alloc_context(meta_ac);
H A Dsuballoc.c2624 struct ocfs2_alloc_context **meta_ac)
2630 *meta_ac = NULL;
2658 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac);
2678 if (*meta_ac) {
2679 ocfs2_free_alloc_context(*meta_ac);
2680 *meta_ac = NULL;
2620 ocfs2_lock_allocators(struct inode *inode, struct ocfs2_extent_tree *et, u32 clusters_to_add, u32 extents_to_split, struct ocfs2_alloc_context **data_ac, struct ocfs2_alloc_context **meta_ac) argument

Completed in 249 milliseconds