| /Linux-v5.10/fs/ocfs2/ |
| D | move_extents.c | 47 struct ocfs2_alloc_context *data_ac; member 278 ret = ocfs2_reserve_clusters(osb, *len, &context->data_ac); in ocfs2_defrag_extent() 291 ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len, in ocfs2_defrag_extent() 334 if (need_free && context->data_ac) { in ocfs2_defrag_extent() 335 struct ocfs2_alloc_context *data_ac = context->data_ac; in ocfs2_defrag_extent() local 337 if (context->data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_defrag_extent() 338 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_defrag_extent() 342 data_ac->ac_inode, in ocfs2_defrag_extent() 343 data_ac->ac_bh, in ocfs2_defrag_extent() 353 if (context->data_ac) { in ocfs2_defrag_extent() [all …]
|
| D | acl.c | 222 struct ocfs2_alloc_context *data_ac) in ocfs2_set_acl() argument 254 meta_ac, data_ac); in ocfs2_set_acl() 353 struct ocfs2_alloc_context *data_ac) in ocfs2_init_acl() argument 382 meta_ac, data_ac); in ocfs2_init_acl() 400 acl, meta_ac, data_ac); in ocfs2_init_acl()
|
| D | dir.c | 62 struct ocfs2_alloc_context *data_ac, 2219 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_el() argument 2231 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el() 2431 struct ocfs2_alloc_context *data_ac, in __ocfs2_dx_dir_new_cluster() argument 2446 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster() 2472 struct ocfs2_alloc_context *data_ac, in ocfs2_dx_dir_new_cluster() argument 2480 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster() 2514 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_dx() argument 2536 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx() 2569 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir() argument [all …]
|
| D | aops.c | 1122 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster() argument 1144 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1223 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster_by_desc() argument 1250 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1661 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_write_begin_nolock() local 1747 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1753 if (data_ac) in ocfs2_write_begin_nolock() 1754 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_write_begin_nolock() 1822 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock() 1829 if (data_ac) in ocfs2_write_begin_nolock() [all …]
|
| D | namei.c | 237 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local 349 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_mknod() 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() 1802 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local 1899 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink() 1952 handle, data_ac, NULL, in ocfs2_symlink() [all …]
|
| D | file.h | 37 struct ocfs2_alloc_context *data_ac,
|
| D | dir.h | 95 struct ocfs2_alloc_context *data_ac,
|
| D | xattr.c | 72 struct ocfs2_alloc_context *data_ac; member 730 ctxt->data_ac, in ocfs2_xattr_extend_allocation() 3284 ret = ocfs2_reserve_clusters(osb, clusters_add, &ctxt->data_ac); in ocfs2_init_xattr_set_ctxt() 3453 struct ocfs2_alloc_context *data_ac) in ocfs2_xattr_set_handle() argument 3477 .data_ac = data_ac, in ocfs2_xattr_set_handle() 3654 if (ctxt.data_ac) in ocfs2_xattr_set() 3655 ocfs2_free_alloc_context(ctxt.data_ac); in ocfs2_xattr_set() 4307 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, in ocfs2_xattr_create_index_block() 5127 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, 1, in ocfs2_add_new_xattr_cluster() 6752 struct ocfs2_alloc_context **data_ac) in ocfs2_lock_reflink_xattr_rec_allocators() argument [all …]
|
| D | file.c | 537 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() argument 547 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 562 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_extend_allocation() local 587 &data_ac, &meta_ac); in ocfs2_extend_allocation() 634 data_ac, in ocfs2_extend_allocation() 686 if (data_ac) { in ocfs2_extend_allocation() 687 ocfs2_free_alloc_context(data_ac); in ocfs2_extend_allocation() 688 data_ac = NULL; in ocfs2_extend_allocation()
|
| D | suballoc.h | 201 struct ocfs2_alloc_context **data_ac,
|
| D | alloc.c | 4776 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() argument 4821 status = __ocfs2_claim_clusters(handle, data_ac, 1, in ocfs2_add_clusters_in_btree() 4865 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree() 4866 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_add_clusters_in_btree() 4870 data_ac->ac_inode, in ocfs2_add_clusters_in_btree() 4871 data_ac->ac_bh, in ocfs2_add_clusters_in_btree() 7058 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() local 7075 ret = ocfs2_reserve_clusters(osb, 1, &data_ac); in ocfs2_convert_inline_data_to_extents() 7107 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents() 7109 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_convert_inline_data_to_extents() [all …]
|
| D | alloc.h | 101 struct ocfs2_alloc_context *data_ac,
|
| D | refcounttree.c | 52 struct ocfs2_alloc_context *data_ac; member 2844 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument 2878 if (data_ac) { in ocfs2_lock_refcount_allocators() 2880 data_ac); in ocfs2_lock_refcount_allocators() 3226 &context->data_ac, &credits); in ocfs2_make_clusters_writable() 3282 context->data_ac, in ocfs2_make_clusters_writable() 3342 if (context->data_ac) { in ocfs2_make_clusters_writable() 3343 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable() 3344 context->data_ac = NULL; in ocfs2_make_clusters_writable()
|
| D | suballoc.c | 2624 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators() argument 2632 if (data_ac) in ocfs2_lock_allocators() 2633 *data_ac = NULL; in ocfs2_lock_allocators() 2635 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators() 2670 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
|