| /linux/fs/ocfs2/ |
| A D | move_extents.c | 45 struct ocfs2_alloc_context *data_ac; member 276 ret = ocfs2_reserve_clusters(osb, *len, &context->data_ac); in ocfs2_defrag_extent() 332 if (need_free && context->data_ac) { in ocfs2_defrag_extent() 333 struct ocfs2_alloc_context *data_ac = context->data_ac; in ocfs2_defrag_extent() local 335 if (context->data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_defrag_extent() 336 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_defrag_extent() 340 data_ac->ac_inode, in ocfs2_defrag_extent() 341 data_ac->ac_bh, in ocfs2_defrag_extent() 351 if (context->data_ac) { in ocfs2_defrag_extent() 352 ocfs2_free_alloc_context(context->data_ac); in ocfs2_defrag_extent() [all …]
|
| A D | dir.c | 2229 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el() 2534 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx() 2578 data_ac, meta_ac); in ocfs2_fill_new_dir() 2581 data_ac, NULL); in ocfs2_fill_new_dir() 3063 if (data_ac) in ocfs2_expand_inline_dir() 3064 ocfs2_free_alloc_context(data_ac); in ocfs2_expand_inline_dir() 3108 data_ac, meta_ac, NULL); in ocfs2_do_extend_dir() 3270 data_ac, meta_ac, &new_bh); in ocfs2_extend_dir() 3325 if (data_ac) in ocfs2_extend_dir() 3872 if (data_ac) in ocfs2_dx_dir_rebalance() [all …]
|
| A D | acl.c | 220 struct ocfs2_alloc_context *data_ac) in ocfs2_set_acl() argument 252 meta_ac, data_ac); in ocfs2_set_acl() 356 struct ocfs2_alloc_context *data_ac) in ocfs2_init_acl() argument 385 meta_ac, data_ac); in ocfs2_init_acl() 403 acl, meta_ac, data_ac); in ocfs2_init_acl()
|
| A D | aops.c | 1141 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1247 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1744 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1750 if (data_ac) in ocfs2_write_begin_nolock() 1826 if (data_ac) in ocfs2_write_begin_nolock() 1827 ocfs2_free_alloc_context(data_ac); in ocfs2_write_begin_nolock() 1856 if (data_ac) { in ocfs2_write_begin_nolock() 1857 ocfs2_free_alloc_context(data_ac); in ocfs2_write_begin_nolock() 1858 data_ac = NULL; in ocfs2_write_begin_nolock() 2337 &data_ac, &meta_ac); in ocfs2_dio_end_io_write() [all …]
|
| A D | namei.c | 237 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local 386 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod() 405 meta_ac, data_ac); in ocfs2_mknod() 414 meta_ac, data_ac); in ocfs2_mknod() 472 if (data_ac) in ocfs2_mknod() 473 ocfs2_free_alloc_context(data_ac); in ocfs2_mknod() 1806 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local 1956 handle, data_ac, NULL, in ocfs2_symlink() 1994 xattr_ac, data_ac); in ocfs2_symlink() 2043 if (data_ac) in ocfs2_symlink() [all …]
|
| A D | file.h | 35 struct ocfs2_alloc_context *data_ac,
|
| A D | dir.h | 93 struct ocfs2_alloc_context *data_ac,
|
| A D | xattr.c | 70 struct ocfs2_alloc_context *data_ac; member 728 ctxt->data_ac, in ocfs2_xattr_extend_allocation() 3475 .data_ac = data_ac, in ocfs2_xattr_set_handle() 3652 if (ctxt.data_ac) in ocfs2_xattr_set() 6835 struct ocfs2_alloc_context *data_ac, in ocfs2_reflink_xattr_bucket() argument 6959 meta_ac, data_ac, args); in ocfs2_reflink_xattr_buckets() 7017 &meta_ac, &data_ac); in ocfs2_reflink_xattr_rec() 7031 meta_ac, data_ac, in ocfs2_reflink_xattr_rec() 7041 if (data_ac) in ocfs2_reflink_xattr_rec() 7042 ocfs2_free_alloc_context(data_ac); in ocfs2_reflink_xattr_rec() [all …]
|
| A D | file.c | 539 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() argument 549 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 564 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_extend_allocation() local 589 &data_ac, &meta_ac); in ocfs2_extend_allocation() 636 data_ac, in ocfs2_extend_allocation() 688 if (data_ac) { in ocfs2_extend_allocation() 689 ocfs2_free_alloc_context(data_ac); in ocfs2_extend_allocation() 690 data_ac = NULL; in ocfs2_extend_allocation()
|
| A D | suballoc.h | 199 struct ocfs2_alloc_context **data_ac,
|
| A D | alloc.c | 4774 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() argument 4863 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree() 4868 data_ac->ac_inode, in ocfs2_add_clusters_in_btree() 4869 data_ac->ac_bh, in ocfs2_add_clusters_in_btree() 7063 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() local 7104 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents() 7179 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_convert_inline_data_to_extents() 7184 data_ac->ac_inode, in ocfs2_convert_inline_data_to_extents() 7185 data_ac->ac_bh, in ocfs2_convert_inline_data_to_extents() 7193 if (data_ac) in ocfs2_convert_inline_data_to_extents() [all …]
|
| A D | alloc.h | 99 struct ocfs2_alloc_context *data_ac,
|
| A D | refcounttree.c | 50 struct ocfs2_alloc_context *data_ac; member 2842 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument 2876 if (data_ac) { in ocfs2_lock_refcount_allocators() 2878 data_ac); in ocfs2_lock_refcount_allocators() 3224 &context->data_ac, &credits); in ocfs2_make_clusters_writable() 3280 context->data_ac, in ocfs2_make_clusters_writable() 3340 if (context->data_ac) { in ocfs2_make_clusters_writable() 3341 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable() 3342 context->data_ac = NULL; in ocfs2_make_clusters_writable()
|
| A D | suballoc.c | 2626 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators() argument 2634 if (data_ac) in ocfs2_lock_allocators() 2635 *data_ac = NULL; in ocfs2_lock_allocators() 2637 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators() 2672 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
|