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.c50 struct ocfs2_alloc_context *meta_ac;
555 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_create_refcount_tree()
571 ret = ocfs2_reserve_new_metadata_blocks(osb, 1, &meta_ac); in ocfs2_create_refcount_tree()
591 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree()
625 rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_refcount_tree()
685 if (meta_ac) in ocfs2_create_refcount_tree()
686 ocfs2_free_alloc_context(meta_ac); in ocfs2_create_refcount_tree()
1279 struct ocfs2_alloc_context *meta_ac) in ocfs2_expand_inline_ref_root()
1298 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_expand_inline_ref_root()
1329 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac in ocfs2_expand_inline_ref_root()
51 struct ocfs2_alloc_context *meta_ac; global() member
556 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_create_refcount_tree() local
1280 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
1511 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
1607 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
1735 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
1823 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
1977 __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
2071 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
2151 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
2219 __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
2283 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
2335 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
3052 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
3658 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_add_refcount_flag() local
3871 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_add_refcounted_extent() local
[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()
2358 struct ocfs2_alloc_context **meta_ac, in ocfs2_lock_xattr_remove_allocators() argument
2387 meta_add, meta_ac); in ocfs2_lock_xattr_remove_allocators()
2421 &ctxt.meta_ac, in ocfs2_remove_value_outside()
2435 if (ctxt.meta_ac) { in ocfs2_remove_value_outside()
2436 ocfs2_free_alloc_context(ctxt.meta_ac); in ocfs2_remove_value_outside()
2437 ctxt.meta_ac in ocfs2_remove_value_outside()
3485 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
5454 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_rm_xattr_cluster() local
6310 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
6369 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
6504 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_reflink_xattr_inline() local
6617 struct ocfs2_alloc_context *meta_ac; ocfs2_reflink_xattr_block() local
6770 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
6855 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
6947 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
7026 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_reflink_xattr_rec() local
[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.c1099 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster()
1120 data_ac, meta_ac, NULL); in ocfs2_write_cluster()
1142 meta_ac, &wc->w_dealloc); in ocfs2_write_cluster()
1199 struct ocfs2_alloc_context *meta_ac, in ocfs2_write_cluster_by_desc()
1225 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
1637 struct ocfs2_alloc_context *meta_ac = NULL; in ocfs2_write_begin_nolock()
1722 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
1797 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1806 if (meta_ac) in ocfs2_write_begin_nolock()
1807 ocfs2_free_alloc_context(meta_ac); in ocfs2_write_begin_nolock()
1097 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
1197 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
1635 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_write_begin_nolock() local
2277 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_dio_end_io_write() local
[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,
2347 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_attach_index()
2361 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_dx_dir_attach_index()
2389 dx_root->dr_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_dx_dir_attach_index()
2532 struct ocfs2_alloc_context *meta_ac, in ocfs2_dx_dir_new_cluster()
2547 meta_ac); in ocfs2_dx_dir_kmalloc_leaves()
2573 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir_dx()
2601 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2628 struct ocfs2_alloc_context *meta_ac) in ocfs2_fill_new_dir()
2638 data_ac, meta_ac); in ocfs2_dx_dir_index_block()
2340 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
2525 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
2566 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
2621 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
2831 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_expand_inline_dir() local
3139 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
3212 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_extend_dir() local
3751 struct ocfs2_alloc_context *data_ac = NULL, *meta_ac = NULL; ocfs2_dx_dir_rebalance() local
[all...]
H A Dalloc.c1017 struct ocfs2_alloc_context *meta_ac, in ocfs2_create_new_meta_bhs()
1031 meta_ac, in ocfs2_create_new_meta_bhs()
1066 cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_create_new_meta_bhs()
1177 struct ocfs2_alloc_context *meta_ac) in ocfs2_add_branch()
1249 BUG_ON(!meta_ac); in ocfs2_add_branch()
1252 meta_ac, in ocfs2_add_branch()
1377 struct ocfs2_alloc_context *meta_ac, in ocfs2_shift_tree_depth()
1391 } else if (meta_ac) { in ocfs2_shift_tree_depth()
1392 status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac, in ocfs2_shift_tree_depth()
1552 struct ocfs2_alloc_context *meta_ac) in ocfs2_grow_tree()
996 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
1156 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
1356 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
1531 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
4720 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
4790 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
4922 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
5075 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
5166 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
5254 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
5289 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
5522 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
5716 struct ocfs2_alloc_context *meta_ac = NULL; ocfs2_remove_btree_range() local
[all...]
H A Dfile.h37 struct ocfs2_alloc_context *meta_ac,
H A Ddir.h94 struct ocfs2_alloc_context *meta_ac);
H A Dfile.c545 struct ocfs2_alloc_context *meta_ac, in ocfs2_add_inode_data() argument
553 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()
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.c3053 struct ocfs2_alloc_context **meta_ac) in ocfs2_lock_allocators()
3059 *meta_ac = NULL; in ocfs2_lock_allocators()
3087 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators()
3107 if (*meta_ac) { in ocfs2_get_suballoc_slot_bit()
3108 ocfs2_free_alloc_context(*meta_ac); in ocfs2_get_suballoc_slot_bit()
3109 *meta_ac = NULL; in ocfs2_get_suballoc_slot_bit()
3028 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) ocfs2_lock_allocators() argument