| /linux/fs/ocfs2/ |
| H A D | move_extents.c | 45 struct ocfs2_alloc_context *data_ac; member 249 * if (context->data_ac) in ocfs2_defrag_extent() 250 * context->data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_defrag_extent() 272 ret = ocfs2_reserve_clusters(osb, *len, &context->data_ac); in ocfs2_defrag_extent() 285 ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len, in ocfs2_defrag_extent() 328 if (need_free && context->data_ac) { in ocfs2_defrag_extent() 329 struct ocfs2_alloc_context *data_ac = context->data_ac; in ocfs2_defrag_extent() local 331 if (context->data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_defrag_extent() 332 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_defrag_extent() [all...] |
| H A D | dir.c | 60 struct ocfs2_alloc_context *data_ac, 2271 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_el() argument 2283 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el() 2483 struct ocfs2_alloc_context *data_ac, in __ocfs2_dx_dir_new_cluster() argument 2498 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster() 2524 struct ocfs2_alloc_context *data_ac, in ocfs2_dx_dir_new_cluster() argument 2532 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster() 2566 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_dx() argument 2588 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx() 2621 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir() argument [all …]
|
| H A D | acl.c | 221 struct ocfs2_alloc_context *data_ac) in ocfs2_set_acl() argument 253 meta_ac, data_ac); in ocfs2_set_acl() 358 struct ocfs2_alloc_context *data_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 D | aops.c | 1096 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster() argument 1118 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1196 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster_by_desc() argument 1223 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1635 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_write_begin_nolock() local 1721 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1727 if (data_ac) in ocfs2_write_begin_nolock() 1728 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_write_begin_nolock() 1796 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock() 1803 if (data_ac) in ocfs2_write_begin_nolock() [all …]
|
| H A D | namei.c | 245 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local 358 status = ocfs2_reserve_clusters(osb, want_clusters, &data_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() 485 if (data_ac) in ocfs2_mknod() 486 ocfs2_free_alloc_context(data_ac); in ocfs2_mknod() 1826 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local 1924 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink() 1977 handle, data_ac, NULL, in ocfs2_symlink() [all …]
|
| H A D | file.h | 36 struct ocfs2_alloc_context *data_ac,
|
| H A D | dir.h | 93 struct ocfs2_alloc_context *data_ac,
|
| H A D | xattr.c | 74 struct ocfs2_alloc_context *data_ac; member 728 ctxt->data_ac, in ocfs2_xattr_extend_allocation() 3317 ret = ocfs2_reserve_clusters(osb, clusters_add, &ctxt->data_ac); in ocfs2_init_xattr_set_ctxt() 3329 * We cannot have an error and a non null ctxt->data_ac. in ocfs2_init_xattr_set_ctxt() 3486 struct ocfs2_alloc_context *data_ac) in ocfs2_xattr_set_handle() 3510 .data_ac = data_ac, in ocfs2_xattr_set_handle() 3687 if (ctxt.data_ac) in ocfs2_xattr_set() 3688 ocfs2_free_alloc_context(ctxt.data_ac); in ocfs2_xattr_set() 4331 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, in ocfs2_xattr_create_index_block() 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 6766 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 6851 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 6943 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 7022 struct ocfs2_alloc_context *data_ac = NULL; ocfs2_reflink_xattr_rec() local 7335 ocfs2_init_security_set(handle_t * handle,struct inode * inode,struct buffer_head * di_bh,struct ocfs2_security_xattr_info * si,struct ocfs2_alloc_context * xattr_ac,struct ocfs2_alloc_context * data_ac) ocfs2_init_security_set() argument [all...] |
| H A D | suballoc.h | 204 struct ocfs2_alloc_context **data_ac,
|
| H A D | file.c | 544 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() 553 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 566 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_extend_allocation() 591 &data_ac, &meta_ac); in ocfs2_extend_allocation() 638 data_ac, in ocfs2_extend_allocation() 690 if (data_ac) { in ocfs2_extend_allocation() 691 ocfs2_free_alloc_context(data_ac); in ocfs2_extend_allocation() 692 data_ac = NULL; in ocfs2_extend_allocation() 543 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 565 struct ocfs2_alloc_context *data_ac = NULL; ocfs2_extend_allocation() local
|
| H A D | alloc.c | 4790 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() 4835 status = __ocfs2_claim_clusters(handle, data_ac, 1, in ocfs2_add_clusters_in_btree() 4879 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree() 4880 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_add_clusters_in_btree() 4884 data_ac->ac_inode, in ocfs2_add_clusters_in_btree() 4885 data_ac->ac_bh, in ocfs2_add_clusters_in_btree() 7092 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() 7100 ret = ocfs2_reserve_clusters(osb, 1, &data_ac); in ocfs2_convert_inline_data_to_extents() 7133 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents() 7135 ret = ocfs2_claim_clusters(handle, data_ac, in ocfs2_convert_inline_data_to_extents() 4789 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 7091 struct ocfs2_alloc_context *data_ac = NULL; ocfs2_convert_inline_data_to_extents() local [all...] |
| H A D | refcounttree.c | 52 struct ocfs2_alloc_context *data_ac; member 2837 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument 2871 if (data_ac) { in ocfs2_lock_refcount_allocators() 2873 data_ac); in ocfs2_lock_refcount_allocators() 3189 &context->data_ac, &credits); in ocfs2_make_clusters_writable() 3245 context->data_ac, in ocfs2_make_clusters_writable() 3305 if (context->data_ac) { in ocfs2_make_clusters_writable() 3306 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable() 3307 context->data_ac = NULL; in ocfs2_make_clusters_writable()
|
| H A D | suballoc.c | 3027 struct ocfs2_alloc_context **data_ac, 3035 if (data_ac) 3036 *data_ac = NULL; 3038 BUG_ON(clusters_to_add != 0 && data_ac == NULL); 3073 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); 3088 * We cannot have an error and a non null *data_ac. 2737 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
|