| /fs/ocfs2/ |
| A D | move_extents.c | 45 struct ocfs2_alloc_context *data_ac; member 266 ret = ocfs2_reserve_clusters(osb, *len, &context->data_ac); in ocfs2_defrag_extent() 322 if (need_free && context->data_ac) { in ocfs2_defrag_extent() 323 struct ocfs2_alloc_context *data_ac = context->data_ac; in ocfs2_defrag_extent() local 325 if (context->data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_defrag_extent() 326 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_defrag_extent() 330 data_ac->ac_inode, in ocfs2_defrag_extent() 331 data_ac->ac_bh, in ocfs2_defrag_extent() 341 if (context->data_ac) { in ocfs2_defrag_extent() 342 ocfs2_free_alloc_context(context->data_ac); in ocfs2_defrag_extent() [all …]
|
| A D | dir.c | 2262 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el() 2567 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx() 2611 data_ac, meta_ac); in ocfs2_fill_new_dir() 2614 data_ac, NULL); in ocfs2_fill_new_dir() 3096 if (data_ac) in ocfs2_expand_inline_dir() 3097 ocfs2_free_alloc_context(data_ac); in ocfs2_expand_inline_dir() 3141 data_ac, meta_ac, NULL); in ocfs2_do_extend_dir() 3303 data_ac, meta_ac, &new_bh); in ocfs2_extend_dir() 3358 if (data_ac) in ocfs2_extend_dir() 3898 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() 357 struct ocfs2_alloc_context *data_ac) in ocfs2_init_acl() argument 386 meta_ac, data_ac); in ocfs2_init_acl() 404 acl, meta_ac, data_ac); in ocfs2_init_acl()
|
| A D | aops.c | 1118 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1223 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1721 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1727 if (data_ac) in ocfs2_write_begin_nolock() 1803 if (data_ac) in ocfs2_write_begin_nolock() 1804 ocfs2_free_alloc_context(data_ac); in ocfs2_write_begin_nolock() 1833 if (data_ac) { in ocfs2_write_begin_nolock() 1834 ocfs2_free_alloc_context(data_ac); in ocfs2_write_begin_nolock() 1835 data_ac = NULL; in ocfs2_write_begin_nolock() 2323 &data_ac, &meta_ac); in ocfs2_dio_end_io_write() [all …]
|
| A D | namei.c | 244 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local 395 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod() 414 meta_ac, data_ac); in ocfs2_mknod() 423 meta_ac, data_ac); in ocfs2_mknod() 484 if (data_ac) in ocfs2_mknod() 485 ocfs2_free_alloc_context(data_ac); in ocfs2_mknod() 1825 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local 1976 handle, data_ac, NULL, in ocfs2_symlink() 2014 xattr_ac, data_ac); in ocfs2_symlink() 2066 if (data_ac) in ocfs2_symlink() [all …]
|
| A D | file.h | 36 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 724 ctxt->data_ac, in ocfs2_xattr_extend_allocation() 3479 .data_ac = data_ac, in ocfs2_xattr_set_handle() 3656 if (ctxt.data_ac) in ocfs2_xattr_set() 6821 struct ocfs2_alloc_context *data_ac, in ocfs2_reflink_xattr_bucket() argument 6945 meta_ac, data_ac, args); in ocfs2_reflink_xattr_buckets() 7003 &meta_ac, &data_ac); in ocfs2_reflink_xattr_rec() 7017 meta_ac, data_ac, in ocfs2_reflink_xattr_rec() 7027 if (data_ac) in ocfs2_reflink_xattr_rec() 7028 ocfs2_free_alloc_context(data_ac); in ocfs2_reflink_xattr_rec() [all …]
|
| A D | file.c | 543 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() argument 552 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 565 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_extend_allocation() local 590 &data_ac, &meta_ac); in ocfs2_extend_allocation() 637 data_ac, in ocfs2_extend_allocation() 689 if (data_ac) { in ocfs2_extend_allocation() 690 ocfs2_free_alloc_context(data_ac); in ocfs2_extend_allocation() 691 data_ac = NULL; in ocfs2_extend_allocation()
|
| A D | suballoc.h | 204 struct ocfs2_alloc_context **data_ac,
|
| A D | alloc.c | 4789 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() argument 4878 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree() 4883 data_ac->ac_inode, in ocfs2_add_clusters_in_btree() 4884 data_ac->ac_bh, in ocfs2_add_clusters_in_btree() 7090 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() local 7131 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents() 7206 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_convert_inline_data_to_extents() 7211 data_ac->ac_inode, in ocfs2_convert_inline_data_to_extents() 7212 data_ac->ac_bh, in ocfs2_convert_inline_data_to_extents() 7220 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 | 51 struct ocfs2_alloc_context *data_ac; member 2836 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument 2870 if (data_ac) { in ocfs2_lock_refcount_allocators() 2872 data_ac); in ocfs2_lock_refcount_allocators() 3188 &context->data_ac, &credits); in ocfs2_make_clusters_writable() 3244 context->data_ac, in ocfs2_make_clusters_writable() 3304 if (context->data_ac) { in ocfs2_make_clusters_writable() 3305 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable() 3306 context->data_ac = NULL; in ocfs2_make_clusters_writable()
|
| A D | suballoc.c | 2726 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators() argument 2734 if (data_ac) in ocfs2_lock_allocators() 2735 *data_ac = NULL; in ocfs2_lock_allocators() 2737 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators() 2772 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
|